j-m*_*ney 4 package-management apt nvidia dependencies cuda
我一直在尝试安装 cuda,但我终生无法解决这个问题:(。这是我一直遇到的错误,我想不出任何会在这台机器上损坏的软件包。它是全新安装的 Ubuntu Server (uname -a Linux marte 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
running Cosmic)
% sudo apt-get install cuda
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:
cuda : Depends: cuda-10-0 (>= 10.0.130) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
其他一些可能有用的信息?
我试图找到任何破损的包裹
% sudo debsums --changed
sudo debsums --changed 7.72s user 3.54s system 22% cpu 49.658 total
Run Code Online (Sandbox Code Playgroud)
/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu cosmic main universe
deb http://archive.ubuntu.com/ubuntu cosmic-security main universe
deb http://archive.ubuntu.com/ubuntu cosmic-updates main universe
Run Code Online (Sandbox Code Playgroud)
编辑:整个兔子下来尝试手动安装未满足的依赖项,我来到了下面的墙
The following packages have unmet dependencies:
nvidia-410 : Depends: xorg-video-abi-11 but it is not installable or
xorg-video-abi-12 but it is not installable or
xorg-video-abi-13 but it is not installable or
xorg-video-abi-14 but it is not installable or
xorg-video-abi-15 but it is not installable or
xorg-video-abi-18 but it is not installable or
xorg-video-abi-19 but it is not installable or
xorg-video-abi-20 but it is not installable or
xorg-video-abi-23 but it is not installable
Recommends: nvidia-settings (>= 331.20) but it is not going to be installed
Recommends: nvidia-prime (>= 0.5) but it is not going to be installed or
bumblebee but it is not going to be installed
Run Code Online (Sandbox Code Playgroud)
有没有人有什么建议?
小智 6
问题是 ubuntu 不知道在哪里可以找到这些包。在终端中输入以下代码:
add-apt-repository ppa:graphics-drivers/ppa
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4297 次 |
最近记录: |