I noticed how my Computer starts to freeze more often, which concerns me. I have a Ubuntu 18.04 and it freezes completely so that I have to reboot it.
I ran "ubuntu-drivers devices" since I read online it could be a graphics issue.
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0 ==
modalias : pci:v000010DEd00000FFDsv0000103Csd00000967bc03sc00i00
vendor : NVIDIA Corporation
model : GK107 [NVS 510]
driver : nvidia-340 - distro non-free
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
Because of the recommendation I tried to install nvidia-driver-390 and it did not work:
sudo ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-driver-390 : Depends: xserver-xorg-video-nvidia-390 (= 390.48-0ubuntu3) but it is not going to be installed
Recommends: libnvidia-compute-390:i386 (= 390.48-0ubuntu3)
Recommends: libnvidia-decode-390:i386 (= 390.48-0ubuntu3)
Recommends: libnvidia-encode-390:i386 (= 390.48-0ubuntu3)
Recommends: libnvidia-ifr1-390:i386 (= 390.48-0ubuntu3)
Recommends: libnvidia-fbc1-390:i386 (= 390.48-0ubuntu3)
Recommends: libnvidia-gl-390:i386 (= 390.48-0ubuntu3)
E: Unable to correct problems, you have held broken packages.
To fix this I ran:
sudo dpkg --configure -a && sudo apt update --fix-missing && sudo apt install -f && sudo apt full-upgrade
but I still get the same error message when I try to install nivida-driver-390
What could I try next?
edit: things that were asked for in the comments:
apt-cache policy nvidia-driver-390
nvidia-driver-390:
Installed: (none)
Candidate: 390.48-0ubuntu3
Version table:
390.48-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
grep "bionic-updates\|bionic-security" /etc/apt/sources.list
(returns nothing)
after running the lines suggested by mchid in the answer:
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0 ==
modalias : pci:v000010DEd00000FFDsv0000103Csd00000967bc03sc00i00
vendor : NVIDIA Corporation
model : GK107 [NVS 510]
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-340 - distro non-free
driver : nvidia-driver-440-server - distro non-free
driver : nvidia-driver-450 - distro non-free
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-450-server - distro non-free recommended
driver : nvidia-driver-435 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
apt-cache policy nvidia-driver-390
return?grep "bionic-updates\|bionic-security" /etc/apt/sources.list