我在尝试重新安装nvidia驱动程序+ cuda。我安装了440个驱动程序,但是意外地安装了cuda-11,它安装了450个驱动程序,并破坏了我的系统。现在我正试图通过sudo apt-get remove --purge '^nvidia-.*'来清除我所有的司机。但是,我得到以下错误
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cuda-drivers-450 : Depends: libnvidia-compute-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-compute-utils-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-dkms-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-driver-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-kernel-common-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-kernel-source-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-utils-450 (>= 450.36.06) but it is not going to be installed
Depends: nvidia-modprobe (>= 450.36.06)
Depends: nvidia-settings (>= 450.36.06) but it is not going to be installed
libnvidia-decode-450 : Depends: libnvidia-compute-450 (= 450.36.06-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).无论我做什么,无论我运行apt --fix-broken install还是清除其他包,我似乎总是会遇到这个错误。
我看到了很多类似的问题(见下面的链接) --但我看到的唯一解决方案是重新安装ubuntu (这不是一个更好的选择)。我见过一个帖子,建议如何手动删除破损的包,有没有人有任何运气,与此?
http://www.piprime.fr/1480/manually-remove-broken-package-debian-ubuntu/
发布于 2020-08-29 15:14:29
我安装了Nvidia下载的驱动程序。我在下面打电话
sudo nvidia-卸载
它完全删除了所有的nvidia驱动程序。
https://askubuntu.com/questions/1253784
复制相似问题