Tes*_*a J 1 linux graphics ubuntu apt nvidia
我有一台配备1060 GPU 的笔记本电脑,安装了 Ubuntu 20.04。我已经安装了nvidia-driver-460 + cuda 11.2并一直工作到今天。我今天尝试安装 ROS,在按照此链接添加源代码和密钥后,它不允许我安装 ROS,说某些软件包有unmet dependencies。之后我发布了apt autoremove并删除了nvidia 驱动程序和cuda。
我仍然无法安装 ROS,现在尝试安装也apt install nvidia-driver-460可以。这是与命令输出类似的unmet dependencies输出sudo ubuntu-drivers autoinstallapt install
Reading package lists... Done
Building dependenc y 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-460-generic-hwe-20.04 : Depends: nvidia-kernel-common-460 (>= 460.39) but 460.32.03-0ubuntu1 is to be installed
nvidia-driver-460 : Depends: libnvidia-gl-460 (= 460.32.03-0ubuntu1) but it is not going to be installed
Depends: libnvidia-ifr1-460 (= 460.32.03-0ubuntu1) but it is not going to be installed
Recommends: libnvidia-compute-460:i386 (= 460.32.03-0ubuntu1)
Recommends: libnvidia-decode-460:i386 (= 460.32.03-0ubuntu1)
Recommends: libnvidia-encode-460:i386 (= 460.32.03-0ubuntu1)
Recommends: libnvidia-ifr1-460:i386 (= 460.32.03-0ubuntu1)
Recommends: libnvidia-fbc1-460:i386 (= 460.32.03-0ubuntu1)
Recommends: libnvidia-gl-460:i386 (= 460.32.03-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
这是我到目前为止尝试过但没有成功的方法
apt purge *nvidia*、apt autoremove、apt autoclean并重新安装驱动程序sudo apt -f install并重新安装驱动程序sudo apt-add-repository -r ppa:graphics-drivers/ppa并重新安装驱动程序到目前为止,我从 得到的输出没有任何改变apt install nvidia-driver-460。非常感谢任何帮助。
我在 core i7 机器上安装了 64 位 Ubuntu。那么为什么我在 apt install 输出中看到 i386 呢?
$ uname -a
Linux XXXX 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
13353 次 |
| 最近记录: |