运行 ubuntu-drivers autoinstall 时出错

运行 ubuntu-drivers autoinstall 时出错

我遇到了 nvidia 驱动程序导致 steam 游戏冻结或崩溃的问题。更多解释请参阅这个问题,我被告知如果sudo ubuntu-drivers autoinstall修复了错误,steam 也可以运行。

该命令的输出是:

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:
 linux-modules-nvidia-495-generic-hwe-20.04 : Depends: linux-modules-nvidia-495-5.11.0-43-generic (= 5.11.0-43.47~20.04.2) but it is not going to be installed
                                              Depends: nvidia-kernel-common-495 (>= 495.44) but 495.29.05-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

我在 kubuntu 20.04 LTS 上的 nvidia 1660ti 上使用 470 个专有驱动程序

sudo apt --fix-broken install                                                                                                      [18:58:54]
[sudo] password for lovro: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libavresample4 libgl1-mesa-glx:i386 python-is-python2 python3-pyudev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

提前致谢

相关内容