E: Sub-process /usr/bin/dpkg returned an error code (1) with libgimp3.0











up vote
0
down vote

favorite












I'm getting the above error when I try and update my system.



I have tried to sudo dpkg --configure -a as well as sudo apt install -f gimp, sudo apt remove gimp and sudo apt purge gimp. I even tried to do the recommended sudo apt --fix-broken install via Recovery to no avail.



Due to being super frustrated and after some searching, I even tried to sudo mv /var/lib/dpkg/info/polar-bookshelf.* /tmp but I'm still seeing no joy in getting this fixed. Can someone suggest a solution please?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I'm getting the above error when I try and update my system.



    I have tried to sudo dpkg --configure -a as well as sudo apt install -f gimp, sudo apt remove gimp and sudo apt purge gimp. I even tried to do the recommended sudo apt --fix-broken install via Recovery to no avail.



    Due to being super frustrated and after some searching, I even tried to sudo mv /var/lib/dpkg/info/polar-bookshelf.* /tmp but I'm still seeing no joy in getting this fixed. Can someone suggest a solution please?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm getting the above error when I try and update my system.



      I have tried to sudo dpkg --configure -a as well as sudo apt install -f gimp, sudo apt remove gimp and sudo apt purge gimp. I even tried to do the recommended sudo apt --fix-broken install via Recovery to no avail.



      Due to being super frustrated and after some searching, I even tried to sudo mv /var/lib/dpkg/info/polar-bookshelf.* /tmp but I'm still seeing no joy in getting this fixed. Can someone suggest a solution please?










      share|improve this question













      I'm getting the above error when I try and update my system.



      I have tried to sudo dpkg --configure -a as well as sudo apt install -f gimp, sudo apt remove gimp and sudo apt purge gimp. I even tried to do the recommended sudo apt --fix-broken install via Recovery to no avail.



      Due to being super frustrated and after some searching, I even tried to sudo mv /var/lib/dpkg/info/polar-bookshelf.* /tmp but I'm still seeing no joy in getting this fixed. Can someone suggest a solution please?







      package-management software-installation dpkg gimp 18.10






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 15:03









      sabret00the

      135111




      135111






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          In terminal type sudo gedit /var/lib/dpkg/info/gimp.postinst



          Then find set -e and replace it with # set -e, save and close.



          Then type sudo apt-get -f install



          Before sudo apt update



          And finally sudo apt upgrade



          The issue should be fixed.






          share|improve this answer

















          • 1




            Fine but what was the actual problem?
            – xenoid
            Nov 12 at 12:20


















          up vote
          0
          down vote













          The cause of this error is:




          1. gimp2.99 as a development version try to update gimp2.0 to gimp3.0 recently.

          2. But there is a dependency of libgimp2.0 to sane and gimp-gmic (if you have installed them), so that in the coarse of update, gimp2.99 cannot remove libgimp2.0 and caused the problem.

          3. If you want to test the development version of gimp for the gimp team, you may want to have libgimp3.0. To achieve this, first purge gimp and then remove libgimp2.0 together with gimp-gmic and sane (you can only do this if you do not need them) .Reinstall libgimp3.0 and gimp then.

          4. I believe you won't have libgimp3.0 installed with former solution and you may have difficulty in updating gimp 2.99 in the future

          5. If you need gmic very much while you like gtk3 of 2.99, do 4. and then download and run gimp appimage 2.10.8 with plugin. Then you can have both development version and stable version + plugin on your platform. this is what i do.






          share|improve this answer








          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
            – sabret00the
            2 days ago












          • You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
            – S.Tong
            yesterday











          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',
          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%2f1091709%2fe-sub-process-usr-bin-dpkg-returned-an-error-code-1-with-libgimp3-0%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








          up vote
          0
          down vote













          In terminal type sudo gedit /var/lib/dpkg/info/gimp.postinst



          Then find set -e and replace it with # set -e, save and close.



          Then type sudo apt-get -f install



          Before sudo apt update



          And finally sudo apt upgrade



          The issue should be fixed.






          share|improve this answer

















          • 1




            Fine but what was the actual problem?
            – xenoid
            Nov 12 at 12:20















          up vote
          0
          down vote













          In terminal type sudo gedit /var/lib/dpkg/info/gimp.postinst



          Then find set -e and replace it with # set -e, save and close.



          Then type sudo apt-get -f install



          Before sudo apt update



          And finally sudo apt upgrade



          The issue should be fixed.






          share|improve this answer

















          • 1




            Fine but what was the actual problem?
            – xenoid
            Nov 12 at 12:20













          up vote
          0
          down vote










          up vote
          0
          down vote









          In terminal type sudo gedit /var/lib/dpkg/info/gimp.postinst



          Then find set -e and replace it with # set -e, save and close.



          Then type sudo apt-get -f install



          Before sudo apt update



          And finally sudo apt upgrade



          The issue should be fixed.






          share|improve this answer












          In terminal type sudo gedit /var/lib/dpkg/info/gimp.postinst



          Then find set -e and replace it with # set -e, save and close.



          Then type sudo apt-get -f install



          Before sudo apt update



          And finally sudo apt upgrade



          The issue should be fixed.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 10 at 15:03









          sabret00the

          135111




          135111








          • 1




            Fine but what was the actual problem?
            – xenoid
            Nov 12 at 12:20














          • 1




            Fine but what was the actual problem?
            – xenoid
            Nov 12 at 12:20








          1




          1




          Fine but what was the actual problem?
          – xenoid
          Nov 12 at 12:20




          Fine but what was the actual problem?
          – xenoid
          Nov 12 at 12:20












          up vote
          0
          down vote













          The cause of this error is:




          1. gimp2.99 as a development version try to update gimp2.0 to gimp3.0 recently.

          2. But there is a dependency of libgimp2.0 to sane and gimp-gmic (if you have installed them), so that in the coarse of update, gimp2.99 cannot remove libgimp2.0 and caused the problem.

          3. If you want to test the development version of gimp for the gimp team, you may want to have libgimp3.0. To achieve this, first purge gimp and then remove libgimp2.0 together with gimp-gmic and sane (you can only do this if you do not need them) .Reinstall libgimp3.0 and gimp then.

          4. I believe you won't have libgimp3.0 installed with former solution and you may have difficulty in updating gimp 2.99 in the future

          5. If you need gmic very much while you like gtk3 of 2.99, do 4. and then download and run gimp appimage 2.10.8 with plugin. Then you can have both development version and stable version + plugin on your platform. this is what i do.






          share|improve this answer








          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
            – sabret00the
            2 days ago












          • You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
            – S.Tong
            yesterday















          up vote
          0
          down vote













          The cause of this error is:




          1. gimp2.99 as a development version try to update gimp2.0 to gimp3.0 recently.

          2. But there is a dependency of libgimp2.0 to sane and gimp-gmic (if you have installed them), so that in the coarse of update, gimp2.99 cannot remove libgimp2.0 and caused the problem.

          3. If you want to test the development version of gimp for the gimp team, you may want to have libgimp3.0. To achieve this, first purge gimp and then remove libgimp2.0 together with gimp-gmic and sane (you can only do this if you do not need them) .Reinstall libgimp3.0 and gimp then.

          4. I believe you won't have libgimp3.0 installed with former solution and you may have difficulty in updating gimp 2.99 in the future

          5. If you need gmic very much while you like gtk3 of 2.99, do 4. and then download and run gimp appimage 2.10.8 with plugin. Then you can have both development version and stable version + plugin on your platform. this is what i do.






          share|improve this answer








          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
            – sabret00the
            2 days ago












          • You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
            – S.Tong
            yesterday













          up vote
          0
          down vote










          up vote
          0
          down vote









          The cause of this error is:




          1. gimp2.99 as a development version try to update gimp2.0 to gimp3.0 recently.

          2. But there is a dependency of libgimp2.0 to sane and gimp-gmic (if you have installed them), so that in the coarse of update, gimp2.99 cannot remove libgimp2.0 and caused the problem.

          3. If you want to test the development version of gimp for the gimp team, you may want to have libgimp3.0. To achieve this, first purge gimp and then remove libgimp2.0 together with gimp-gmic and sane (you can only do this if you do not need them) .Reinstall libgimp3.0 and gimp then.

          4. I believe you won't have libgimp3.0 installed with former solution and you may have difficulty in updating gimp 2.99 in the future

          5. If you need gmic very much while you like gtk3 of 2.99, do 4. and then download and run gimp appimage 2.10.8 with plugin. Then you can have both development version and stable version + plugin on your platform. this is what i do.






          share|improve this answer








          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          The cause of this error is:




          1. gimp2.99 as a development version try to update gimp2.0 to gimp3.0 recently.

          2. But there is a dependency of libgimp2.0 to sane and gimp-gmic (if you have installed them), so that in the coarse of update, gimp2.99 cannot remove libgimp2.0 and caused the problem.

          3. If you want to test the development version of gimp for the gimp team, you may want to have libgimp3.0. To achieve this, first purge gimp and then remove libgimp2.0 together with gimp-gmic and sane (you can only do this if you do not need them) .Reinstall libgimp3.0 and gimp then.

          4. I believe you won't have libgimp3.0 installed with former solution and you may have difficulty in updating gimp 2.99 in the future

          5. If you need gmic very much while you like gtk3 of 2.99, do 4. and then download and run gimp appimage 2.10.8 with plugin. Then you can have both development version and stable version + plugin on your platform. this is what i do.







          share|improve this answer








          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Nov 12 at 18:29









          S.Tong

          1




          1




          New contributor




          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          S.Tong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.












          • How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
            – sabret00the
            2 days ago












          • You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
            – S.Tong
            yesterday


















          • How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
            – sabret00the
            2 days ago












          • You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
            – S.Tong
            yesterday
















          How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
          – sabret00the
          2 days ago






          How would one purge gimp when the error has totally locked up dpkg. Meaning I can't install or remove any packages. Apparently sudo apt-get purge gimp* libgimp* -f was enough
          – sabret00the
          2 days ago














          You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
          – S.Tong
          yesterday




          You have to remove the relevant packages "by force": sudo dpkg --purge --force-all YOUR PACKAGE(gimp, sane,gimp-gmic,libgimp2.0, gimp-data) You have to test the sequence of pakckages because there are inter-dependency if you have conflicts during uninstallation. Then reboot your machine. Then type in sudo dpkg --configure -a. Then reinstall gimp(sudo apt install gimp). If the installation block by lock, remove the lock( sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend). Reconfigure again(sudo dpkg --configure -a). Then sudo apt install gimp,
          – S.Tong
          yesterday


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1091709%2fe-sub-process-usr-bin-dpkg-returned-an-error-code-1-with-libgimp3-0%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?