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
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
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 drivers/ ppa).
(adding ppa:graphics-
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): 340_340. 107-0ubuntu0. 18.04.1_ amd64.deb ... x86_64- linux-gnu/ libGL.so. 1 til /usr/lib/ x86_64- linux-gnu/ libGL.so. 1.distrib gennem nvidia-340' x86_64- linux-gnu/ libGL.so. 1.distrib' med x86_64- linux-gnu/ libGL.so. 1', ikke tilladt apt/archives/ nvidia- 340_340. 107-0ubuntu0. 18.04.1_ amd64.deb (--unpack): apt/archives/ nvidia- 340_340. 107-0ubuntu0. 18.04.1_ amd64.deb
Gør klar til at udpakke .../nvidia-
Tilføjer 'omdirigeret af /usr/lib/
dpkg-divert: fejl: omdøbning medfører overskrivning af '/usr/lib/
anden fil `/usr/lib/
dpkg: fejl under behandling af arkivet /var/cache/
new nvidia-340 package pre-installation script subprocess returned error exit status 2
Der opstod fejl under behandlingen:
/var/cache/
So I tried your suggestions.. Not working for Me.
I see there have been some reports recently, but no one seems to take action.. /bugs.launchpad .net/ubuntu/ +source/ nvidia- graphics- drivers- 340/+bug/ 1797791
(I have not done this) https:/
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.