Guest User

Untitled

a guest
May 31st, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.77 KB | None | 0 0
  1. zutobg@zutobg-Latitude-E6220:~$ sudo apt install libnvidia-gl-390
  2. [sudo] password for zutobg:
  3. Reading package lists... Done
  4. Building dependency tree      
  5. Reading state information... Done
  6. You might want to run 'apt --fix-broken install' to correct these.
  7. The following packages have unmet dependencies:
  8.  libnvidia-ifr1-390:i386 : Depends: libnvidia-gl-390:i386 but it is not going to be installed
  9. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  10. zutobg@zutobg-Latitude-E6220:~$ sudo dpkg --add-architecture i386
  11. zutobg@zutobg-Latitude-E6220:~$ sudo apt update
  12. Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  13. Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
  14. Get:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
  15. Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [950 kB]
  16. Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [684 kB]
  17. Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [305 kB]
  18. Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1017 kB]
  19. Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1076 kB]
  20. Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]
  21. Get:10 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [42,6 kB]
  22. Get:11 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
  23. Fetched 4565 kB in 3s (1306 kB/s)                                  
  24. Reading package lists... Done
  25. Building dependency tree      
  26. Reading state information... Done
  27. 11 packages can be upgraded. Run 'apt list --upgradable' to see them.
  28. zutobg@zutobg-Latitude-E6220:~$ sudo apt install libnvidia-gl-390:i386
  29. Reading package lists... Done
  30. Building dependency tree      
  31. Reading state information... Done
  32. You might want to run 'apt --fix-broken install' to correct these.
  33. The following packages have unmet dependencies:
  34.  libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not going to be installed
  35.  nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.132-0ubuntu0.18.04.1) but it is not going to be installed
  36. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  37. zutobg@zutobg-Latitude-E6220:~$ apt --fix-broken install
  38. E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
  39. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
  40. zutobg@zutobg-Latitude-E6220:~$ sudo apt --fix-broken install
  41. Reading package lists... Done
  42. Building dependency tree      
  43. Reading state information... Done
  44. Correcting dependencies... Done
  45. The following additional packages will be installed:
  46.   libnvidia-gl-390 libnvidia-gl-390:i386
  47. The following NEW packages will be installed:
  48.   libnvidia-gl-390 libnvidia-gl-390:i386
  49. 0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
  50. 3 not fully installed or removed.
  51. Need to get 0 B/29,2 MB of archives.
  52. After this operation, 149 MB of additional disk space will be used.
  53. Do you want to continue? [Y/n] y
  54. (Reading database ... 202189 files and directories currently installed.)
  55. Preparing to unpack .../libnvidia-gl-390_390.132-0ubuntu0.18.04.1_i386.deb ...
  56. diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340
  57. dpkg-divert: error: mismatch on package
  58.   when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
  59.   found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340'
  60. dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_i386.deb (--unpack):
  61.  new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
  62. Preparing to unpack .../libnvidia-gl-390_390.132-0ubuntu0.18.04.1_amd64.deb ...
  63. 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
  64. dpkg-divert: error: mismatch on package
  65.   when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-390'
  66.   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'
  67. dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_amd64.deb (--unpack):
  68.  new libnvidia-gl-390:amd64 package pre-installation script subprocess returned error exit status 2
  69. Errors were encountered while processing:
  70.  /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_i386.deb
  71.  /var/cache/apt/archives/libnvidia-gl-390_390.132-0ubuntu0.18.04.1_amd64.deb
  72. E: Sub-process /usr/bin/dpkg returned an error code (1)
Add Comment
Please, Sign In to add comment