运行后ubuntu-drivers autoinstall
驱动程序未安装,原因是:
linux-modules-nvidia-455-generic-hwe-20.04 : Depends: nvidia-kernel-common-455 (<= 455.38-1) but 455.45.01-0ubuntu0.20.04.1 is to be installed
nvidia-driver-455 : Depends: nvidia-kernel-common-455 (<= 455.38-1) but 455.45.01-0ubuntu0.20.04.1 is to be installed
Recommends: nvidia-settings but it is not going to be installed
Recommends: nvidia-prime (>= 0.8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
如何解决这个依赖问题
答案1
您已连接ppa:graphics-drivers/ppa
具有nvidia-kernel-common-455
版本的455.45.01-0ubuntu0.20.04.1
。
但是 Ubuntu 存储库有455.38-0ubuntu0.20.04.1
这个包的版本。
因此删除 PPA,运行sudo apt update
并安装所有内容。
否则,您需要研究一下 PPA 出了什么问题,并且您不会使用自动安装。