Cannot install nvidia driver on brand new ubuntu installation












0















There's some problem with the nvidia drivers packages. After knocking my head against the wall with this, I did a fresh install of Ubuntu 18.04.2, installed updates, and ran:



   > sudo apt update
> sudo apt upgrade
> sudo add-apt-repository ppa:graphics-drivers/ppa
> sudo apt update
> sudo ubuntu-drivers devices
== /sys/devices/pci0000:40/0000:40:03.1/0000:43:00.0 ==
modalias : pci:v000010DEd0000128Bsv0000196Esd0000118Bbc03sc00i00
vendor : NVIDIA Corporation
model : GK208B [GeForce GT 710]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-390 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin

> sudo apt install nvidia-driver-415


And I get a broken packages problem, like so:



   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 resolve the situation:

The following packages have unmet dependencies:
nvidia-driver-415 : Depends: libnvidia-gl-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
Depends: nvidia-dkms-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
Depends: libnvidia-ifr1-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
Recommends: nvidia-settings but it is not going to be installed
Recommends: libnvidia-compute-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
Recommends: libnvidia-decode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
Recommends: libnvidia-encode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
Recommends: libnvidia-ifr1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
Recommends: libnvidia-fbc1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
Recommends: libnvidia-gl-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)



It doesn't matter which driver I choose, there's always some conflict like above.










