Cuda has unmet dependencies. Unable to install











up vote
0
down vote

favorite












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?



Edit: I have finally found a solution! I finally found that 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 :(



My new question: Is there anyway I can add xserver-xorg-core to a list that is ignored by apt-get upgrade?



Edit: Ignore that last question I found the answer with a quick 10 second google DuckDuckGo search! :facepalm:










share|improve this question
























  • In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
    – user535733
    Nov 30 at 23:19












  • @user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
    – j-money
    Nov 30 at 23:30








  • 1




    Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
    – ubfan1
    Nov 30 at 23:35










  • I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
    – j-money
    Nov 30 at 23:38










  • Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
    – ubfan1
    Nov 30 at 23:45















up vote
0
down vote

favorite












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?



Edit: I have finally found a solution! I finally found that 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 :(



My new question: Is there anyway I can add xserver-xorg-core to a list that is ignored by apt-get upgrade?



Edit: Ignore that last question I found the answer with a quick 10 second google DuckDuckGo search! :facepalm:










share|improve this question
























  • In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
    – user535733
    Nov 30 at 23:19












  • @user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
    – j-money
    Nov 30 at 23:30








  • 1




    Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
    – ubfan1
    Nov 30 at 23:35










  • I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
    – j-money
    Nov 30 at 23:38










  • Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
    – ubfan1
    Nov 30 at 23:45













up vote
0
down vote

favorite









up vote
0
down vote

favorite











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?



Edit: I have finally found a solution! I finally found that 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 :(



My new question: Is there anyway I can add xserver-xorg-core to a list that is ignored by apt-get upgrade?



Edit: Ignore that last question I found the answer with a quick 10 second google DuckDuckGo search! :facepalm:










share|improve this question















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?



Edit: I have finally found a solution! I finally found that 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 :(



My new question: Is there anyway I can add xserver-xorg-core to a list that is ignored by apt-get upgrade?



Edit: Ignore that last question I found the answer with a quick 10 second google DuckDuckGo search! :facepalm:







apt nvidia package-management dependencies cuda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 at 22:06

























asked Nov 30 at 23:08









j-money

380210




380210












  • In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
    – user535733
    Nov 30 at 23:19












  • @user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
    – j-money
    Nov 30 at 23:30








  • 1




    Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
    – ubfan1
    Nov 30 at 23:35










  • I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
    – j-money
    Nov 30 at 23:38










  • Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
    – ubfan1
    Nov 30 at 23:45


















  • In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
    – user535733
    Nov 30 at 23:19












  • @user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
    – j-money
    Nov 30 at 23:30








  • 1




    Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
    – ubfan1
    Nov 30 at 23:35










  • I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
    – j-money
    Nov 30 at 23:38










  • Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
    – ubfan1
    Nov 30 at 23:45
















In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
– user535733
Nov 30 at 23:19






In apt-speak, dependency problems are what 'broken' actually means. Look for wrong-version sources that cause the impossible situation. For example, the error message is saying that the non-Ubuntu-package cuda-10-0 cannot be installed due to dependency problems.
– user535733
Nov 30 at 23:19














@user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
– j-money
Nov 30 at 23:30






@user535733 That was what I originally thought! So going down the rabbit whole, I was met with an error that I'm not entirely sure how to deal with, I've updated the original post to reflect these "findings". As per the edit, should I be looking in a non-ubuntu repo for this? Im not sure what is not installable means (outside of not able to be installed :'D)
– j-money
Nov 30 at 23:30






1




1




Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
– ubfan1
Nov 30 at 23:35




Server does not even have X, so while I have seen the cuda executables run the non-graphical samples under Wayland, how are you planning on running cuda?
– ubfan1
Nov 30 at 23:35












I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
– j-money
Nov 30 at 23:38




I swear one day i'll learn how to post @ubfan1 This was another thought I had, so I tried installing X. Are your thoughts that I should scrap it (It really is just a fresh install with X, and zsh installed) and install ubuntu desktop?
– j-money
Nov 30 at 23:38












Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
– ubfan1
Nov 30 at 23:45




Might as well, if you need to install X on a server, desktop is probably the way to go. Get the Nvidia drivers set up from the ubuntu repos, and then do the CUDA deb from Nvidia. Not sure what cuda you'd need from the ubuntu repos after that, maybe nothing.
– ubfan1
Nov 30 at 23:45















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097541%2fcuda-has-unmet-dependencies-unable-to-install%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097541%2fcuda-has-unmet-dependencies-unable-to-install%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei