How to resolve nvidia/mesa conflict - possibly by forcing install without overwrite?












0















As seems to happen periodically, my nvidia drivers are clashing with mesa (I think). This time the symptom is a bit different.



$ sudo apt --fix-broken autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libglx-mesa0
The following packages will be REMOVED:
libllvm6.0:i386 libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-runtime-hook x11proto-dri2-dev x11proto-gl-dev
The following packages will be upgraded:
libglx-mesa0
1 upgraded, 0 newly installed, 7 to remove and 4 not upgraded.
268 not fully installed or removed.
Need to get 0 B/134 kB of archives.
After this operation, 76.2 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 419564 files and directories currently installed.)
Preparing to unpack .../libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (18.2.2-0ubuntu1~18.04.1) over (18.0.5-0ubuntu0~18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package nvidia-396 396.44-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.


I think I'd like to be able to install this package without overwriting the files - is there a way to force this to happen? Are there other possible solutions?










share|improve this question



























    0















    As seems to happen periodically, my nvidia drivers are clashing with mesa (I think). This time the symptom is a bit different.



    $ sudo apt --fix-broken autoremove
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    libglx-mesa0
    The following packages will be REMOVED:
    libllvm6.0:i386 libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-runtime-hook x11proto-dri2-dev x11proto-gl-dev
    The following packages will be upgraded:
    libglx-mesa0
    1 upgraded, 0 newly installed, 7 to remove and 4 not upgraded.
    268 not fully installed or removed.
    Need to get 0 B/134 kB of archives.
    After this operation, 76.2 MB disk space will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database ... 419564 files and directories currently installed.)
    Preparing to unpack .../libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb ...
    Unpacking libglx-mesa0:amd64 (18.2.2-0ubuntu1~18.04.1) over (18.0.5-0ubuntu0~18.04.1) ...
    dpkg: error processing archive /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package nvidia-396 396.44-0ubuntu1
    Errors were encountered while processing:
    /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.


    I think I'd like to be able to install this package without overwriting the files - is there a way to force this to happen? Are there other possible solutions?










    share|improve this question

























      0












      0








      0








      As seems to happen periodically, my nvidia drivers are clashing with mesa (I think). This time the symptom is a bit different.



      $ sudo apt --fix-broken autoremove
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following additional packages will be installed:
      libglx-mesa0
      The following packages will be REMOVED:
      libllvm6.0:i386 libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-runtime-hook x11proto-dri2-dev x11proto-gl-dev
      The following packages will be upgraded:
      libglx-mesa0
      1 upgraded, 0 newly installed, 7 to remove and 4 not upgraded.
      268 not fully installed or removed.
      Need to get 0 B/134 kB of archives.
      After this operation, 76.2 MB disk space will be freed.
      Do you want to continue? [Y/n] Y
      (Reading database ... 419564 files and directories currently installed.)
      Preparing to unpack .../libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb ...
      Unpacking libglx-mesa0:amd64 (18.2.2-0ubuntu1~18.04.1) over (18.0.5-0ubuntu0~18.04.1) ...
      dpkg: error processing archive /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package nvidia-396 396.44-0ubuntu1
      Errors were encountered while processing:
      /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.


      I think I'd like to be able to install this package without overwriting the files - is there a way to force this to happen? Are there other possible solutions?










      share|improve this question














      As seems to happen periodically, my nvidia drivers are clashing with mesa (I think). This time the symptom is a bit different.



      $ sudo apt --fix-broken autoremove
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following additional packages will be installed:
      libglx-mesa0
      The following packages will be REMOVED:
      libllvm6.0:i386 libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-runtime-hook x11proto-dri2-dev x11proto-gl-dev
      The following packages will be upgraded:
      libglx-mesa0
      1 upgraded, 0 newly installed, 7 to remove and 4 not upgraded.
      268 not fully installed or removed.
      Need to get 0 B/134 kB of archives.
      After this operation, 76.2 MB disk space will be freed.
      Do you want to continue? [Y/n] Y
      (Reading database ... 419564 files and directories currently installed.)
      Preparing to unpack .../libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb ...
      Unpacking libglx-mesa0:amd64 (18.2.2-0ubuntu1~18.04.1) over (18.0.5-0ubuntu0~18.04.1) ...
      dpkg: error processing archive /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.04.1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package nvidia-396 396.44-0ubuntu1
      Errors were encountered while processing:
      /var/cache/apt/archives/libglx-mesa0_18.2.2-0ubuntu1~18.


      I think I'd like to be able to install this package without overwriting the files - is there a way to force this to happen? Are there other possible solutions?







      apt nvidia dpkg mesa






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 2 at 15:48









      bbarkerbbarker

      1214




      1214






















          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%2f1115009%2fhow-to-resolve-nvidia-mesa-conflict-possibly-by-forcing-install-without-overwr%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%2f1115009%2fhow-to-resolve-nvidia-mesa-conflict-possibly-by-forcing-install-without-overwr%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?

          張江高科駅