Gönderen Konu: [Çözüldü] Nvidia Sürücü İle İlgili Bozuk Paket Sorunu  (Okunma sayısı 9358 defa)

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
https://forum.linuxmint.net.tr/index.php?topic=9464.0
Linkte bahsettiğim üzere nvidia driverlarıyla ilgili sorun yaşıyorum. Konuda bahsedilen komudu kullanarak driverları kaldırma işlemini yaptım. Nvidia 396 drivarını yükledim fakat başka paketler yüklemeye çalıştığımda bozuk paket  uyarısı alıyorum. Synaptic ve komut satırı üzerinden sorunu düzeltemedim. Aşağıdaki komut ve benzeri bir kaç komutla paketleri onarmaya çalıştım fakat başaramadım.

sudo aptitude update && sudo aptitude install gtkorphan
Kod: [Seç]
Get: 1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Ign file:/var/cuda-repo-8-0-local-ga2  InRelease
Get: 2 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Get: 3 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]                       
Hit http://ppa.launchpad.net/daniel-marynicz/filemanager-actions/ubuntu bionic InRelease
Ign http://packages.linuxmint.com tara InRelease                               
Hit http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease       
Hit http://packages.linuxmint.com tara Release                                 
Hit http://archive.canonical.com/ubuntu bionic InRelease                       
Hit http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic InRelease     
Hit http://archive.ubuntu.com/ubuntu bionic InRelease                   
Get: 4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]   
Get: 5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]     
Hit http://ppa.launchpad.net/openscad/releases/ubuntu bionic InRelease         
Hit http://ppa.launchpad.net/tista/adapta/ubuntu bionic InRelease               
Get: 6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Fetched 247 kB in 1s (166 kB/s)                             
                                         
The following NEW packages will be installed:
  deborphan{a} gtkorphan libgtk2-gladexml-perl{a} menu{a}
The following packages will be REMOVED:
  libnvidia-common-396{u}
The following partially installed packages will be configured:
  libnvidia-ifr1-396{b} nvidia-driver-396{b}
0 packages upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 516 kB of archives. After unpacking 2.158 kB will be used.
The following packages have unmet dependencies:
 libnvidia-ifr1-396 : Depends: libnvidia-gl-396 but it is not going to be installed
 nvidia-driver-396 : Depends: libnvidia-gl-396 (= 396.54-0ubuntu0~gpu18.04.1) but it is not going to be installed
The following actions will resolve these dependencies:

     Install the following packages:                                 
1)     libnvidia-gl-396 [396.54-0ubuntu0~gpu18.04.1 (bionic)]         

     Keep the following packages at their current version:           
2)     libnvidia-common-396 [396.54-0ubuntu0~gpu18.04.1 (bionic, now)]



Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
  deborphan{a} gtkorphan libgtk2-gladexml-perl{a} libnvidia-gl-396{a}
  menu{a}
