while install nvidia driverPackage dependency problem (offline install of wireless drivers)Broken...

Gomel chasadim tovim - are there bad chasadim?

Count each bit-position separately over many 64-bit bitmasks, with AVX but not AVX2

Are small insurances worth it?

Was it really inappropriate to write a pull request for the company I interviewed with?

Can't make sense of a paragraph from Lovecraft

Playing a 7-string guitar song on a 6-string guitar

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

How is it possible to drive VGA displays at such high pixel clock frequencies?

Too soon for a plot twist?

What would be the most expensive material to an intergalactic society?

What does *dead* mean in *What do you mean, dead?*?

Locked Away- What am I?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Why is it common in European airports not to display the gate for flights until around 45-90 minutes before departure, unlike other places?

If nine coins are tossed, what is the probability that the number of heads is even?

I can't die. Who am I?

What is the "determinant" of two vectors?

Traveling to heavily polluted city, what practical measures can I take to minimize impact?

What is this tube in a jet engine's air intake?

School performs periodic password audits. Is my password compromised?

What can I do if someone tampers with my SSH public key?

How can a demon take control of a human body during REM sleep?

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

How do you make a gun that shoots melee weapons and/or swords?



while install nvidia driver


Package dependency problem (offline install of wireless drivers)Broken dependencies after installing SkypeRhythmbox updates failingPostgreSQL 9.4 hangs during installation at “Removing obsolete dictionary files:”dependency error on libc6-amd64 even if it's already installedUbuntu 15.10 The installation or removal of a software package failedNginx installation error in Ubuntu 16.04Trying to overwrite shared …, which is different from other instances of packageUpdate on libmysqlclient20 fails on a 16.04.1 LTS machineWhat has changed in nvidia proprietary driver packaging in 18.04 Bionic?













0















using 18.10 Ubuntu and try to install the nvidia-driver



sudo ubuntu-drivers autoinstall

Reading package lists... Done Building dependency tree Reading
state information... Done The following packages were automatically
installed and are no longer required: lib32gcc1 libc6-i386
libncursesw5 libtinfo5 Use 'sudo apt autoremove' to remove them. The
following additional packages will be installed: libnvidia-cfg1-390
libnvidia-compute-390:i386 libnvidia-decode-390
libnvidia-decode-390:i386 libnvidia-encode-390
libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
xserver-xorg-video-nvidia-390 The following NEW packages will be
installed: libnvidia-cfg1-390 libnvidia-compute-390:i386
libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
nvidia-driver-390 xserver-xorg-video-nvidia-390 0 upgraded, 16 newly
installed, 0 to remove and 0 not upgraded. Need to get 0 B/55.0 MB of
archives. After this operation, 249 MB of additional disk space will
be used. Selecting previously unselected package
libnvidia-cfg1-390:amd64. (Reading database ... 173212 files and
directories currently installed.) Preparing to unpack
.../00-libnvidia-cfg1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking libnvidia-cfg1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-compute-390:i386.
Preparing to unpack
.../01-libnvidia-compute-390_390.116-0ubuntu0.18.10.1_i386.deb ...
Unpacking libnvidia-compute-390:i386 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-decode-390:amd64.
Preparing to unpack
.../02-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking libnvidia-decode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-decode-390:i386.
Preparing to unpack
.../03-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
Unpacking libnvidia-decode-390:i386 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-encode-390:amd64.
Preparing to unpack
.../04-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking libnvidia-encode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-encode-390:i386.
Preparing to unpack
.../05-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
Unpacking libnvidia-encode-390:i386 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-fbc1-390:amd64.
Preparing to unpack
.../06-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking libnvidia-fbc1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-fbc1-390:i386.
Preparing to unpack
.../07-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
Unpacking libnvidia-fbc1-390:i386 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-gl-390:amd64.
Preparing to unpack
.../08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
/usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package when removing 'diversion of
/usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
/usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg:
error processing archive
/tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb (--unpack): new libnvidia-gl-390:amd64 package pre-installation
script subprocess returned error exit status 2 Selecting previously
unselected package libnvidia-gl-390:i386. Preparing to unpack
.../09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb ...
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
/usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert:
error: mismatch on package when removing 'diversion of
/usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
/usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error
processing archive
/tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
(--unpack): new libnvidia-gl-390:i386 package pre-installation script
subprocess returned error exit status 2 Selecting previously
unselected package libnvidia-ifr1-390:amd64. Preparing to unpack
.../10-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking libnvidia-ifr1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package libnvidia-ifr1-390:i386.
Preparing to unpack
.../11-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
Unpacking libnvidia-ifr1-390:i386 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package nvidia-compute-utils-390.
Preparing to unpack
.../12-nvidia-compute-utils-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking nvidia-compute-utils-390 (390.116-0ubuntu0.18.10.1) ...
Selecting previously unselected package nvidia-dkms-390. Preparing to
unpack .../13-nvidia-dkms-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking nvidia-dkms-390 (390.116-0ubuntu0.18.10.1) ... Selecting
previously unselected package xserver-xorg-video-nvidia-390. Preparing
to unpack
.../14-xserver-xorg-video-nvidia-390_390.116-0ubuntu0.18.10.1_amd64.deb
... Unpacking xserver-xorg-video-nvidia-390 (390.116-0ubuntu0.18.10.1)
... Selecting previously unselected package nvidia-driver-390.
Preparing to unpack
.../15-nvidia-driver-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
Unpacking nvidia-driver-390 (390.116-0ubuntu0.18.10.1) ... Errors were
encountered while processing:
/tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


