issues with DKMS while installing nvidia drivers on ubuntu 16.04












0















I am new to the linux ecosystem. I am unable to install nvidia drivers. I tried installing version 415. But I am not able to understand the error due to lack of knowledge. I have tried the following commands.



sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-396


I got the following error( sorry I can only post pictures.)
error screenshot



I am also not able to login into my account and coming back to the login screen after putting the login credentials. I would appreciate your advice on this. Thank you.










share|improve this question

























  • Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

    – Terrance
    4 hours ago













  • yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

    – prb
    3 hours ago











  • nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

    – Terrance
    3 hours ago













  • Thanks @Terrance . I just followed the post on askubuntu

    – prb
    3 hours ago











  • @Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

    – prb
    3 hours ago
















0















I am new to the linux ecosystem. I am unable to install nvidia drivers. I tried installing version 415. But I am not able to understand the error due to lack of knowledge. I have tried the following commands.



sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-396


I got the following error( sorry I can only post pictures.)
error screenshot



I am also not able to login into my account and coming back to the login screen after putting the login credentials. I would appreciate your advice on this. Thank you.










share|improve this question

























  • Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

    – Terrance
    4 hours ago













  • yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

    – prb
    3 hours ago











  • nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

    – Terrance
    3 hours ago













  • Thanks @Terrance . I just followed the post on askubuntu

    – prb
    3 hours ago











  • @Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

    – prb
    3 hours ago














0












0








0








I am new to the linux ecosystem. I am unable to install nvidia drivers. I tried installing version 415. But I am not able to understand the error due to lack of knowledge. I have tried the following commands.



sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-396


I got the following error( sorry I can only post pictures.)
error screenshot



I am also not able to login into my account and coming back to the login screen after putting the login credentials. I would appreciate your advice on this. Thank you.










share|improve this question
















I am new to the linux ecosystem. I am unable to install nvidia drivers. I tried installing version 415. But I am not able to understand the error due to lack of knowledge. I have tried the following commands.



sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-396


I got the following error( sorry I can only post pictures.)
error screenshot



I am also not able to login into my account and coming back to the login screen after putting the login credentials. I would appreciate your advice on this. Thank you.







16.04 drivers nvidia login






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago







prb

















asked 4 hours ago









prbprb

11




11













  • Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

    – Terrance
    4 hours ago













  • yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

    – prb
    3 hours ago











  • nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

    – Terrance
    3 hours ago













  • Thanks @Terrance . I just followed the post on askubuntu

    – prb
    3 hours ago











  • @Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

    – prb
    3 hours ago



















  • Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

    – Terrance
    4 hours ago













  • yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

    – prb
    3 hours ago











  • nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

    – Terrance
    3 hours ago













  • Thanks @Terrance . I just followed the post on askubuntu

    – prb
    3 hours ago











  • @Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

    – prb
    3 hours ago

















Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

– Terrance
4 hours ago







Did you try to remove the nvidia-driver-396 or nvidia-396 first before installing the nvidia-driver-415? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver.

– Terrance
4 hours ago















yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

– prb
3 hours ago





yes. Sorry by mistake I wrote 415 . But I deleted the previous version before installing the new.

– prb
3 hours ago













nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

– Terrance
3 hours ago







nvidia-396 is the incorrect name for the install from the PPA. It is nvidia-driver-396 for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect.

– Terrance
3 hours ago















Thanks @Terrance . I just followed the post on askubuntu

– prb
3 hours ago





Thanks @Terrance . I just followed the post on askubuntu

– prb
3 hours ago













@Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

– prb
3 hours ago





@Terrance i tried with sudo apt install nvidia-driver-396 . But it is unable to locate the package nvidia-driver-396

– prb
3 hours ago










0






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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121295%2fissues-with-dkms-while-installing-nvidia-drivers-on-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121295%2fissues-with-dkms-while-installing-nvidia-drivers-on-ubuntu-16-04%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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局