Do I have to remove my current Nvidia drivers before installing new ones?
I'm using Ubuntu 18.04 on a hybrid Nvidia laptop, with the Ubuntu-packaged Nvidia 390 drivers. I'd like to upgrade to the version 410 drivers, so I added the graphics-drivers PPA and tried to install them, since everywhere I found online suggested that that's all you need to do. Instead apt shouted about a load of dependency problems that installing the new drivers would cause:
$ sudo apt install nvidia-driver-410
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.
nvidia-driver-410 : Depends: libnvidia-gl-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-dkms-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-kernel-source-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-compute-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-decode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-encode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Recommends: libnvidia-compute-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-decode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-encode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-ifr1-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.
The problems look genuine – aptitude why-not
says that the 390 drivers conflict (directly or indirectly) with just about every part of the 410 drivers. In that case:
- Do I need to uninstall the 390 drivers before I install the 410 drivers? (presumably something like
apt purge nvidia-driver-390 && apt autoremove --purge
?) - Is it safe to do so while using the Nvidia GPU? What do I do if I'm unable to install the new drivers?
drivers nvidia package-management graphics hybrid-graphics
add a comment |
I'm using Ubuntu 18.04 on a hybrid Nvidia laptop, with the Ubuntu-packaged Nvidia 390 drivers. I'd like to upgrade to the version 410 drivers, so I added the graphics-drivers PPA and tried to install them, since everywhere I found online suggested that that's all you need to do. Instead apt shouted about a load of dependency problems that installing the new drivers would cause:
$ sudo apt install nvidia-driver-410
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.
nvidia-driver-410 : Depends: libnvidia-gl-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-dkms-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-kernel-source-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-compute-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-decode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-encode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Recommends: libnvidia-compute-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-decode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-encode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-ifr1-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.
The problems look genuine – aptitude why-not
says that the 390 drivers conflict (directly or indirectly) with just about every part of the 410 drivers. In that case:
- Do I need to uninstall the 390 drivers before I install the 410 drivers? (presumably something like
apt purge nvidia-driver-390 && apt autoremove --purge
?) - Is it safe to do so while using the Nvidia GPU? What do I do if I'm unable to install the new drivers?
drivers nvidia package-management graphics hybrid-graphics
add a comment |
I'm using Ubuntu 18.04 on a hybrid Nvidia laptop, with the Ubuntu-packaged Nvidia 390 drivers. I'd like to upgrade to the version 410 drivers, so I added the graphics-drivers PPA and tried to install them, since everywhere I found online suggested that that's all you need to do. Instead apt shouted about a load of dependency problems that installing the new drivers would cause:
$ sudo apt install nvidia-driver-410
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.
nvidia-driver-410 : Depends: libnvidia-gl-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-dkms-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-kernel-source-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-compute-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-decode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-encode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Recommends: libnvidia-compute-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-decode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-encode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-ifr1-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.
The problems look genuine – aptitude why-not
says that the 390 drivers conflict (directly or indirectly) with just about every part of the 410 drivers. In that case:
- Do I need to uninstall the 390 drivers before I install the 410 drivers? (presumably something like
apt purge nvidia-driver-390 && apt autoremove --purge
?) - Is it safe to do so while using the Nvidia GPU? What do I do if I'm unable to install the new drivers?
drivers nvidia package-management graphics hybrid-graphics
I'm using Ubuntu 18.04 on a hybrid Nvidia laptop, with the Ubuntu-packaged Nvidia 390 drivers. I'd like to upgrade to the version 410 drivers, so I added the graphics-drivers PPA and tried to install them, since everywhere I found online suggested that that's all you need to do. Instead apt shouted about a load of dependency problems that installing the new drivers would cause:
$ sudo apt install nvidia-driver-410
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.
nvidia-driver-410 : Depends: libnvidia-gl-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-dkms-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-kernel-source-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-compute-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-decode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-encode-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: nvidia-utils-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
Recommends: libnvidia-compute-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-decode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-encode-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
Recommends: libnvidia-ifr1-410:i386 (= 410.78-0ubuntu1~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.
The problems look genuine – aptitude why-not
says that the 390 drivers conflict (directly or indirectly) with just about every part of the 410 drivers. In that case:
- Do I need to uninstall the 390 drivers before I install the 410 drivers? (presumably something like
apt purge nvidia-driver-390 && apt autoremove --purge
?) - Is it safe to do so while using the Nvidia GPU? What do I do if I'm unable to install the new drivers?
drivers nvidia package-management graphics hybrid-graphics
drivers nvidia package-management graphics hybrid-graphics
asked 9 hours ago
JoshJosh
5221419
5221419
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
- Need... No. Advisable... yes. Generally the system will first remove conflicting packages, like the old driver, before installing the new packages.
- Yes. The system will fall back to the generic driver.
What do I do if I'm unable to install the new drivers?
You install the older version again. Only real problem you could run into is a system that crashes during boot. In that case you can delete a driver from grub rescue.
If all else fails... re-install. So BEFORE you do anything you make a backup of all your personal files.
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110053%2fdo-i-have-to-remove-my-current-nvidia-drivers-before-installing-new-ones%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- Need... No. Advisable... yes. Generally the system will first remove conflicting packages, like the old driver, before installing the new packages.
- Yes. The system will fall back to the generic driver.
What do I do if I'm unable to install the new drivers?
You install the older version again. Only real problem you could run into is a system that crashes during boot. In that case you can delete a driver from grub rescue.
If all else fails... re-install. So BEFORE you do anything you make a backup of all your personal files.
add a comment |
- Need... No. Advisable... yes. Generally the system will first remove conflicting packages, like the old driver, before installing the new packages.
- Yes. The system will fall back to the generic driver.
What do I do if I'm unable to install the new drivers?
You install the older version again. Only real problem you could run into is a system that crashes during boot. In that case you can delete a driver from grub rescue.
If all else fails... re-install. So BEFORE you do anything you make a backup of all your personal files.
add a comment |
- Need... No. Advisable... yes. Generally the system will first remove conflicting packages, like the old driver, before installing the new packages.
- Yes. The system will fall back to the generic driver.
What do I do if I'm unable to install the new drivers?
You install the older version again. Only real problem you could run into is a system that crashes during boot. In that case you can delete a driver from grub rescue.
If all else fails... re-install. So BEFORE you do anything you make a backup of all your personal files.
- Need... No. Advisable... yes. Generally the system will first remove conflicting packages, like the old driver, before installing the new packages.
- Yes. The system will fall back to the generic driver.
What do I do if I'm unable to install the new drivers?
You install the older version again. Only real problem you could run into is a system that crashes during boot. In that case you can delete a driver from grub rescue.
If all else fails... re-install. So BEFORE you do anything you make a backup of all your personal files.
answered 9 hours ago
RinzwindRinzwind
205k28390526
205k28390526
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110053%2fdo-i-have-to-remove-my-current-nvidia-drivers-before-installing-new-ones%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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