Error removing or purging packages












1















I have a problem and I needed Gparted for resizing, after some searching I used a commmand to install Gparted that installed many other packages I don't need, for example 'mines games' 'solitaire game' 'gedit editor' and other apps.



When I run sudo apt-get remove package-name or purge it gives me this error:



Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gnome-software-plugin-snap : Depends: gnome-software (= 3.28.1-0ubuntu4.18.04.8) but it is not going to be installed
gnome-themes-extra : Depends: gnome-themes-extra-data (>= 3.28-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried running gedit which is one of the apps I want to remove and gives that error, gedit for example works, so some apps installed but cannot purge or remove



The idea is that I don't want to fix these packages, just remove them.










share|improve this question


















  • 1





    As the console suggests, try running sudo apt --fix-broken-install and post the results here

    – Parto
    Jan 15 at 8:19











  • The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

    – user535733
    Jan 15 at 11:17


















1















I have a problem and I needed Gparted for resizing, after some searching I used a commmand to install Gparted that installed many other packages I don't need, for example 'mines games' 'solitaire game' 'gedit editor' and other apps.



When I run sudo apt-get remove package-name or purge it gives me this error:



Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gnome-software-plugin-snap : Depends: gnome-software (= 3.28.1-0ubuntu4.18.04.8) but it is not going to be installed
gnome-themes-extra : Depends: gnome-themes-extra-data (>= 3.28-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried running gedit which is one of the apps I want to remove and gives that error, gedit for example works, so some apps installed but cannot purge or remove



The idea is that I don't want to fix these packages, just remove them.










share|improve this question


















  • 1





    As the console suggests, try running sudo apt --fix-broken-install and post the results here

    – Parto
    Jan 15 at 8:19











  • The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

    – user535733
    Jan 15 at 11:17
















1












1








1








I have a problem and I needed Gparted for resizing, after some searching I used a commmand to install Gparted that installed many other packages I don't need, for example 'mines games' 'solitaire game' 'gedit editor' and other apps.



When I run sudo apt-get remove package-name or purge it gives me this error:



Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gnome-software-plugin-snap : Depends: gnome-software (= 3.28.1-0ubuntu4.18.04.8) but it is not going to be installed
gnome-themes-extra : Depends: gnome-themes-extra-data (>= 3.28-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried running gedit which is one of the apps I want to remove and gives that error, gedit for example works, so some apps installed but cannot purge or remove



The idea is that I don't want to fix these packages, just remove them.










share|improve this question














I have a problem and I needed Gparted for resizing, after some searching I used a commmand to install Gparted that installed many other packages I don't need, for example 'mines games' 'solitaire game' 'gedit editor' and other apps.



When I run sudo apt-get remove package-name or purge it gives me this error:



Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gnome-software-plugin-snap : Depends: gnome-software (= 3.28.1-0ubuntu4.18.04.8) but it is not going to be installed
gnome-themes-extra : Depends: gnome-themes-extra-data (>= 3.28-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried running gedit which is one of the apps I want to remove and gives that error, gedit for example works, so some apps installed but cannot purge or remove



The idea is that I don't want to fix these packages, just remove them.







apt package-management






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 15 at 8:06









tarek hassantarek hassan

82




82








  • 1





    As the console suggests, try running sudo apt --fix-broken-install and post the results here

    – Parto
    Jan 15 at 8:19











  • The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

    – user535733
    Jan 15 at 11:17
















  • 1





    As the console suggests, try running sudo apt --fix-broken-install and post the results here

    – Parto
    Jan 15 at 8:19











  • The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

    – user535733
    Jan 15 at 11:17










1




1





As the console suggests, try running sudo apt --fix-broken-install and post the results here

– Parto
Jan 15 at 8:19





As the console suggests, try running sudo apt --fix-broken-install and post the results here

– Parto
Jan 15 at 8:19













The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

– user535733
Jan 15 at 11:17







The system is trying to tell you about a version conflict that you have created. The dependency chain is what is broken by incompatible versions. The packages themselves are not corrupted,

– user535733
Jan 15 at 11:17












1 Answer
1






active

oldest

votes


















0














Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.



sudo apt rdepends gparted:



gparted
Reverse Depends:
Suggests: drobo-utils
|Suggests: lxqt-config


as you can see gparted had only suggested package.



the package mentioned in your post are dependency of gnome core:



sudo apt rdepends gnome-themes-extra:



gnome-themes-extra
Reverse Depends:
Depends: gnome-core (>= 3.22)
Recommends: afterstep
Depends: materia-gtk-theme
Recommends: lightdm-gtk-greeter
Depends: gnome-themes-standard
|Recommends: cinnamon-core
|Depends: cinnamon
Depends: arc-theme


And I think you have a broken installation of gnome there. As per @Parto says, run :



sudo apt --fix-broken-install


In order to satisfy the missing dependency, and after that start to remove packages you want to remove.



Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.



Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.






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%2f1109847%2ferror-removing-or-purging-packages%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.



    sudo apt rdepends gparted:



    gparted
    Reverse Depends:
    Suggests: drobo-utils
    |Suggests: lxqt-config


    as you can see gparted had only suggested package.



    the package mentioned in your post are dependency of gnome core:



    sudo apt rdepends gnome-themes-extra:



    gnome-themes-extra
    Reverse Depends:
    Depends: gnome-core (>= 3.22)
    Recommends: afterstep
    Depends: materia-gtk-theme
    Recommends: lightdm-gtk-greeter
    Depends: gnome-themes-standard
    |Recommends: cinnamon-core
    |Depends: cinnamon
    Depends: arc-theme


    And I think you have a broken installation of gnome there. As per @Parto says, run :



    sudo apt --fix-broken-install


    In order to satisfy the missing dependency, and after that start to remove packages you want to remove.



    Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.



    Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.






    share|improve this answer




























      0














      Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.



      sudo apt rdepends gparted:



      gparted
      Reverse Depends:
      Suggests: drobo-utils
      |Suggests: lxqt-config


      as you can see gparted had only suggested package.



      the package mentioned in your post are dependency of gnome core:



      sudo apt rdepends gnome-themes-extra:



      gnome-themes-extra
      Reverse Depends:
      Depends: gnome-core (>= 3.22)
      Recommends: afterstep
      Depends: materia-gtk-theme
      Recommends: lightdm-gtk-greeter
      Depends: gnome-themes-standard
      |Recommends: cinnamon-core
      |Depends: cinnamon
      Depends: arc-theme


      And I think you have a broken installation of gnome there. As per @Parto says, run :



      sudo apt --fix-broken-install


      In order to satisfy the missing dependency, and after that start to remove packages you want to remove.



      Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.



      Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.






      share|improve this answer


























        0












        0








        0







        Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.



        sudo apt rdepends gparted:



        gparted
        Reverse Depends:
        Suggests: drobo-utils
        |Suggests: lxqt-config


        as you can see gparted had only suggested package.



        the package mentioned in your post are dependency of gnome core:



        sudo apt rdepends gnome-themes-extra:



        gnome-themes-extra
        Reverse Depends:
        Depends: gnome-core (>= 3.22)
        Recommends: afterstep
        Depends: materia-gtk-theme
        Recommends: lightdm-gtk-greeter
        Depends: gnome-themes-standard
        |Recommends: cinnamon-core
        |Depends: cinnamon
        Depends: arc-theme


        And I think you have a broken installation of gnome there. As per @Parto says, run :



        sudo apt --fix-broken-install


        In order to satisfy the missing dependency, and after that start to remove packages you want to remove.



        Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.



        Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.






        share|improve this answer













        Gparted is not the reason why the package you mention were installed, that was probably some package are there and installation was pending.



        sudo apt rdepends gparted:



        gparted
        Reverse Depends:
        Suggests: drobo-utils
        |Suggests: lxqt-config


        as you can see gparted had only suggested package.



        the package mentioned in your post are dependency of gnome core:



        sudo apt rdepends gnome-themes-extra:



        gnome-themes-extra
        Reverse Depends:
        Depends: gnome-core (>= 3.22)
        Recommends: afterstep
        Depends: materia-gtk-theme
        Recommends: lightdm-gtk-greeter
        Depends: gnome-themes-standard
        |Recommends: cinnamon-core
        |Depends: cinnamon
        Depends: arc-theme


        And I think you have a broken installation of gnome there. As per @Parto says, run :



        sudo apt --fix-broken-install


        In order to satisfy the missing dependency, and after that start to remove packages you want to remove.



        Anyway if you want to remove package with apt you have to repair first the unsatisfied dependency, then remove packages.



        Suggestion: do not use dpkg to remove package, prefer always apt command or GUI package manager.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 15 at 8:57









        AtomiX84AtomiX84

        955111




        955111






























            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%2f1109847%2ferror-removing-or-purging-packages%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?