我一直试图在ubuntu-20.04中安装nvidia驱动程序,而"sudo驱动程序安装“给了我以下错误。
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-460 : Depends: libnvidia-gl-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-extra-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-encode-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: nvidia-utils-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-cfg1-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-fbc1-460 (= 460.73.01-0ubuntu0.20.04.1) but it is not going to be installed
Recommends: nvidia-settings but it is not going to be installed
Recommends: libnvidia-compute-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
Recommends: libnvidia-decode-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
Recommends: libnvidia-encode-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
Recommends: libnvidia-ifr1-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
Recommends: libnvidia-fbc1-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
Recommends: libnvidia-gl-460:i386 (= 460.73.01-0ubuntu0.20.04.1)
E: Unable to correct problems, you have held broken packages.我从不同的论坛尝试过几种方法,但都没有成功。
"sudo apt -修复-损坏的安装“并不能解决问题。
我已经尝试了以下链接的解决方案。
但是,"sudo apt-get安装--修复-破坏的xorg-视频-ABI-11 xserver-xorg-core -y“命令似乎也解决不了问题。尝试安装从nvidia PPA和问题仍然存在。
我已经附上了下面的系统细节。
OS: Ubuntu 20.04.2 LTS x86_64
Host: Nitro AN515-43 V1.10
Kernel: 5.8.0-53-generic
Uptime: 31 mins
Packages: 2293 (dpkg), 13 (snap)
Shell: bash 5.0.17
Resolution: 1920x1080
DE: GNOME
Terminal: gnome-terminal
CPU: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8) @ 2.100
GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q
GPU: AMD ATI 05:00.0 Picasso
Memory: 3275MiB / 5944MiB 发布于 2021-05-13 20:31:02
这看起来与Pop_OS的问题类似!用户最近面临的问题。System76已经为Pop_OS修补了这个问题!已经通知了Ubuntu开发人员。我想几周后这件事就会解决了-坐稳点。
参见:https://www.reddit.com/r/pop_os/comments/n5j8c0/nvidia_司机_4652402_问题/
https://askubuntu.com/questions/1338087
复制相似问题