what is this error mean and how to fix it?









share









New contributor




monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    using 18.10 Ubuntu and try to install the nvidia-driver



    sudo ubuntu-drivers autoinstall

    Reading package lists... Done Building dependency tree Reading
    state information... Done The following packages were automatically
    installed and are no longer required: lib32gcc1 libc6-i386
    libncursesw5 libtinfo5 Use 'sudo apt autoremove' to remove them. The
    following additional packages will be installed: libnvidia-cfg1-390
    libnvidia-compute-390:i386 libnvidia-decode-390
    libnvidia-decode-390:i386 libnvidia-encode-390
    libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
    libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
    libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
    xserver-xorg-video-nvidia-390 The following NEW packages will be
    installed: libnvidia-cfg1-390 libnvidia-compute-390:i386
    libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
    libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
    libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
    libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
    nvidia-driver-390 xserver-xorg-video-nvidia-390 0 upgraded, 16 newly
    installed, 0 to remove and 0 not upgraded. Need to get 0 B/55.0 MB of
    archives. After this operation, 249 MB of additional disk space will
    be used. Selecting previously unselected package
    libnvidia-cfg1-390:amd64. (Reading database ... 173212 files and
    directories currently installed.) Preparing to unpack
    .../00-libnvidia-cfg1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking libnvidia-cfg1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-compute-390:i386.
    Preparing to unpack
    .../01-libnvidia-compute-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    Unpacking libnvidia-compute-390:i386 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-decode-390:amd64.
    Preparing to unpack
    .../02-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking libnvidia-decode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-decode-390:i386.
    Preparing to unpack
    .../03-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    Unpacking libnvidia-decode-390:i386 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-encode-390:amd64.
    Preparing to unpack
    .../04-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking libnvidia-encode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-encode-390:i386.
    Preparing to unpack
    .../05-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    Unpacking libnvidia-encode-390:i386 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-fbc1-390:amd64.
    Preparing to unpack
    .../06-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking libnvidia-fbc1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-fbc1-390:i386.
    Preparing to unpack
    .../07-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    Unpacking libnvidia-fbc1-390:i386 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-gl-390:amd64.
    Preparing to unpack
    .../08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
    /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340
    dpkg-divert: error: mismatch on package when removing 'diversion of
    /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
    'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
    /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg:
    error processing archive
    /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb (--unpack): new libnvidia-gl-390:amd64 package pre-installation
    script subprocess returned error exit status 2 Selecting previously
    unselected package libnvidia-gl-390:i386. Preparing to unpack
    .../09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
    /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert:
    error: mismatch on package when removing 'diversion of
    /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
    'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
    /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error
    processing archive
    /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
    (--unpack): new libnvidia-gl-390:i386 package pre-installation script
    subprocess returned error exit status 2 Selecting previously
    unselected package libnvidia-ifr1-390:amd64. Preparing to unpack
    .../10-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking libnvidia-ifr1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package libnvidia-ifr1-390:i386.
    Preparing to unpack
    .../11-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
    Unpacking libnvidia-ifr1-390:i386 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package nvidia-compute-utils-390.
    Preparing to unpack
    .../12-nvidia-compute-utils-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking nvidia-compute-utils-390 (390.116-0ubuntu0.18.10.1) ...
    Selecting previously unselected package nvidia-dkms-390. Preparing to
    unpack .../13-nvidia-dkms-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking nvidia-dkms-390 (390.116-0ubuntu0.18.10.1) ... Selecting
    previously unselected package xserver-xorg-video-nvidia-390. Preparing
    to unpack
    .../14-xserver-xorg-video-nvidia-390_390.116-0ubuntu0.18.10.1_amd64.deb
    ... Unpacking xserver-xorg-video-nvidia-390 (390.116-0ubuntu0.18.10.1)
    ... Selecting previously unselected package nvidia-driver-390.
    Preparing to unpack
    .../15-nvidia-driver-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
    Unpacking nvidia-driver-390 (390.116-0ubuntu0.18.10.1) ... Errors were
    encountered while processing:
    /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    what is this error mean and how to fix it?









    share









    New contributor




    monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      using 18.10 Ubuntu and try to install the nvidia-driver



      sudo ubuntu-drivers autoinstall

      Reading package lists... Done Building dependency tree Reading
      state information... Done The following packages were automatically
      installed and are no longer required: lib32gcc1 libc6-i386
      libncursesw5 libtinfo5 Use 'sudo apt autoremove' to remove them. The
      following additional packages will be installed: libnvidia-cfg1-390
      libnvidia-compute-390:i386 libnvidia-decode-390
      libnvidia-decode-390:i386 libnvidia-encode-390
      libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
      libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
      libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
      xserver-xorg-video-nvidia-390 The following NEW packages will be
      installed: libnvidia-cfg1-390 libnvidia-compute-390:i386
      libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
      libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
      libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
      libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
      nvidia-driver-390 xserver-xorg-video-nvidia-390 0 upgraded, 16 newly
      installed, 0 to remove and 0 not upgraded. Need to get 0 B/55.0 MB of
      archives. After this operation, 249 MB of additional disk space will
      be used. Selecting previously unselected package
      libnvidia-cfg1-390:amd64. (Reading database ... 173212 files and
      directories currently installed.) Preparing to unpack
      .../00-libnvidia-cfg1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-cfg1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-compute-390:i386.
      Preparing to unpack
      .../01-libnvidia-compute-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-compute-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-decode-390:amd64.
      Preparing to unpack
      .../02-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-decode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-decode-390:i386.
      Preparing to unpack
      .../03-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-decode-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-encode-390:amd64.
      Preparing to unpack
      .../04-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-encode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-encode-390:i386.
      Preparing to unpack
      .../05-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-encode-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-fbc1-390:amd64.
      Preparing to unpack
      .../06-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-fbc1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-fbc1-390:i386.
      Preparing to unpack
      .../07-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-fbc1-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-gl-390:amd64.
      Preparing to unpack
      .../08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
      /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340
      dpkg-divert: error: mismatch on package when removing 'diversion of
      /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
      'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
      /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg:
      error processing archive
      /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb (--unpack): new libnvidia-gl-390:amd64 package pre-installation
      script subprocess returned error exit status 2 Selecting previously
      unselected package libnvidia-gl-390:i386. Preparing to unpack
      .../09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
      /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert:
      error: mismatch on package when removing 'diversion of
      /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
      'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
      /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error
      processing archive
      /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
      (--unpack): new libnvidia-gl-390:i386 package pre-installation script
      subprocess returned error exit status 2 Selecting previously
      unselected package libnvidia-ifr1-390:amd64. Preparing to unpack
      .../10-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-ifr1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-ifr1-390:i386.
      Preparing to unpack
      .../11-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-ifr1-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package nvidia-compute-utils-390.
      Preparing to unpack
      .../12-nvidia-compute-utils-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-compute-utils-390 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package nvidia-dkms-390. Preparing to
      unpack .../13-nvidia-dkms-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-dkms-390 (390.116-0ubuntu0.18.10.1) ... Selecting
      previously unselected package xserver-xorg-video-nvidia-390. Preparing
      to unpack
      .../14-xserver-xorg-video-nvidia-390_390.116-0ubuntu0.18.10.1_amd64.deb
      ... Unpacking xserver-xorg-video-nvidia-390 (390.116-0ubuntu0.18.10.1)
      ... Selecting previously unselected package nvidia-driver-390.
      Preparing to unpack
      .../15-nvidia-driver-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-driver-390 (390.116-0ubuntu0.18.10.1) ... Errors were
      encountered while processing:
      /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      what is this error mean and how to fix it?









      share









      New contributor




      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      using 18.10 Ubuntu and try to install the nvidia-driver



      sudo ubuntu-drivers autoinstall

      Reading package lists... Done Building dependency tree Reading
      state information... Done The following packages were automatically
      installed and are no longer required: lib32gcc1 libc6-i386
      libncursesw5 libtinfo5 Use 'sudo apt autoremove' to remove them. The
      following additional packages will be installed: libnvidia-cfg1-390
      libnvidia-compute-390:i386 libnvidia-decode-390
      libnvidia-decode-390:i386 libnvidia-encode-390
      libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
      libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
      libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
      xserver-xorg-video-nvidia-390 The following NEW packages will be
      installed: libnvidia-cfg1-390 libnvidia-compute-390:i386
      libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
      libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
      libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
      libnvidia-ifr1-390:i386 nvidia-compute-utils-390 nvidia-dkms-390
      nvidia-driver-390 xserver-xorg-video-nvidia-390 0 upgraded, 16 newly
      installed, 0 to remove and 0 not upgraded. Need to get 0 B/55.0 MB of
      archives. After this operation, 249 MB of additional disk space will
      be used. Selecting previously unselected package
      libnvidia-cfg1-390:amd64. (Reading database ... 173212 files and
      directories currently installed.) Preparing to unpack
      .../00-libnvidia-cfg1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-cfg1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-compute-390:i386.
      Preparing to unpack
      .../01-libnvidia-compute-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-compute-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-decode-390:amd64.
      Preparing to unpack
      .../02-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-decode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-decode-390:i386.
      Preparing to unpack
      .../03-libnvidia-decode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-decode-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-encode-390:amd64.
      Preparing to unpack
      .../04-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-encode-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-encode-390:i386.
      Preparing to unpack
      .../05-libnvidia-encode-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-encode-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-fbc1-390:amd64.
      Preparing to unpack
      .../06-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-fbc1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-fbc1-390:i386.
      Preparing to unpack
      .../07-libnvidia-fbc1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-fbc1-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-gl-390:amd64.
      Preparing to unpack
      .../08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
      /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340
      dpkg-divert: error: mismatch on package when removing 'diversion of
      /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
      'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to
      /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg:
      error processing archive
      /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb (--unpack): new libnvidia-gl-390:amd64 package pre-installation
      script subprocess returned error exit status 2 Selecting previously
      unselected package libnvidia-gl-390:i386. Preparing to unpack
      .../09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
      /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert:
      error: mismatch on package when removing 'diversion of
      /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390' found
      'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to
      /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error
      processing archive
      /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
      (--unpack): new libnvidia-gl-390:i386 package pre-installation script
      subprocess returned error exit status 2 Selecting previously
      unselected package libnvidia-ifr1-390:amd64. Preparing to unpack
      .../10-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking libnvidia-ifr1-390:amd64 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package libnvidia-ifr1-390:i386.
      Preparing to unpack
      .../11-libnvidia-ifr1-390_390.116-0ubuntu0.18.10.1_i386.deb ...
      Unpacking libnvidia-ifr1-390:i386 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package nvidia-compute-utils-390.
      Preparing to unpack
      .../12-nvidia-compute-utils-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-compute-utils-390 (390.116-0ubuntu0.18.10.1) ...
      Selecting previously unselected package nvidia-dkms-390. Preparing to
      unpack .../13-nvidia-dkms-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-dkms-390 (390.116-0ubuntu0.18.10.1) ... Selecting
      previously unselected package xserver-xorg-video-nvidia-390. Preparing
      to unpack
      .../14-xserver-xorg-video-nvidia-390_390.116-0ubuntu0.18.10.1_amd64.deb
      ... Unpacking xserver-xorg-video-nvidia-390 (390.116-0ubuntu0.18.10.1)
      ... Selecting previously unselected package nvidia-driver-390.
      Preparing to unpack
      .../15-nvidia-driver-390_390.116-0ubuntu0.18.10.1_amd64.deb ...
      Unpacking nvidia-driver-390 (390.116-0ubuntu0.18.10.1) ... Errors were
      encountered while processing:
      /tmp/apt-dpkg-install-gOIHVc/08-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_amd64.deb /tmp/apt-dpkg-install-gOIHVc/09-libnvidia-gl-390_390.116-0ubuntu0.18.10.1_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      what is this error mean and how to fix it?







      apt nvidia dpkg 18.10





      share









      New contributor




      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share









      New contributor




      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share








      edited 1 min ago









      Mitch

      85k14173231




      85k14173231






      New contributor




      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      monkmonk

      11




      11




      New contributor




      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      monk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          monk is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124465%2fwhile-install-nvidia-driver%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          monk is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          monk is a new contributor. Be nice, and check out our Code of Conduct.













          monk is a new contributor. Be nice, and check out our Code of Conduct.












          monk is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124465%2fwhile-install-nvidia-driver%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...