PPA installed driver 396.24 is causing CUDA 9.2 installation error












5















During installation of CUDA 9.2 on my Ubuntu 18.04 desktop machine it reports an error on finding the already installed driver 396.24 I got from PPA. It is trying to install driver 396.26. How can I get rid of the 396.24? I have tried several times using various syntaxes of remove or purge, but I'm obviously not expert enough to get it right.



This is the text of the error message:



Unpacking nvidia-396 (396.26-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-396 396.24-0ubuntu0~gpu18.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question





























    5















    During installation of CUDA 9.2 on my Ubuntu 18.04 desktop machine it reports an error on finding the already installed driver 396.24 I got from PPA. It is trying to install driver 396.26. How can I get rid of the 396.24? I have tried several times using various syntaxes of remove or purge, but I'm obviously not expert enough to get it right.



    This is the text of the error message:



    Unpacking nvidia-396 (396.26-0ubuntu1) ...
    dpkg: error processing archive /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb (--unpack):
    trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-396 396.24-0ubuntu0~gpu18.04.1
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)









    share|improve this question



























      5












      5








      5


      2






      During installation of CUDA 9.2 on my Ubuntu 18.04 desktop machine it reports an error on finding the already installed driver 396.24 I got from PPA. It is trying to install driver 396.26. How can I get rid of the 396.24? I have tried several times using various syntaxes of remove or purge, but I'm obviously not expert enough to get it right.



      This is the text of the error message:



      Unpacking nvidia-396 (396.26-0ubuntu1) ...
      dpkg: error processing archive /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb (--unpack):
      trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-396 396.24-0ubuntu0~gpu18.04.1
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)









      share|improve this question
















      During installation of CUDA 9.2 on my Ubuntu 18.04 desktop machine it reports an error on finding the already installed driver 396.24 I got from PPA. It is trying to install driver 396.26. How can I get rid of the 396.24? I have tried several times using various syntaxes of remove or purge, but I'm obviously not expert enough to get it right.



      This is the text of the error message:



      Unpacking nvidia-396 (396.26-0ubuntu1) ...
      dpkg: error processing archive /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb (--unpack):
      trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-396 396.24-0ubuntu0~gpu18.04.1
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)






      drivers ppa cuda






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 21 '18 at 15:36









      Thomas

      3,86681527




      3,86681527










      asked May 21 '18 at 15:21









      DeepExplorerDeepExplorer

      3614




      3614






















          3 Answers
          3






          active

          oldest

          votes


















          6














          I ran into the same problem, and fixed it by doing this:





          1. Fix the broken package



            sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb



          2. Reinstall the whole thing while passing the --force-overwrite option to the underlying Dpkg when running the install command (based on this answer)



            sudo apt-get -o Dpkg::Options::="--force-overwrite" install cuda







          share|improve this answer



















          • 2





            Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

            – DeepExplorer
            May 24 '18 at 9:45











          • I tried that and it still does not work

            – thebeancounter
            May 24 '18 at 12:27











          • @thebeancounter At which step does it fail? What error message are you getting?

            – Alexandre Godard
            May 24 '18 at 14:21











          • @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

            – thebeancounter
            May 24 '18 at 18:31













          • I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

            – Ivar
            Jun 30 '18 at 20:29





















          1














          There was a prerelease build of 396.26 on an ubuntu launchpad.net ppa, and I was able to successfully build and run CUDA 9.2 from that. The package is no longer on that ppa, which belonged to an individual. Hopefully it will get pushed forward.






          share|improve this answer
























          • That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

            – B Student
            May 23 '18 at 8:30











          • 396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

            – DeepExplorer
            May 23 '18 at 21:01











          • It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

            – B Student
            May 24 '18 at 5:02











          • Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

            – DeepExplorer
            May 24 '18 at 9:50



















          0














          The Alexabdre Godardn's answer doesn't work for me.

          I fix this issue only with this:



          sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken





          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%2f1038738%2fppa-installed-driver-396-24-is-causing-cuda-9-2-installation-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            6














            I ran into the same problem, and fixed it by doing this:





            1. Fix the broken package



              sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb



            2. Reinstall the whole thing while passing the --force-overwrite option to the underlying Dpkg when running the install command (based on this answer)



              sudo apt-get -o Dpkg::Options::="--force-overwrite" install cuda







            share|improve this answer



















            • 2





              Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

              – DeepExplorer
              May 24 '18 at 9:45











            • I tried that and it still does not work

              – thebeancounter
              May 24 '18 at 12:27











            • @thebeancounter At which step does it fail? What error message are you getting?

              – Alexandre Godard
              May 24 '18 at 14:21











            • @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

              – thebeancounter
              May 24 '18 at 18:31













            • I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

              – Ivar
              Jun 30 '18 at 20:29


















            6














            I ran into the same problem, and fixed it by doing this:





            1. Fix the broken package



              sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb



            2. Reinstall the whole thing while passing the --force-overwrite option to the underlying Dpkg when running the install command (based on this answer)



              sudo apt-get -o Dpkg::Options::="--force-overwrite" install cuda







            share|improve this answer



















            • 2





              Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

              – DeepExplorer
              May 24 '18 at 9:45











            • I tried that and it still does not work

              – thebeancounter
              May 24 '18 at 12:27











            • @thebeancounter At which step does it fail? What error message are you getting?

              – Alexandre Godard
              May 24 '18 at 14:21











            • @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

              – thebeancounter
              May 24 '18 at 18:31













            • I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

              – Ivar
              Jun 30 '18 at 20:29
















            6












            6








            6







            I ran into the same problem, and fixed it by doing this:





            1. Fix the broken package



              sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb



            2. Reinstall the whole thing while passing the --force-overwrite option to the underlying Dpkg when running the install command (based on this answer)



              sudo apt-get -o Dpkg::Options::="--force-overwrite" install cuda







            share|improve this answer













            I ran into the same problem, and fixed it by doing this:





            1. Fix the broken package



              sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb



            2. Reinstall the whole thing while passing the --force-overwrite option to the underlying Dpkg when running the install command (based on this answer)



              sudo apt-get -o Dpkg::Options::="--force-overwrite" install cuda








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 24 '18 at 3:28









            Alexandre GodardAlexandre Godard

            613




            613








            • 2





              Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

              – DeepExplorer
              May 24 '18 at 9:45











            • I tried that and it still does not work

              – thebeancounter
              May 24 '18 at 12:27











            • @thebeancounter At which step does it fail? What error message are you getting?

              – Alexandre Godard
              May 24 '18 at 14:21











            • @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

              – thebeancounter
              May 24 '18 at 18:31













            • I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

              – Ivar
              Jun 30 '18 at 20:29
















            • 2





              Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

              – DeepExplorer
              May 24 '18 at 9:45











            • I tried that and it still does not work

              – thebeancounter
              May 24 '18 at 12:27











            • @thebeancounter At which step does it fail? What error message are you getting?

              – Alexandre Godard
              May 24 '18 at 14:21











            • @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

              – thebeancounter
              May 24 '18 at 18:31













            • I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

              – Ivar
              Jun 30 '18 at 20:29










            2




            2





            Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

            – DeepExplorer
            May 24 '18 at 9:45





            Thank you so much Alexandre, that force overwrite worked perfectly! I can now move on to the next stage of installing the Deep Learning package CUDNN

            – DeepExplorer
            May 24 '18 at 9:45













            I tried that and it still does not work

            – thebeancounter
            May 24 '18 at 12:27





            I tried that and it still does not work

            – thebeancounter
            May 24 '18 at 12:27













            @thebeancounter At which step does it fail? What error message are you getting?

            – Alexandre Godard
            May 24 '18 at 14:21





            @thebeancounter At which step does it fail? What error message are you getting?

            – Alexandre Godard
            May 24 '18 at 14:21













            @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

            – thebeancounter
            May 24 '18 at 18:31







            @the second stage failes, with the error: The following packages have unmet dependencies. cuda-drivers : Depends: nvidia-396 (>= 396.26) but it is not going to be installed libcuda1-396 : Depends: nvidia-396 (note: same) nvidia-396-dev : Depends: nvidia-396 (>= 396.26) but it is not going to be installed nvidia-opencl-icd-396 : Depends: nvidia-396 (>= 396.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). when I try to use --fix-broken i get: dpkg returned an error code (1)

            – thebeancounter
            May 24 '18 at 18:31















            I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

            – Ivar
            Jun 30 '18 at 20:29







            I have the same issue but I'm stuck on step 1 of this solution: ~$ sudo dpkg -i --force-overwrite /var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb dpkg: error: cannot access archive '/var/cuda-repo-9-2-local/./nvidia-396_396.26-0ubuntu1_amd64.deb': No such file or directory. So the deb file doesn't exist locally, is that to be expected? I've been using the Cuda package from developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/…

            – Ivar
            Jun 30 '18 at 20:29















            1














            There was a prerelease build of 396.26 on an ubuntu launchpad.net ppa, and I was able to successfully build and run CUDA 9.2 from that. The package is no longer on that ppa, which belonged to an individual. Hopefully it will get pushed forward.






            share|improve this answer
























            • That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

              – B Student
              May 23 '18 at 8:30











            • 396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

              – DeepExplorer
              May 23 '18 at 21:01











            • It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

              – B Student
              May 24 '18 at 5:02











            • Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

              – DeepExplorer
              May 24 '18 at 9:50
















            1














            There was a prerelease build of 396.26 on an ubuntu launchpad.net ppa, and I was able to successfully build and run CUDA 9.2 from that. The package is no longer on that ppa, which belonged to an individual. Hopefully it will get pushed forward.






            share|improve this answer
























            • That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

              – B Student
              May 23 '18 at 8:30











            • 396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

              – DeepExplorer
              May 23 '18 at 21:01











            • It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

              – B Student
              May 24 '18 at 5:02











            • Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

              – DeepExplorer
              May 24 '18 at 9:50














            1












            1








            1







            There was a prerelease build of 396.26 on an ubuntu launchpad.net ppa, and I was able to successfully build and run CUDA 9.2 from that. The package is no longer on that ppa, which belonged to an individual. Hopefully it will get pushed forward.






            share|improve this answer













            There was a prerelease build of 396.26 on an ubuntu launchpad.net ppa, and I was able to successfully build and run CUDA 9.2 from that. The package is no longer on that ppa, which belonged to an individual. Hopefully it will get pushed forward.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 23 '18 at 8:27









            B StudentB Student

            213




            213













            • That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

              – B Student
              May 23 '18 at 8:30











            • 396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

              – DeepExplorer
              May 23 '18 at 21:01











            • It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

              – B Student
              May 24 '18 at 5:02











            • Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

              – DeepExplorer
              May 24 '18 at 9:50



















            • That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

              – B Student
              May 23 '18 at 8:30











            • 396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

              – DeepExplorer
              May 23 '18 at 21:01











            • It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

              – B Student
              May 24 '18 at 5:02











            • Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

              – DeepExplorer
              May 24 '18 at 9:50

















            That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

            – B Student
            May 23 '18 at 8:30





            That is to say, if you can get the ppa build of 396.26, and install it, and then use the deb(network) 9.2 installer, perform the first three steps, but then perform the final install with synaptic, it will work.

            – B Student
            May 23 '18 at 8:30













            396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

            – DeepExplorer
            May 23 '18 at 21:01





            396.26 is pre-built into CUDA 9.2, so it should install automatically. But mine hits the 396.24 I installed previously and fails with error. Do you know how in Ubuntu to de-install the PPA driver 396.24?

            – DeepExplorer
            May 23 '18 at 21:01













            It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

            – B Student
            May 24 '18 at 5:02





            It's not a matter of 396.26 /396.24 per se - roll back to 390 and the same thing happens. It's because ubuntu has their own packaging of nvidia drivers, and it is the various interdependencies that conflict with nvidia's packaging. Why? Because somewhere out there are people using open source graphics programs that depend on features found only in the open-source nouveau nvidia driver and its ecosystem - the same way that scientific / machine-learning types use CUDA, which depends on the very-metal nvidia drivers. So the o/s graphics person is screwed if Ubuntu uses all nvidia drivers.

            – B Student
            May 24 '18 at 5:02













            Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

            – DeepExplorer
            May 24 '18 at 9:50





            Thanks for your comment B Student - understood! I am new and am just getting used to this environment of suppliers and their brands.

            – DeepExplorer
            May 24 '18 at 9:50











            0














            The Alexabdre Godardn's answer doesn't work for me.

            I fix this issue only with this:



            sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken





            share|improve this answer






























              0














              The Alexabdre Godardn's answer doesn't work for me.

              I fix this issue only with this:



              sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken





              share|improve this answer




























                0












                0








                0







                The Alexabdre Godardn's answer doesn't work for me.

                I fix this issue only with this:



                sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken





                share|improve this answer















                The Alexabdre Godardn's answer doesn't work for me.

                I fix this issue only with this:



                sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 18 at 16:31









                Mr Shunz

                2,49121922




                2,49121922










                answered Feb 18 at 13:45









                mrmailpersonmrmailperson

                32




                32






























                    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%2f1038738%2fppa-installed-driver-396-24-is-causing-cuda-9-2-installation-error%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

                    Mouse cursor on multiple screens with different PPI

                    Agildo Ribeiro

                    Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”