web-dev-qa-db-fra.com

Dépendances non résolues lors de la tentative de suppression de libnvidia-ifr1-390

zags@zags:~$ Sudo apt-get remove libnvidia-ifr1-390
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-390:i386 : Depends: libnvidia-gl-390:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
zags@zags:~$

Sortie de Sudo apt-get install -f:

libnvidia-gl-390:AMD64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-gl-390_390.77-0ubuntu0.18.04.1_i386.deb
 /var/cache/apt/archives/libnvidia-gl-390_390.77-0ubuntu0.18.04.1_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
2
Anshuman Pathak

Même problème. Résolu avec ceci:

https://ubuntuforums.org/showthread.php?t=2388026&page=3&p=13761809#post13761809

for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do Sudo dpkg-divert --remove $FILE; done
Sudo apt --fix-broken install
Sudo apt update ; Sudo apt upgrade
1
Sergio Ferraresi