The following partially installed packages will be configured:
  libnvidia-common-396 libnvidia-ifr1-396 nvidia-driver-396
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 516 kB/17,1 MB of archives. After unpacking 86,5 MB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 deborphan amd64 1.7.28.8ubuntu2 [92,1 kB]
Get: 2 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 menu amd64 2.1.47ubuntu2.1 [349 kB]
Get: 3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgtk2-gladexml-perl amd64 1.007-2build4 [38,0 kB]
Get: 4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gtkorphan all 0.4.4-2 [36,7 kB]
Fetched 516 kB in 2s (281 kB/s)     
(Reading database ... 961968 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.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-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.54-0ubuntu0~gpu18.04.1_amd64.deb (--unpack):
 new libnvidia-gl-396:amd64 package pre-installation script subprocess returned error exit status 2
Selecting previously unselected package deborphan.
Preparing to unpack .../deborphan_1.7.28.8ubuntu2_amd64.deb ...
Unpacking deborphan (1.7.28.8ubuntu2) ...
Selecting previously unselected package menu.
Preparing to unpack .../menu_2.1.47ubuntu2.1_amd64.deb ...
Unpacking menu (2.1.47ubuntu2.1) ...
Selecting previously unselected package libgtk2-gladexml-perl.
Preparing to unpack .../libgtk2-gladexml-perl_1.007-2build4_amd64.deb ...
Unpacking libgtk2-gladexml-perl (1.007-2build4) ...
Selecting previously unselected package gtkorphan.
Preparing to unpack .../gtkorphan_0.4.4-2_all.deb ...
Unpacking gtkorphan (0.4.4-2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint3) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
dpkg: dependency problems prevent configuration of nvidia-driver-396:
 nvidia-driver-396 depends on libnvidia-gl-396 (= 396.54-0ubuntu0~gpu18.04.1); however:
  Package libnvidia-gl-396:amd64 is not installed.

dpkg: error processing package nvidia-driver-396 (--configure):
 dependency problems - leaving unconfigured
Setting up menu (2.1.47ubuntu2.1) ...
Setting up deborphan (1.7.28.8ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
dpkg: dependency problems prevent configuration of libnvidia-ifr1-396:amd64:
 libnvidia-ifr1-396:amd64 depends on libnvidia-gl-396; however:
  Package libnvidia-gl-396:amd64 is not installed.

dpkg: error processing package libnvidia-ifr1-396:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libgtk2-gladexml-perl (1.007-2build4) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up gtkorphan (0.4.4-2) ...
Processing triggers for menu (2.1.47ubuntu2.1) ...
Errors were encountered while processing:
 nvidia-driver-396
 libnvidia-ifr1-396:amd64
« Son Düzenleme: 03 Eylül 2018, 23:21:08 Gönderen: fx »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #1 : 03 Eylül 2018, 16:33:05 »
Aşağıdaki komutların çıktılarını paylaşınız.

Kod: [Seç]
apt-cache policy nvidia-driver-396
inxi -Sr
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #2 : 03 Eylül 2018, 16:54:59 »
apt-cache policy nvidia-driver-396
Kod: [Seç]
nvidia-driver-396:
  Installed: 396.54-0ubuntu0~gpu18.04.1
  Candidate: 396.54-0ubuntu0~gpu18.04.1
  Version table:
 *** 396.54-0ubuntu0~gpu18.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

inxi -Sr
Kod: [Seç]
System:    Host: GE60-2PE Kernel: 4.15.0-33-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.8  Distro: Linux Mint 19 Tara
Repos:     Active apt sources in file: /etc/apt/sources.list.d/cuda-8-0-local-ga2.list
           deb file:///var/cuda-repo-8-0-local-ga2 /
           Active apt sources in file: /etc/apt/sources.list.d/daniel-marynicz-filemanager-actions-bionic.list
           deb http://ppa.launchpad.net/daniel-marynicz/filemanager-actions/ubuntu bionic main
           deb-src http://ppa.launchpad.net/daniel-marynicz/filemanager-actions/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/graphics-drivers-ppa-bionic.list
           deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
           deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/morphis-anbox-support-bionic.list
           deb http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic main
           deb-src http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com tara main upstream import backport
           deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ bionic partner
           Active apt sources in file: /etc/apt/sources.list.d/openscad-releases-bionic.list
           deb http://ppa.launchpad.net/openscad/releases/ubuntu bionic main
           deb-src http://ppa.launchpad.net/openscad/releases/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/tista-adapta-bionic.list
           deb http://ppa.launchpad.net/tista/adapta/ubuntu bionic main
           deb-src http://ppa.launchpad.net/tista/adapta/ubuntu bionic main

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #3 : 03 Eylül 2018, 17:38:38 »
Aşağıdaki komutla Nividia-396 sürücüsünü kaldırmayı dener misiniz?

Kod: [Seç]
sudo apt purge nvidia-driver-396
Sonra aşağıdaki komutla gereksiz bağımlılıkları da kaldırın.

Kod: [Seç]
sudo apt autoremove
Ardından aşağıdaki komutla Nvidia PPA deposunu silin.

Kod: [Seç]
sudo rm -f /etc/apt/sources.list.d/graphics-drivers-ppa-bionic.list
sudo apt update

Ardından aşağıdaki komutla Nvidia-396 sürücüsünü kurmayı deneyin.

Kod: [Seç]
sudo apt-get install nvidia-driver-396 nvidia-settings nvidia-prime
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #4 : 03 Eylül 2018, 17:47:37 »
sudo apt purge nvidia-driver-396
Kod: [Seç]
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-396 : Depends: libnvidia-gl-396 but it is not installed
 nvidia-driver-396 : Depends: libnvidia-gl-396 (= 396.54-0ubuntu0~gpu18.04.1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


apt --fix-broken install
Kod: [Seç]
apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package


Mesajlar Birleştirildi.
sudo apt-get -f install
Kod: [Seç]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libnvidia-gl-396
The following NEW packages will be installed
  libnvidia-gl-396
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/16,6 MB of archives.
After this operation, 84,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 962164 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.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-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.54-0ubuntu0~gpu18.04.1_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.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


apt-get update
Kod: [Seç]
Get:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Ign:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Get:2 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Get:2 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease                       
  Temporary failure resolving ‘archive.ubuntu.com’
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease               
  Temporary failure resolving ‘archive.ubuntu.com’
Err:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease             
  Temporary failure resolving ‘archive.ubuntu.com’
Err:6 http://security.ubuntu.com/ubuntu bionic-security InRelease             
  Temporary failure resolving ‘security.ubuntu.com’
Err:7 http://archive.canonical.com/ubuntu bionic InRelease                     
  Temporary failure resolving ‘archive.canonical.com’
Hit:9 http://ppa.launchpad.net/daniel-marynicz/filemanager-actions/ubuntu bionic InRelease
Ign:10 http://packages.linuxmint.com tara InRelease                           
Hit:11 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:12 http://packages.linuxmint.com tara Release                             
Hit:13 http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic InRelease
Hit:15 http://ppa.launchpad.net/openscad/releases/ubuntu bionic InRelease     
Hit:16 http://ppa.launchpad.net/tista/adapta/ubuntu bionic InRelease           
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Temporary failure resolving ‘archive.ubuntu.com’
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Temporary failure resolving ‘archive.ubuntu.com’
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Temporary failure resolving ‘archive.ubuntu.com’
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Temporary failure resolving ‘security.ubuntu.com’
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/bionic/InRelease  Temporary failure resolving ‘archive.canonical.com’
W: Some index files failed to download. They have been ignored, or old ones used instead.
« Son Düzenleme: 03 Eylül 2018, 17:55:16 Gönderen: fx »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #5 : 03 Eylül 2018, 18:07:47 »
Aşağıdaki komutların çıktısına bakalım.

Kod: [Seç]
dpkg -l | grep nvidia
apt-cache policy libnvidia-gl-396
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #6 : 03 Eylül 2018, 18:13:14 »
dpkg -l | grep nvidia
Kod: [Seç]
ii  libnvidia-cfg1-396:amd64                                    396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA binary OpenGL/GLX configuration library
ri  libnvidia-common-390                                        390.87-0ubuntu0~gpu18.04.1                  all          Shared files used by the NVIDIA libraries
ii  libnvidia-common-396                                        396.54-0ubuntu0~gpu18.04.1                  all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-396:amd64                                 396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA libcompute package
ii  libnvidia-decode-396:amd64                                  396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-396:amd64                                  396.54-0ubuntu0~gpu18.04.1                  amd64        NVENC Video Encoding runtime library
ii  libnvidia-fbc1-396:amd64                                    396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
iU  libnvidia-ifr1-396:amd64                                    396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-396                                    396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA compute utilities
ii  nvidia-dkms-396                                             396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA DKMS package
iU  nvidia-driver-396                                           396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-396                                    396.54-0ubuntu0~gpu18.04.1                  amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-396                                    396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA kernel source package
ii  nvidia-prime                                                0.8.8                                       all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                             396.54-0ubuntu0~gpu18.04.1                  amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-396                                            396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-396                               396.54-0ubuntu0~gpu18.04.1                  amd64        NVIDIA binary Xorg driver

apt-cache policy libnvidia-gl-396
Kod: [Seç]
libnvidia-gl-396:
  Installed: (none)
  Candidate: 396.54-0ubuntu0~gpu18.04.1
  Version table:
     396.54-0ubuntu0~gpu18.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #7 : 03 Eylül 2018, 18:26:48 »
Aşağıdaki komutla libnvidia-gl-396 paketini kurmayı dener misiniz?

Kod: [Seç]
sudo apt install libnvidia-gl-396
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #8 : 03 Eylül 2018, 18:32:39 »
sudo apt install libnvidia-gl-396
Kod: [Seç]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  libnvidia-gl-396
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 16,6 MB of archives.
After this operation, 84,3 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-gl-396 amd64 396.54-0ubuntu0~gpu18.04.1 [16,6 MB]
Fetched 16,6 MB in 37s (448 kB/s)                                             
(Reading database ... 962164 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.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-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.54-0ubuntu0~gpu18.04.1_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.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #9 : 03 Eylül 2018, 19:21:12 »
Buradaki öneriyi deneyelim.

Kod: [Seç]
sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so.1
Ardından aşağıdaki komutu uçbirimde çalıştırınız.

Kod: [Seç]
sudo apt install -f
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #10 : 03 Eylül 2018, 19:38:58 »
sudo apt install -f
Kod: [Seç]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libnvidia-gl-396
The following NEW packages will be installed
  libnvidia-gl-396
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 16,6 MB of archives.
After this operation, 84,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-gl-396 amd64 396.54-0ubuntu0~gpu18.04.1 [16,6 MB]
Fetched 16,6 MB in 33s (501 kB/s)                                             
(Reading database ... 962163 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb ...
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so by libnvidia-gl-396'
  found 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_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.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #11 : 03 Eylül 2018, 19:46:30 »
Aşağıdaki komutları dener misiniz?

Kod: [Seç]
sudo dpkg-divert --remove "/usr/lib/x86_64-linux-gnu/libGL.so.1"
Kod: [Seç]
sudo apt install -f
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #12 : 03 Eylül 2018, 19:58:20 »
sudo dpkg-divert --remove "/usr/lib/x86_64-linux-gnu/libGL.so.1"
Kod: [Seç]
No diversion 'any diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1', none removed.

sudo apt install -f
Kod: [Seç]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libnvidia-gl-396
The following NEW packages will be installed
  libnvidia-gl-396
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
14 not fully installed or removed.
Need to get 0 B/16,6 MB of archives.
After this operation, 84,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 962117 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb ...
dpkg-query: no packages found matching libnvidia-gl-390
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so by libnvidia-gl-396'
  found 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_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.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #13 : 03 Eylül 2018, 20:03:45 »
Aşağıdaki komutu dener misiniz?

Kod: [Seç]
sudo dpkg -i --force-all  /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı fx

  • Yeni Penguen
  • *
  • İleti: 83
  • Dağıtım: Linux Mint 19 Cinnamon
  • Masaüstü Ortamı: Cinnamon 3.8.8.
  • Grafik Kartı: NVIDIA GM107M [GeForce GTX 860M]
  • İşlemci: Intel i7
Ynt: Nvidia Sürücü İle İlgili Bozuk Paket Sorunu
« Yanıtla #14 : 03 Eylül 2018, 20:21:12 »
sudo dpkg -i --force-all  /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb
Kod: [Seç]
(Reading database ... 962117 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb ...
dpkg-query: no packages found matching libnvidia-gl-390
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so by libnvidia-gl-396'
  found 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb (--install):
 new libnvidia-gl-396:amd64 package pre-installation script subprocess returned error exit status 2
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-gl-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb