ravensholt
Sun Mar 22, 2020 12:37:43 am
Hi fellow Zorin users.
I've been using ZorinOS since version 12 came out. So happy with Zorin in fact, that I purchased both version 12 and 15.
Up until now, everything has worked perfectly.
However...
Recently I upgraded to 15.2.
Somehow that forced the opensource Nouveau driver to be used.
I then tried installing the nVidia binary (closed source) 340 driver, which somehow broke the system.
Now I'm in this hell of an endless loop, where I can't install any packages, as I'm getting the following errors:
The following packages were automatically installed and are no longer required...
Which follows a list of packages.
Use 'sudo apt autoremove' to remove them.
And so I did - which then throws the following message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libnvidia-ifr1-435 : Depends: libnvidia-gl-435 but it is not installed
libnvidia-ifr1-435:i386 : Depends: libnvidia-gl-435:i386 but it is not installed
nvidia-driver-435 : Depends: libnvidia-gl-435 (= 435.21-0ubuntu0.18.04.2) but it is not installed
Recommends: libnvidia-gl-435:i386 (= 435.21-0ubuntu0.18.04.2)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So I try the "sudo apt --fix-broken install" , which then returns the following error below, and agian suggest me to use autoremove.
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-435'
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-435_435.21-0ubuntu0.18.04.2_amd64.deb (--unpack):
new libnvidia-gl-435:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-435_435.21-0ubuntu0.18.04.2_i386.deb
/var/cache/apt/archives/libnvidia-gl-435_435.21-0ubuntu0.18.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can't even revert back to the Nouveau driver...
So how do I fix this?
Any help is highly apprechiated.
Thanks
Best regards,
Martin
I've been using ZorinOS since version 12 came out. So happy with Zorin in fact, that I purchased both version 12 and 15.
Up until now, everything has worked perfectly.
However...
Recently I upgraded to 15.2.
Somehow that forced the opensource Nouveau driver to be used.
I then tried installing the nVidia binary (closed source) 340 driver, which somehow broke the system.
Now I'm in this hell of an endless loop, where I can't install any packages, as I'm getting the following errors:
The following packages were automatically installed and are no longer required...
Which follows a list of packages.
Use 'sudo apt autoremove' to remove them.
And so I did - which then throws the following message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libnvidia-ifr1-435 : Depends: libnvidia-gl-435 but it is not installed
libnvidia-ifr1-435:i386 : Depends: libnvidia-gl-435:i386 but it is not installed
nvidia-driver-435 : Depends: libnvidia-gl-435 (= 435.21-0ubuntu0.18.04.2) but it is not installed
Recommends: libnvidia-gl-435:i386 (= 435.21-0ubuntu0.18.04.2)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So I try the "sudo apt --fix-broken install" , which then returns the following error below, and agian suggest me to use autoremove.
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-435'
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-435_435.21-0ubuntu0.18.04.2_amd64.deb (--unpack):
new libnvidia-gl-435:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-435_435.21-0ubuntu0.18.04.2_i386.deb
/var/cache/apt/archives/libnvidia-gl-435_435.21-0ubuntu0.18.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can't even revert back to the Nouveau driver...
So how do I fix this?
Any help is highly apprechiated.
Thanks
Best regards,
Martin