Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5424  / 3 Years ago, tue, august 10, 2021, 11:23:35

I have been trying to install cuda, and I cannot for the life of me figure this out :(. This is the error that i keep running into, and I can't think of any packages that would be broken on this machine. It's a fresh install of 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.


Some other possibly useful information?



My attempt to find any broken packages



% sudo debsums --changed
sudo debsums --changed 7.72s user 3.54s system 22% cpu 49.658 total


/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


Edit: Going down the rabbit whole to try and install unmet dependencies manually, I have come to the following wall



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


Does anyone have any suggestions?


More From » apt

 Answers
3

The package that provides xorg-vide-abi-* was xserver-xorg-core(2:1.19.6-ubuntu4.2) but the held package was xserver-xorg-core(2:1.20*) and no longer provided the xerver-xorg-core package necessary



So downgrading said package worked, and ignoring said package (sudo apt-mark hold xserver-xorg-core) when upgrading did the trick


[#6645] Thursday, August 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eanda

Total Points: 439
Total Questions: 116
Total Answers: 105

Location: Armenia
Member since Sat, Dec 31, 2022
1 Year ago
;