Howdy Y'all!
I done upgraded my Bonobo Extreme laptop to Ubuntu 18.04 this here morning. Everything seemed'ta have upgraded smoothly until I tried to load my favorite games up n let me tell you! It was not runnin' the official Nvidia drivier! I was fixin' to fix the issue by running sudo apt --fix-broken install but it bailed with this error code 1 faster thank you can say Amarillo! Please give me some advice so I get back to gaming.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
i965-va-driver:i386 libgnome-desktop-3-12 libva2:i386 mesa-va-drivers:i386 va-driver-all:i386 wine-stable-amd64
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-gl-396 libnvidia-gl-396:i386
The following NEW packages will be installed:
libnvidia-gl-396 libnvidia-gl-396:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 33.3 MB of archives.
After this operation, 158 MB of additional disk space will be used.
Fetched 33.3 MB in 2min 17s (244 kB/s)
(Reading database ... 246334 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.24-0ubuntu1~pop1_i386.deb ...
dpkg-query: no packages found matching libnvidia-gl-390
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-396'
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 /var/cache/apt/archives/libnvidia-gl-396_396.24-0ubuntu1~pop1_i386.deb (--unpack):
new libnvidia-gl-396:i386 package pre-installation script subprocess returned error exit status 2
Preparing to unpack .../libnvidia-gl-396_396.24-0ubuntu1~pop1_amd64.deb ...
dpkg-query: no packages found matching libnvidia-gl-390
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-396'
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 /var/cache/apt/archives/libnvidia-gl-396_396.24-0ubuntu1~pop1_amd64.deb (--unpack):
new libnvidia-gl-396:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-396_396.24-0ubuntu1~pop1_i386.deb
/var/cache/apt/archives/libnvidia-gl-396_396.24-0ubuntu1~pop1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)