Hardware - Support > Video Cards

Problem Drivers NVIDIA GeForce GT 630 using nvidia-driver-390 Linux Lite 4.8

<< < (2/2)

RumDrama:
Hi everyone.

Broken Nvidia files have become such a problem. I'm not able to install anything until this is fixed. Hope you can help me.

It started when I tied to change the video driver from 390 to 304 in Software & Updates - Additional Drivers.

This is what I see every time I install:
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
 libnvidia-ifr1-390:i386 : Depends: libnvidia-gl-390:i386 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
                     Recommends: libnvidia-gl-390:i386 (= 390.132-0ubuntu0.18.04.1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I have spent over a day on it to no avail.
I have try many different things like:
sudo apt --fix-broken install
sudo apt update --fix-missing
sudo apt install -f
sudo dpkg --configure -a
sudo dpkg -l | grep ^..r
sudo dpkg --remove --force-remove--reinstreq
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo apt clean
sudo apt update
sudo apt-get clean
sudo apt-get update
sudo apt-get install --reinstal
sudo apt-get -f install

Thanks for your help.

Using NVIDIA GeForce GT 630 using nvidia-driver-390 on Linux Lite 4.8
Processor: AMD FX(tm)-8350 Eight-Core Processor
Memory: 8207MB (4487MB used)
Machine Type: Desktop
Operating System: Linux Lite 4.8
Date/Time: Sat 16 May 2020 05:19:18 PM PDT
Resolution: 1920x1080 pixels
OpenGL Renderer: llvmpipe (LLVM 9.0, 128 bits)
X11 Vendor: The X.Org Foundation
Audio Adapter: HDA-Intel - HDA ATI SB
Audio Adapter: HDA-Intel - HDA NVidia

Here’s an example of my struggle:
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  lib32gcc1 libc6-i386
Use 'sudo apt autoremove' to remove them.
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 0 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]
(Reading database ... 315231 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)

Navigation

[0] Message Index

[*] Previous page

Go to full version