Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zutobg@zutobg-Latitude-E6220:~$ sudo apt install libnvidia-gl-390
- [sudo] password for zutobg:
- 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).
- zutobg@zutobg-Latitude-E6220:~$ sudo dpkg --add-architecture i386
- zutobg@zutobg-Latitude-E6220:~$ sudo apt update
- Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
- Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
- Get:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
- Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [950 kB]
- Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [684 kB]
- Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [305 kB]
- Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1017 kB]
- Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1076 kB]
- Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]
- Get:10 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [42,6 kB]
- Get:11 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
- Fetched 4565 kB in 3s (1306 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 11 packages can be upgraded. Run 'apt list --upgradable' to see them.
- zutobg@zutobg-Latitude-E6220:~$ sudo apt install libnvidia-gl-390:i386
- 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 : Depends: libnvidia-gl-390 but it is not going to be installed
- nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.132-0ubuntu0.18.04.1) but it is not going to be installed
- E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
- zutobg@zutobg-Latitude-E6220:~$ apt --fix-broken install
- E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
- E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
- zutobg@zutobg-Latitude-E6220:~$ sudo apt --fix-broken install
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Correcting dependencies... Done
- The following additional packages will be installed:
- libnvidia-gl-390 libnvidia-gl-390:i386
- The following NEW packages will be installed:
- libnvidia-gl-390 libnvidia-gl-390:i386
- 0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
- 3 not fully installed or removed.
- Need to get 0 B/29,2 MB of archives.
- After this operation, 149 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- (Reading database ... 202189 files and directories currently installed.)
- Preparing to unpack .../libnvidia-gl-390_390.132-0ubuntu0.18.04.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 /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_i386.deb (--unpack):
- new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
- Preparing to unpack .../libnvidia-gl-390_390.132-0ubuntu0.18.04.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 /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_amd64.deb (--unpack):
- new 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.132-0ubuntu0.18.04.1_i386.deb
- /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_amd64.deb
- E: Sub-process /usr/bin/dpkg returned an error code (1)
Add Comment
Please, Sign In to add comment