share|improve this question



























    0















    There's some problem with the nvidia drivers packages. After knocking my head against the wall with this, I did a fresh install of Ubuntu 18.04.2, installed updates, and ran:



       > sudo apt update
    > sudo apt upgrade
    > sudo add-apt-repository ppa:graphics-drivers/ppa
    > sudo apt update
    > sudo ubuntu-drivers devices
    == /sys/devices/pci0000:40/0000:40:03.1/0000:43:00.0 ==
    modalias : pci:v000010DEd0000128Bsv0000196Esd0000118Bbc03sc00i00
    vendor : NVIDIA Corporation
    model : GK208B [GeForce GT 710]
    driver : nvidia-driver-410 - third-party free
    driver : nvidia-driver-390 - third-party free
    driver : nvidia-driver-415 - third-party free recommended
    driver : nvidia-driver-396 - third-party free
    driver : xserver-xorg-video-nouveau - distro free builtin

    > sudo apt install nvidia-driver-415


    And I get a broken packages problem, like so:



       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 resolve the situation:

    The following packages have unmet dependencies:
    nvidia-driver-415 : Depends: libnvidia-gl-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
    Depends: nvidia-dkms-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
    Depends: libnvidia-ifr1-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
    Recommends: nvidia-settings but it is not going to be installed
    Recommends: libnvidia-compute-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
    Recommends: libnvidia-decode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
    Recommends: libnvidia-encode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
    Recommends: libnvidia-ifr1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
    Recommends: libnvidia-fbc1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
    Recommends: libnvidia-gl-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)



    It doesn't matter which driver I choose, there's always some conflict like above.










    share|improve this question

























      0












      0








      0


      1






      There's some problem with the nvidia drivers packages. After knocking my head against the wall with this, I did a fresh install of Ubuntu 18.04.2, installed updates, and ran:



         > sudo apt update
      > sudo apt upgrade
      > sudo add-apt-repository ppa:graphics-drivers/ppa
      > sudo apt update
      > sudo ubuntu-drivers devices
      == /sys/devices/pci0000:40/0000:40:03.1/0000:43:00.0 ==
      modalias : pci:v000010DEd0000128Bsv0000196Esd0000118Bbc03sc00i00
      vendor : NVIDIA Corporation
      model : GK208B [GeForce GT 710]
      driver : nvidia-driver-410 - third-party free
      driver : nvidia-driver-390 - third-party free
      driver : nvidia-driver-415 - third-party free recommended
      driver : nvidia-driver-396 - third-party free
      driver : xserver-xorg-video-nouveau - distro free builtin

      > sudo apt install nvidia-driver-415


      And I get a broken packages problem, like so:



         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 resolve the situation:

      The following packages have unmet dependencies:
      nvidia-driver-415 : Depends: libnvidia-gl-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Depends: nvidia-dkms-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Depends: libnvidia-ifr1-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Recommends: nvidia-settings but it is not going to be installed
      Recommends: libnvidia-compute-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-decode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-encode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-ifr1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-fbc1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-gl-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)



      It doesn't matter which driver I choose, there's always some conflict like above.










      share|improve this question














      There's some problem with the nvidia drivers packages. After knocking my head against the wall with this, I did a fresh install of Ubuntu 18.04.2, installed updates, and ran:



         > sudo apt update
      > sudo apt upgrade
      > sudo add-apt-repository ppa:graphics-drivers/ppa
      > sudo apt update
      > sudo ubuntu-drivers devices
      == /sys/devices/pci0000:40/0000:40:03.1/0000:43:00.0 ==
      modalias : pci:v000010DEd0000128Bsv0000196Esd0000118Bbc03sc00i00
      vendor : NVIDIA Corporation
      model : GK208B [GeForce GT 710]
      driver : nvidia-driver-410 - third-party free
      driver : nvidia-driver-390 - third-party free
      driver : nvidia-driver-415 - third-party free recommended
      driver : nvidia-driver-396 - third-party free
      driver : xserver-xorg-video-nouveau - distro free builtin

      > sudo apt install nvidia-driver-415


      And I get a broken packages problem, like so:



         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 resolve the situation:

      The following packages have unmet dependencies:
      nvidia-driver-415 : Depends: libnvidia-gl-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Depends: nvidia-dkms-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Depends: libnvidia-ifr1-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed
      Recommends: nvidia-settings but it is not going to be installed
      Recommends: libnvidia-compute-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-decode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-encode-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-ifr1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-fbc1-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)
      Recommends: libnvidia-gl-415:i386 (= 415.27-0ubuntu0~gpu18.04.2)



      It doesn't matter which driver I choose, there's always some conflict like above.







      drivers apt 18.04 nvidia dependencies






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 17 at 1:13









      ZendelZendel

      1




      1






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Hm I think those are dependency problems caused by using a 3rd party mirror. Try using the official mirrors. I'm unsure if they still support your graphics card though. I think, if the old drivers need to be used, there might be kernel modules compilation problems in addition.






          share|improve this answer































            0














            I confirm I had exactly the same issue on fresh install of 18.04.2.
            Solution here helped me.



            My starting conditions:




            • After a fresh install, I had standard 390 drivers installed

            • Then I added this 3rd party PPA

            • Update to any higher version of drivers failed, with the same set of errors as yours.


            Solution from the above link:



                sudo apt-get remove --purge nvidia-*
            sudo ubuntu-drivers autoinstall


            The solution resulted in fully functional auto-install of latest 415.27 drivers.






            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%2f1118872%2fcannot-install-nvidia-driver-on-brand-new-ubuntu-installation%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









              0














              Hm I think those are dependency problems caused by using a 3rd party mirror. Try using the official mirrors. I'm unsure if they still support your graphics card though. I think, if the old drivers need to be used, there might be kernel modules compilation problems in addition.






              share|improve this answer




























                0














                Hm I think those are dependency problems caused by using a 3rd party mirror. Try using the official mirrors. I'm unsure if they still support your graphics card though. I think, if the old drivers need to be used, there might be kernel modules compilation problems in addition.






                share|improve this answer


























                  0












                  0








                  0







                  Hm I think those are dependency problems caused by using a 3rd party mirror. Try using the official mirrors. I'm unsure if they still support your graphics card though. I think, if the old drivers need to be used, there might be kernel modules compilation problems in addition.






                  share|improve this answer













                  Hm I think those are dependency problems caused by using a 3rd party mirror. Try using the official mirrors. I'm unsure if they still support your graphics card though. I think, if the old drivers need to be used, there might be kernel modules compilation problems in addition.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 17 at 5:14









                  Uwe PfeiferUwe Pfeifer

                  409




                  409

























                      0














                      I confirm I had exactly the same issue on fresh install of 18.04.2.
                      Solution here helped me.



                      My starting conditions:




                      • After a fresh install, I had standard 390 drivers installed

                      • Then I added this 3rd party PPA

                      • Update to any higher version of drivers failed, with the same set of errors as yours.


                      Solution from the above link:



                          sudo apt-get remove --purge nvidia-*
                      sudo ubuntu-drivers autoinstall


                      The solution resulted in fully functional auto-install of latest 415.27 drivers.






                      share|improve this answer




























                        0














                        I confirm I had exactly the same issue on fresh install of 18.04.2.
                        Solution here helped me.



                        My starting conditions:




                        • After a fresh install, I had standard 390 drivers installed

                        • Then I added this 3rd party PPA

                        • Update to any higher version of drivers failed, with the same set of errors as yours.


                        Solution from the above link:



                            sudo apt-get remove --purge nvidia-*
                        sudo ubuntu-drivers autoinstall


                        The solution resulted in fully functional auto-install of latest 415.27 drivers.






                        share|improve this answer


























                          0












                          0








                          0







                          I confirm I had exactly the same issue on fresh install of 18.04.2.
                          Solution here helped me.



                          My starting conditions:




                          • After a fresh install, I had standard 390 drivers installed

                          • Then I added this 3rd party PPA

                          • Update to any higher version of drivers failed, with the same set of errors as yours.


                          Solution from the above link:



                              sudo apt-get remove --purge nvidia-*
                          sudo ubuntu-drivers autoinstall


                          The solution resulted in fully functional auto-install of latest 415.27 drivers.






                          share|improve this answer













                          I confirm I had exactly the same issue on fresh install of 18.04.2.
                          Solution here helped me.



                          My starting conditions:




                          • After a fresh install, I had standard 390 drivers installed

                          • Then I added this 3rd party PPA

                          • Update to any higher version of drivers failed, with the same set of errors as yours.


                          Solution from the above link:



                              sudo apt-get remove --purge nvidia-*
                          sudo ubuntu-drivers autoinstall


                          The solution resulted in fully functional auto-install of latest 415.27 drivers.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 18 at 20:20









                          BoldosBoldos

                          1




                          1






























                              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%2f1118872%2fcannot-install-nvidia-driver-on-brand-new-ubuntu-installation%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

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido