无法安装nvidia-driver-455(从450版本升级)

无法安装nvidia-driver-455(从450版本升级)

我有一个基于 Linux Mint 20 Cinnamon Nvidia (GTX 1060) 的系统,当我发现最新的 Nvidia 驱动程序已推出时,我想立即安装它们。

但是,我似乎无法安装它:

apt-get --dry-run install nvidia-driver-455

会抛出以下内容:

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-455 : Depends: libnvidia-extra-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Depends: nvidia-compute-utils-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Depends: libnvidia-encode-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Depends: nvidia-utils-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Depends: xserver-xorg-video-nvidia-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Depends: libnvidia-ifr1-455 (= 455.38-0ubuntu0.20.04.1) but it is not going to be installed
                     Recommends: libnvidia-compute-455:i386 (= 455.38-0ubuntu0.20.04.1)
                     Recommends: libnvidia-decode-455:i386 (= 455.38-0ubuntu0.20.04.1)
                     Recommends: libnvidia-encode-455:i386 (= 455.38-0ubuntu0.20.04.1)
                     Recommends: libnvidia-ifr1-455:i386 (= 455.38-0ubuntu0.20.04.1)
                     Recommends: libnvidia-fbc1-455:i386 (= 455.38-0ubuntu0.20.04.1)
E: Unable to correct problems, you have held broken packages.

我没有任何保留的包,也没有任何残留配置。


目前,我正在跑步450版本没有任何问题在内核 5.4.0-54-generic 上。那么,我现在该怎么办?这要如何调查呢?

答案1

问题已解决,由于某种原因,仍然安装了先前安装版本的元包:nvidia-driver-440。该问题包已在 3 台笔记本电脑上重现,但保持不变并阻止 Nvidia 更新。


整体更新操作系统后,我重新启动并发出:

apt-get purge nvidia-driver-440

结果:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  nvidia-driver-440*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 19.5 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 438621 files and directories currently installed.)
Removing nvidia-driver-440 (450.80.02-0ubuntu0.20.04.2) ...

现在上面的试运行似乎没问题了。以 root 身份安装:

apt-get --install-recommends install nvidia-driver-455

一切顺利,我的系统现在启动没有任何问题。


视觉证明(Mint 的驱动程序管理器):

视觉证明(Mint 的驱动程序管理器)

相关内容