cuda unmet libraries but not going to be installed












1















I run into problems with cuda/nvida installation dependencies. Here's my nvcc --version



$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17



I'm effectively running cuda 9.0 and 10.1, in separate paths, no problems with the functioning of those versions. But problems arise when trying to do sudo apt-get install <anything>. I get unmet dependencies (particularly with libcublas) and get suggestions for sudo apt-get install -f.



I tried sudo apt-get install -f as suggested but errors boil down to:



dpkg: error processing archive /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package nvidia-cuda-dev 7.5.18-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



I can't run sudo apt-get upgrade or apt-get install ANYHTING.



I can't remove installations either.



The thread is similar to this one https://devtalk.nvidia.com/default/topic/1048225/issues-after-installing-cuda-10-/?offset=5



But I can't solve it either by removing/purging.










share|improve this question



























    1















    I run into problems with cuda/nvida installation dependencies. Here's my nvcc --version



    $ nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2015 NVIDIA Corporation
    Built on Tue_Aug_11_14:27:32_CDT_2015
    Cuda compilation tools, release 7.5, V7.5.17



    I'm effectively running cuda 9.0 and 10.1, in separate paths, no problems with the functioning of those versions. But problems arise when trying to do sudo apt-get install <anything>. I get unmet dependencies (particularly with libcublas) and get suggestions for sudo apt-get install -f.



    I tried sudo apt-get install -f as suggested but errors boil down to:



    dpkg: error processing archive /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package nvidia-cuda-dev 7.5.18-0ubuntu1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)



    I can't run sudo apt-get upgrade or apt-get install ANYHTING.



    I can't remove installations either.



    The thread is similar to this one https://devtalk.nvidia.com/default/topic/1048225/issues-after-installing-cuda-10-/?offset=5



    But I can't solve it either by removing/purging.










    share|improve this question

























      1












      1








      1








      I run into problems with cuda/nvida installation dependencies. Here's my nvcc --version



      $ nvcc --version
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2015 NVIDIA Corporation
      Built on Tue_Aug_11_14:27:32_CDT_2015
      Cuda compilation tools, release 7.5, V7.5.17



      I'm effectively running cuda 9.0 and 10.1, in separate paths, no problems with the functioning of those versions. But problems arise when trying to do sudo apt-get install <anything>. I get unmet dependencies (particularly with libcublas) and get suggestions for sudo apt-get install -f.



      I tried sudo apt-get install -f as suggested but errors boil down to:



      dpkg: error processing archive /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package nvidia-cuda-dev 7.5.18-0ubuntu1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)



      I can't run sudo apt-get upgrade or apt-get install ANYHTING.



      I can't remove installations either.



      The thread is similar to this one https://devtalk.nvidia.com/default/topic/1048225/issues-after-installing-cuda-10-/?offset=5



      But I can't solve it either by removing/purging.










      share|improve this question














      I run into problems with cuda/nvida installation dependencies. Here's my nvcc --version



      $ nvcc --version
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2015 NVIDIA Corporation
      Built on Tue_Aug_11_14:27:32_CDT_2015
      Cuda compilation tools, release 7.5, V7.5.17



      I'm effectively running cuda 9.0 and 10.1, in separate paths, no problems with the functioning of those versions. But problems arise when trying to do sudo apt-get install <anything>. I get unmet dependencies (particularly with libcublas) and get suggestions for sudo apt-get install -f.



      I tried sudo apt-get install -f as suggested but errors boil down to:



      dpkg: error processing archive /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package nvidia-cuda-dev 7.5.18-0ubuntu1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)



      I can't run sudo apt-get upgrade or apt-get install ANYHTING.



      I can't remove installations either.



      The thread is similar to this one https://devtalk.nvidia.com/default/topic/1048225/issues-after-installing-cuda-10-/?offset=5



      But I can't solve it either by removing/purging.







      nvidia dpkg cuda






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 14 at 22:05









      Matias AndinaMatias Andina

      1062




      1062






















          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%2f1125766%2fcuda-unmet-libraries-but-not-going-to-be-installed%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%2f1125766%2fcuda-unmet-libraries-but-not-going-to-be-installed%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

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]