Is it alright that the nvidia drivers from PPA depend on xserver-xorg-core?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















$ 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: xserver-xorg-video-nvidia-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Recursively digging into depended packages (starting from xserver-xorg-video-nvidia-xxx for me), it finally ends in xserver-xorg-core. But I don't feel like any of the packages of that group is needed at all.



This is a fresh Ubuntu 18.04 LTS installation, nothing was done to the system except adding the graphics-drivers PPA. Neither of apt install -f, apt install --fix-broken, dpkg --get-selections | grep hold spotted any mistakes










share|improve this question





























    1















    $ 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: xserver-xorg-video-nvidia-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


    Recursively digging into depended packages (starting from xserver-xorg-video-nvidia-xxx for me), it finally ends in xserver-xorg-core. But I don't feel like any of the packages of that group is needed at all.



    This is a fresh Ubuntu 18.04 LTS installation, nothing was done to the system except adding the graphics-drivers PPA. Neither of apt install -f, apt install --fix-broken, dpkg --get-selections | grep hold spotted any mistakes










    share|improve this question

























      1












      1








      1








      $ 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: xserver-xorg-video-nvidia-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      Recursively digging into depended packages (starting from xserver-xorg-video-nvidia-xxx for me), it finally ends in xserver-xorg-core. But I don't feel like any of the packages of that group is needed at all.



      This is a fresh Ubuntu 18.04 LTS installation, nothing was done to the system except adding the graphics-drivers PPA. Neither of apt install -f, apt install --fix-broken, dpkg --get-selections | grep hold spotted any mistakes










      share|improve this question














      $ 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: xserver-xorg-video-nvidia-410 (= 410.78-0ubuntu1~gpu18.04.1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      Recursively digging into depended packages (starting from xserver-xorg-video-nvidia-xxx for me), it finally ends in xserver-xorg-core. But I don't feel like any of the packages of that group is needed at all.



      This is a fresh Ubuntu 18.04 LTS installation, nothing was done to the system except adding the graphics-drivers PPA. Neither of apt install -f, apt install --fix-broken, dpkg --get-selections | grep hold spotted any mistakes







      drivers nvidia xorg






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 14:35









      xt1zerxt1zer

      839




      839






















          2 Answers
          2






          active

          oldest

          votes


















          2














          It is alright.



          xserver-xorg-core is the service to render your desktop.
          xserver-xorg-video-nvidia-410 will provide optimized hardware acceleration for your X Server.



          X Server is pre-installed under Ubuntu, if you look at the default packages of Ubuntu 18.04.2.






          share|improve this answer
























          • Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

            – xt1zer
            Feb 15 at 18:41











          • Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

            – Jesse
            Feb 15 at 20:05











          • Not only 390 as in the bug report, but also 410 and 415 were fixed.

            – Jesse
            Feb 15 at 20:19











          • This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

            – Zhanwen Chen
            Mar 24 at 20:26



















          0














          It's definitely NOT alright. It's dangerous.



          Installing xserver-xorg-core requires ubuntu-desktop, xserver-xorg-core-hwe-18.04, and basically every other essential graphics package to be removed. The consequence would be a permanent black screen. I encountered the same problem while installing CUDA 10.1.



          I found a solution: use the graphics-drivers ppa version of nvidia-driver-418 instead of the default one. This version does not depend on xserver-xorg-core and should not cause a black screen. Do the following (after a reboot):



          sudo add-apt-repository ppa:graphics-drivers/ppa
          sudo apt-get update
          sudo apt-get install nvidia-driver-418


          After a reboot, you should be able to use nvidia-smi and follow the original CUDA 10.1 .deb (local) instructions if you are also installing CUDA.






          share|improve this answer
























            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%2f1118524%2fis-it-alright-that-the-nvidia-drivers-from-ppa-depend-on-xserver-xorg-core%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            It is alright.



            xserver-xorg-core is the service to render your desktop.
            xserver-xorg-video-nvidia-410 will provide optimized hardware acceleration for your X Server.



            X Server is pre-installed under Ubuntu, if you look at the default packages of Ubuntu 18.04.2.






            share|improve this answer
























            • Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

              – xt1zer
              Feb 15 at 18:41











            • Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

              – Jesse
              Feb 15 at 20:05











            • Not only 390 as in the bug report, but also 410 and 415 were fixed.

              – Jesse
              Feb 15 at 20:19











            • This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

              – Zhanwen Chen
              Mar 24 at 20:26
















            2














            It is alright.



            xserver-xorg-core is the service to render your desktop.
            xserver-xorg-video-nvidia-410 will provide optimized hardware acceleration for your X Server.



            X Server is pre-installed under Ubuntu, if you look at the default packages of Ubuntu 18.04.2.






            share|improve this answer
























            • Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

              – xt1zer
              Feb 15 at 18:41











            • Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

              – Jesse
              Feb 15 at 20:05











            • Not only 390 as in the bug report, but also 410 and 415 were fixed.

              – Jesse
              Feb 15 at 20:19











            • This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

              – Zhanwen Chen
              Mar 24 at 20:26














            2












            2








            2







            It is alright.



            xserver-xorg-core is the service to render your desktop.
            xserver-xorg-video-nvidia-410 will provide optimized hardware acceleration for your X Server.



            X Server is pre-installed under Ubuntu, if you look at the default packages of Ubuntu 18.04.2.






            share|improve this answer













            It is alright.



            xserver-xorg-core is the service to render your desktop.
            xserver-xorg-video-nvidia-410 will provide optimized hardware acceleration for your X Server.



            X Server is pre-installed under Ubuntu, if you look at the default packages of Ubuntu 18.04.2.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 15 at 18:37









            JesseJesse

            484




            484













            • Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

              – xt1zer
              Feb 15 at 18:41











            • Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

              – Jesse
              Feb 15 at 20:05











            • Not only 390 as in the bug report, but also 410 and 415 were fixed.

              – Jesse
              Feb 15 at 20:19











            • This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

              – Zhanwen Chen
              Mar 24 at 20:26



















            • Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

              – xt1zer
              Feb 15 at 18:41











            • Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

              – Jesse
              Feb 15 at 20:05











            • Not only 390 as in the bug report, but also 410 and 415 were fixed.

              – Jesse
              Feb 15 at 20:19











            • This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

              – Zhanwen Chen
              Mar 24 at 20:26

















            Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

            – xt1zer
            Feb 15 at 18:41





            Sounds fair, but why doesn't the same happen if I install the latest driver given by the official repo (nvidia-390 currently, and to avoid the same dependency message, I need to install nvidia-driver-390)?

            – xt1zer
            Feb 15 at 18:41













            Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

            – Jesse
            Feb 15 at 20:05





            Seems the graphics-drivers PPA was not up to date for the new hwe kernel. It got fixed some hours ago, try apt update and nvidia-driver-410 again. bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/…

            – Jesse
            Feb 15 at 20:05













            Not only 390 as in the bug report, but also 410 and 415 were fixed.

            – Jesse
            Feb 15 at 20:19





            Not only 390 as in the bug report, but also 410 and 415 were fixed.

            – Jesse
            Feb 15 at 20:19













            This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

            – Zhanwen Chen
            Mar 24 at 20:26





            This is NOT OK! As of writing, installing xserver-xorg-core directly will remove ubuntu-desktop, xserver-xorg-core-hwe-18.04, and every other graphics package and give you a permanent black screen after logging in.

            – Zhanwen Chen
            Mar 24 at 20:26













            0














            It's definitely NOT alright. It's dangerous.



            Installing xserver-xorg-core requires ubuntu-desktop, xserver-xorg-core-hwe-18.04, and basically every other essential graphics package to be removed. The consequence would be a permanent black screen. I encountered the same problem while installing CUDA 10.1.



            I found a solution: use the graphics-drivers ppa version of nvidia-driver-418 instead of the default one. This version does not depend on xserver-xorg-core and should not cause a black screen. Do the following (after a reboot):



            sudo add-apt-repository ppa:graphics-drivers/ppa
            sudo apt-get update
            sudo apt-get install nvidia-driver-418


            After a reboot, you should be able to use nvidia-smi and follow the original CUDA 10.1 .deb (local) instructions if you are also installing CUDA.






            share|improve this answer




























              0














              It's definitely NOT alright. It's dangerous.



              Installing xserver-xorg-core requires ubuntu-desktop, xserver-xorg-core-hwe-18.04, and basically every other essential graphics package to be removed. The consequence would be a permanent black screen. I encountered the same problem while installing CUDA 10.1.



              I found a solution: use the graphics-drivers ppa version of nvidia-driver-418 instead of the default one. This version does not depend on xserver-xorg-core and should not cause a black screen. Do the following (after a reboot):



              sudo add-apt-repository ppa:graphics-drivers/ppa
              sudo apt-get update
              sudo apt-get install nvidia-driver-418


              After a reboot, you should be able to use nvidia-smi and follow the original CUDA 10.1 .deb (local) instructions if you are also installing CUDA.






              share|improve this answer


























                0












                0








                0







                It's definitely NOT alright. It's dangerous.



                Installing xserver-xorg-core requires ubuntu-desktop, xserver-xorg-core-hwe-18.04, and basically every other essential graphics package to be removed. The consequence would be a permanent black screen. I encountered the same problem while installing CUDA 10.1.



                I found a solution: use the graphics-drivers ppa version of nvidia-driver-418 instead of the default one. This version does not depend on xserver-xorg-core and should not cause a black screen. Do the following (after a reboot):



                sudo add-apt-repository ppa:graphics-drivers/ppa
                sudo apt-get update
                sudo apt-get install nvidia-driver-418


                After a reboot, you should be able to use nvidia-smi and follow the original CUDA 10.1 .deb (local) instructions if you are also installing CUDA.






                share|improve this answer













                It's definitely NOT alright. It's dangerous.



                Installing xserver-xorg-core requires ubuntu-desktop, xserver-xorg-core-hwe-18.04, and basically every other essential graphics package to be removed. The consequence would be a permanent black screen. I encountered the same problem while installing CUDA 10.1.



                I found a solution: use the graphics-drivers ppa version of nvidia-driver-418 instead of the default one. This version does not depend on xserver-xorg-core and should not cause a black screen. Do the following (after a reboot):



                sudo add-apt-repository ppa:graphics-drivers/ppa
                sudo apt-get update
                sudo apt-get install nvidia-driver-418


                After a reboot, you should be able to use nvidia-smi and follow the original CUDA 10.1 .deb (local) instructions if you are also installing CUDA.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 24 at 20:24









                Zhanwen ChenZhanwen Chen

                8113




                8113






























                    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%2f1118524%2fis-it-alright-that-the-nvidia-drivers-from-ppa-depend-on-xserver-xorg-core%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

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    File:DeusFollowingSea.jpg