Hi,
I also have this issue. But have not been able to solve it..
Is a newbie, so please forgive me if I do not provide all info first hand :)
Also I do not know where else to ask for help...


Have done as suggested, but still same issue. just I use nvidia-340.
Using:
Kubuntu 18.04 LTS
Dell E6410
suggested driver Nvidia-340 (default driver do not work with external monitor 
HDMI any more :( ).


The story. what have I done:
It started with the bug in Ubuntu 18.04 GL dispatch library.
I followed guides om the net and did:
sudo dpkg -P nvidia-340
sudo apt --fix-broken install
sudo apt remove nvidia-340
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
sudo apt autoremove

The update Finished OK

Then I tried to install new nvidia-340 as guided in 
https://askubuntu.com/questions/1077493/unable-to-install-nvidia-drivers-on-ubuntu-18-04
(adding ppa:graphics-drivers/ppa).
Did not work so removed PPA again and sudo dpkg -P nvidia-340

Later the new 340.107 driver was released in official PPA and I tried 
installing again..
Still the issue. I can not get the nvidia-340 drivers installed..

Get this failure (sorry I am Danish hope you can see the point any way):
Gør klar til at udpakke .../nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb ...
Tilføjer 'omdirigeret af /usr/lib/x86_64-linux-gnu/libGL.so.1 til 
/usr/lib/x86_64-linux-gnu/libGL.so.1.distrib gennem nvidia-340'
dpkg-divert: fejl: omdøbning medfører overskrivning af 
'/usr/lib/x86_64-linux-gnu/libGL.so.1.distrib' med
  anden fil `/usr/lib/x86_64-linux-gnu/libGL.so.1', ikke tilladt
dpkg: fejl under behandling af arkivet 
/var/cache/apt/archives/nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb 
(--unpack):
 new nvidia-340 package pre-installation script subprocess returned error exit 
status 2
Der opstod fejl under behandlingen:
 /var/cache/apt/archives/nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb

So I tried your suggestions.. Not working for Me.


I see there have been some reports recently, but no one seems to take action..
(I have not done this) 
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1797791

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-390/+bug/1792790

https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1728352


Please suggest what I can do to get my nvidia drivers back :)

Thanks in advance
Br.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768050

Title:
  package libnvidia-gl-390 (not installed) failed to install/upgrade:
  new libnvidia-gl-390:amd64 package pre-installation script subprocess
  returned error exit status 2 (NOT FIXED)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1768050/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to