How to remove gnome-games package without removing other packages?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as without the gnome-games the gnome package is not fully installed. No problem with that. But now the difference comes: Aptitude also wants to remove a ton of other important packages! How can I just avoid that? I cannot understand what in example network-manager has to do with gnome-games. Unmarking gnome-games as manually installed does not make a difference.



However, this is my console dump:



root@testing:/home/branch# aptitude purge gnome-games
The following packages will be REMOVED:
gnome-gamesp
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 2,490 kB will be freed.
The following packages have unmet dependencies:
gnome: Depends: gnome-games (>= 1:2.30) but it is not going to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
1) gnome

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
aptdaemonu binfmt-supportu cli-commonu dnsmasq-baseu epiphany-extensionsu
evolution-exchangeu gdebiu gdebi-coreu gedit-pluginsu gnomea
gnome-codec-installu gnome-gamesp gnome-officeu gnome-themes-extrasu
gnome-themes-moreu gtk2-engines-smoothu libart2.0-cilu libgconf2.0-cilu
libgee2u libgexiv2-0u libglade2.0-cilu libglib2.0-cilu libgmime2.4-cilu
libgnome-vfs2.0-cilu libgnome2.24-cilu libgnomepanel2.24-cilu libgpod-commonu
libgpod4u libgtk2.0-cilu libmono-addins-gui0.2-cilu libmono-addins0.2-cilu
libmono-cairo2.0-cilu libmono-corlib2.0-cilu libmono-i18n-west2.0-cilu
libmono-posix2.0-cilu libmono-security2.0-cilu libmono-sharpzip2.84-cilu
libmono-system2.0-cilu libmtp8u libndesk-dbus-glib1.0-cilu libndesk-dbus1.0-cilu
libnm-glib-vpn1u libpcsclite1u lifereau liferea-datau media-player-infou
mobile-broadband-provider-infou modemmanageru mono-2.0-gacu mono-gacu
mono-runtimeu network-manageru network-manager-gnomeu pppu python-aptdaemonu
python-aptdaemon-gtku python-makou python-markupsafeu python-vteu
python-webkitu rhythmboxu rhythmbox-plugin-cdrecorderu rhythmbox-pluginsu
shotwellu simple-scanu software-centeru tclu tcl8.4u tomboyu totem-mozillau
transmission-commonu transmission-gtku update-manager-coreu update-manager-gnomeu
update-notifieru update-notifier-commonu usb-modeswitchu usb-modeswitch-datau
wpasupplicantu
0 packages upgraded, 0 newly installed, 79 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 143 MB will be freed.
Do you want to continue? [Y/n/?] n
Abort.


Edit: Aptitude wants to remove all the packages as it assumes they are unused after removing the gnome metapackage. But that definitely is not the case. How to tell aptitude that it simply keeps those packages? It does not give any other option.










share|improve this question



























    up vote
    6
    down vote

    favorite
    1












    So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as without the gnome-games the gnome package is not fully installed. No problem with that. But now the difference comes: Aptitude also wants to remove a ton of other important packages! How can I just avoid that? I cannot understand what in example network-manager has to do with gnome-games. Unmarking gnome-games as manually installed does not make a difference.



    However, this is my console dump:



    root@testing:/home/branch# aptitude purge gnome-games
    The following packages will be REMOVED:
    gnome-gamesp
    0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 2,490 kB will be freed.
    The following packages have unmet dependencies:
    gnome: Depends: gnome-games (>= 1:2.30) but it is not going to be installed.
    The following actions will resolve these dependencies:

    Remove the following packages:
    1) gnome

    Accept this solution? [Y/n/q/?] Y
    The following packages will be REMOVED:
    aptdaemonu binfmt-supportu cli-commonu dnsmasq-baseu epiphany-extensionsu
    evolution-exchangeu gdebiu gdebi-coreu gedit-pluginsu gnomea
    gnome-codec-installu gnome-gamesp gnome-officeu gnome-themes-extrasu
    gnome-themes-moreu gtk2-engines-smoothu libart2.0-cilu libgconf2.0-cilu
    libgee2u libgexiv2-0u libglade2.0-cilu libglib2.0-cilu libgmime2.4-cilu
    libgnome-vfs2.0-cilu libgnome2.24-cilu libgnomepanel2.24-cilu libgpod-commonu
    libgpod4u libgtk2.0-cilu libmono-addins-gui0.2-cilu libmono-addins0.2-cilu
    libmono-cairo2.0-cilu libmono-corlib2.0-cilu libmono-i18n-west2.0-cilu
    libmono-posix2.0-cilu libmono-security2.0-cilu libmono-sharpzip2.84-cilu
    libmono-system2.0-cilu libmtp8u libndesk-dbus-glib1.0-cilu libndesk-dbus1.0-cilu
    libnm-glib-vpn1u libpcsclite1u lifereau liferea-datau media-player-infou
    mobile-broadband-provider-infou modemmanageru mono-2.0-gacu mono-gacu
    mono-runtimeu network-manageru network-manager-gnomeu pppu python-aptdaemonu
    python-aptdaemon-gtku python-makou python-markupsafeu python-vteu
    python-webkitu rhythmboxu rhythmbox-plugin-cdrecorderu rhythmbox-pluginsu
    shotwellu simple-scanu software-centeru tclu tcl8.4u tomboyu totem-mozillau
    transmission-commonu transmission-gtku update-manager-coreu update-manager-gnomeu
    update-notifieru update-notifier-commonu usb-modeswitchu usb-modeswitch-datau
    wpasupplicantu
    0 packages upgraded, 0 newly installed, 79 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 143 MB will be freed.
    Do you want to continue? [Y/n/?] n
    Abort.


    Edit: Aptitude wants to remove all the packages as it assumes they are unused after removing the gnome metapackage. But that definitely is not the case. How to tell aptitude that it simply keeps those packages? It does not give any other option.










    share|improve this question

























      up vote
      6
      down vote

      favorite
      1









      up vote
      6
      down vote

      favorite
      1






      1





      So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as without the gnome-games the gnome package is not fully installed. No problem with that. But now the difference comes: Aptitude also wants to remove a ton of other important packages! How can I just avoid that? I cannot understand what in example network-manager has to do with gnome-games. Unmarking gnome-games as manually installed does not make a difference.



      However, this is my console dump:



      root@testing:/home/branch# aptitude purge gnome-games
      The following packages will be REMOVED:
      gnome-gamesp
      0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
      Need to get 0 B of archives. After unpacking 2,490 kB will be freed.
      The following packages have unmet dependencies:
      gnome: Depends: gnome-games (>= 1:2.30) but it is not going to be installed.
      The following actions will resolve these dependencies:

      Remove the following packages:
      1) gnome

      Accept this solution? [Y/n/q/?] Y
      The following packages will be REMOVED:
      aptdaemonu binfmt-supportu cli-commonu dnsmasq-baseu epiphany-extensionsu
      evolution-exchangeu gdebiu gdebi-coreu gedit-pluginsu gnomea
      gnome-codec-installu gnome-gamesp gnome-officeu gnome-themes-extrasu
      gnome-themes-moreu gtk2-engines-smoothu libart2.0-cilu libgconf2.0-cilu
      libgee2u libgexiv2-0u libglade2.0-cilu libglib2.0-cilu libgmime2.4-cilu
      libgnome-vfs2.0-cilu libgnome2.24-cilu libgnomepanel2.24-cilu libgpod-commonu
      libgpod4u libgtk2.0-cilu libmono-addins-gui0.2-cilu libmono-addins0.2-cilu
      libmono-cairo2.0-cilu libmono-corlib2.0-cilu libmono-i18n-west2.0-cilu
      libmono-posix2.0-cilu libmono-security2.0-cilu libmono-sharpzip2.84-cilu
      libmono-system2.0-cilu libmtp8u libndesk-dbus-glib1.0-cilu libndesk-dbus1.0-cilu
      libnm-glib-vpn1u libpcsclite1u lifereau liferea-datau media-player-infou
      mobile-broadband-provider-infou modemmanageru mono-2.0-gacu mono-gacu
      mono-runtimeu network-manageru network-manager-gnomeu pppu python-aptdaemonu
      python-aptdaemon-gtku python-makou python-markupsafeu python-vteu
      python-webkitu rhythmboxu rhythmbox-plugin-cdrecorderu rhythmbox-pluginsu
      shotwellu simple-scanu software-centeru tclu tcl8.4u tomboyu totem-mozillau
      transmission-commonu transmission-gtku update-manager-coreu update-manager-gnomeu
      update-notifieru update-notifier-commonu usb-modeswitchu usb-modeswitch-datau
      wpasupplicantu
      0 packages upgraded, 0 newly installed, 79 to remove and 0 not upgraded.
      Need to get 0 B of archives. After unpacking 143 MB will be freed.
      Do you want to continue? [Y/n/?] n
      Abort.


      Edit: Aptitude wants to remove all the packages as it assumes they are unused after removing the gnome metapackage. But that definitely is not the case. How to tell aptitude that it simply keeps those packages? It does not give any other option.










      share|improve this question















      So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as without the gnome-games the gnome package is not fully installed. No problem with that. But now the difference comes: Aptitude also wants to remove a ton of other important packages! How can I just avoid that? I cannot understand what in example network-manager has to do with gnome-games. Unmarking gnome-games as manually installed does not make a difference.



      However, this is my console dump:



      root@testing:/home/branch# aptitude purge gnome-games
      The following packages will be REMOVED:
      gnome-gamesp
      0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
      Need to get 0 B of archives. After unpacking 2,490 kB will be freed.
      The following packages have unmet dependencies:
      gnome: Depends: gnome-games (>= 1:2.30) but it is not going to be installed.
      The following actions will resolve these dependencies:

      Remove the following packages:
      1) gnome

      Accept this solution? [Y/n/q/?] Y
      The following packages will be REMOVED:
      aptdaemonu binfmt-supportu cli-commonu dnsmasq-baseu epiphany-extensionsu
      evolution-exchangeu gdebiu gdebi-coreu gedit-pluginsu gnomea
      gnome-codec-installu gnome-gamesp gnome-officeu gnome-themes-extrasu
      gnome-themes-moreu gtk2-engines-smoothu libart2.0-cilu libgconf2.0-cilu
      libgee2u libgexiv2-0u libglade2.0-cilu libglib2.0-cilu libgmime2.4-cilu
      libgnome-vfs2.0-cilu libgnome2.24-cilu libgnomepanel2.24-cilu libgpod-commonu
      libgpod4u libgtk2.0-cilu libmono-addins-gui0.2-cilu libmono-addins0.2-cilu
      libmono-cairo2.0-cilu libmono-corlib2.0-cilu libmono-i18n-west2.0-cilu
      libmono-posix2.0-cilu libmono-security2.0-cilu libmono-sharpzip2.84-cilu
      libmono-system2.0-cilu libmtp8u libndesk-dbus-glib1.0-cilu libndesk-dbus1.0-cilu
      libnm-glib-vpn1u libpcsclite1u lifereau liferea-datau media-player-infou
      mobile-broadband-provider-infou modemmanageru mono-2.0-gacu mono-gacu
      mono-runtimeu network-manageru network-manager-gnomeu pppu python-aptdaemonu
      python-aptdaemon-gtku python-makou python-markupsafeu python-vteu
      python-webkitu rhythmboxu rhythmbox-plugin-cdrecorderu rhythmbox-pluginsu
      shotwellu simple-scanu software-centeru tclu tcl8.4u tomboyu totem-mozillau
      transmission-commonu transmission-gtku update-manager-coreu update-manager-gnomeu
      update-notifieru update-notifier-commonu usb-modeswitchu usb-modeswitch-datau
      wpasupplicantu
      0 packages upgraded, 0 newly installed, 79 to remove and 0 not upgraded.
      Need to get 0 B of archives. After unpacking 143 MB will be freed.
      Do you want to continue? [Y/n/?] n
      Abort.


      Edit: Aptitude wants to remove all the packages as it assumes they are unused after removing the gnome metapackage. But that definitely is not the case. How to tell aptitude that it simply keeps those packages? It does not give any other option.







      debian package-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 at 0:30









      Rui F Ribeiro

      38.3k1477127




      38.3k1477127










      asked Feb 27 '12 at 7:49









      Peter Thomas Horn

      173126




      173126




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          It appears that all of those were automatically installed as dependencies of the gnome metapackage. As you said, the gnome metapackage is incomplete without the gnome-games package, so it must be removed. That renders all the packages listed unused and so aptitude wants to remove them. There may be a way to remove gnome without removing its unused dependencies, but a quick search didn't show one and I suspect that it would try to uninstall them every time you removed something else. Your best bet is probably to figure out which of those packages you explicitly want and mark them manually installed, then let it uninstall the remainder if they're still unneeded.






          share|improve this answer
















          • 1




            is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
            – sr_
            Feb 27 '12 at 8:28











          • Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
            – Peter Thomas Horn
            Feb 27 '12 at 8:44











          • That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
            – sr_
            Feb 27 '12 at 8:46


















          up vote
          6
          down vote













          For Debian and spinoffs, after you login to Gnome hit CtrlAltF1 and get to a console window.



          Login as root OR yourself then sudo su (different distros get stupid about root, sudo and su).



          Type apt-get remove gnome-games without quotes and press Enter- it will say its getting rid of gnome and gnome-games - choose Yes or OK - it will mark them all for removal.



          Then type apt-get install gnome-core and choose Yes to install it will mark gnome-core to stay and show you all the game apps that are no longer in use and can be auto removed.



          Then type apt-get autoremove and you should see all the game data about to be blasted out and your ready to go - no baloney, no removing entire gnome etc.



          apt-get clean or apt-get autoclean can get you some disk space from cached install files.



          https://help.ubuntu.com/community/AptGet/Howto






          share|improve this answer






















          • This is the right answer!
            – Victor Schröder
            Jul 30 '16 at 15:52

















          up vote
          0
          down vote













          By default, aptitude looks for and uninstalls dependencies, which is USUALLY exactly what you want to do. The comprehensive gnome-games package apparently has various games that include these diverse dependencies.



          HOWEVER, the dpkg -r command does NOT look for dependencies; it just removes precisely what you tell it to. In many cases that would be a bad thing (as it could potentially leave your system unstable), but in this instance, instability would be unlikely and it may be the best solution.






          share|improve this answer




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f32793%2fhow-to-remove-gnome-games-package-without-removing-other-packages%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








            up vote
            3
            down vote



            accepted










            It appears that all of those were automatically installed as dependencies of the gnome metapackage. As you said, the gnome metapackage is incomplete without the gnome-games package, so it must be removed. That renders all the packages listed unused and so aptitude wants to remove them. There may be a way to remove gnome without removing its unused dependencies, but a quick search didn't show one and I suspect that it would try to uninstall them every time you removed something else. Your best bet is probably to figure out which of those packages you explicitly want and mark them manually installed, then let it uninstall the remainder if they're still unneeded.






            share|improve this answer
















            • 1




              is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
              – sr_
              Feb 27 '12 at 8:28











            • Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
              – Peter Thomas Horn
              Feb 27 '12 at 8:44











            • That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
              – sr_
              Feb 27 '12 at 8:46















            up vote
            3
            down vote



            accepted










            It appears that all of those were automatically installed as dependencies of the gnome metapackage. As you said, the gnome metapackage is incomplete without the gnome-games package, so it must be removed. That renders all the packages listed unused and so aptitude wants to remove them. There may be a way to remove gnome without removing its unused dependencies, but a quick search didn't show one and I suspect that it would try to uninstall them every time you removed something else. Your best bet is probably to figure out which of those packages you explicitly want and mark them manually installed, then let it uninstall the remainder if they're still unneeded.






            share|improve this answer
















            • 1




              is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
              – sr_
              Feb 27 '12 at 8:28











            • Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
              – Peter Thomas Horn
              Feb 27 '12 at 8:44











            • That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
              – sr_
              Feb 27 '12 at 8:46













            up vote
            3
            down vote



            accepted







            up vote
            3
            down vote



            accepted






            It appears that all of those were automatically installed as dependencies of the gnome metapackage. As you said, the gnome metapackage is incomplete without the gnome-games package, so it must be removed. That renders all the packages listed unused and so aptitude wants to remove them. There may be a way to remove gnome without removing its unused dependencies, but a quick search didn't show one and I suspect that it would try to uninstall them every time you removed something else. Your best bet is probably to figure out which of those packages you explicitly want and mark them manually installed, then let it uninstall the remainder if they're still unneeded.






            share|improve this answer












            It appears that all of those were automatically installed as dependencies of the gnome metapackage. As you said, the gnome metapackage is incomplete without the gnome-games package, so it must be removed. That renders all the packages listed unused and so aptitude wants to remove them. There may be a way to remove gnome without removing its unused dependencies, but a quick search didn't show one and I suspect that it would try to uninstall them every time you removed something else. Your best bet is probably to figure out which of those packages you explicitly want and mark them manually installed, then let it uninstall the remainder if they're still unneeded.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 27 '12 at 8:12









            Kevin

            26.7k106198




            26.7k106198







            • 1




              is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
              – sr_
              Feb 27 '12 at 8:28











            • Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
              – Peter Thomas Horn
              Feb 27 '12 at 8:44











            • That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
              – sr_
              Feb 27 '12 at 8:46













            • 1




              is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
              – sr_
              Feb 27 '12 at 8:28











            • Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
              – Peter Thomas Horn
              Feb 27 '12 at 8:44











            • That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
              – sr_
              Feb 27 '12 at 8:46








            1




            1




            is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
            – sr_
            Feb 27 '12 at 8:28





            is right, what you could try is using aptitude's GUI to remove gnome and, in the preview (after one g), deselect the parts you want to keep from the list of packages-to-be-removed (i.e. remove the A from ipA by pressing M). You can always press Ctrl+t and select something like Forget planned actions when you got stuck or decide to start over.
            – sr_
            Feb 27 '12 at 8:28













            Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
            – Peter Thomas Horn
            Feb 27 '12 at 8:44





            Thank you both for the hints. Now I solved the matter in the way, that I did some copy-pasta. I simply copied the long list of packages aptitude wanted to remove and marked those as manually installed. Then I purged the gnome-games package and only the gnome metapackage has been removed. Though I do not think that this is the most elegant way to do it.
            – Peter Thomas Horn
            Feb 27 '12 at 8:44













            That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
            – sr_
            Feb 27 '12 at 8:46





            That last key is meant to be m, not M; see also this answer. (edit ok, fine.)
            – sr_
            Feb 27 '12 at 8:46













            up vote
            6
            down vote













            For Debian and spinoffs, after you login to Gnome hit CtrlAltF1 and get to a console window.



            Login as root OR yourself then sudo su (different distros get stupid about root, sudo and su).



            Type apt-get remove gnome-games without quotes and press Enter- it will say its getting rid of gnome and gnome-games - choose Yes or OK - it will mark them all for removal.



            Then type apt-get install gnome-core and choose Yes to install it will mark gnome-core to stay and show you all the game apps that are no longer in use and can be auto removed.



            Then type apt-get autoremove and you should see all the game data about to be blasted out and your ready to go - no baloney, no removing entire gnome etc.



            apt-get clean or apt-get autoclean can get you some disk space from cached install files.



            https://help.ubuntu.com/community/AptGet/Howto






            share|improve this answer






















            • This is the right answer!
              – Victor Schröder
              Jul 30 '16 at 15:52














            up vote
            6
            down vote













            For Debian and spinoffs, after you login to Gnome hit CtrlAltF1 and get to a console window.



            Login as root OR yourself then sudo su (different distros get stupid about root, sudo and su).



            Type apt-get remove gnome-games without quotes and press Enter- it will say its getting rid of gnome and gnome-games - choose Yes or OK - it will mark them all for removal.



            Then type apt-get install gnome-core and choose Yes to install it will mark gnome-core to stay and show you all the game apps that are no longer in use and can be auto removed.



            Then type apt-get autoremove and you should see all the game data about to be blasted out and your ready to go - no baloney, no removing entire gnome etc.



            apt-get clean or apt-get autoclean can get you some disk space from cached install files.



            https://help.ubuntu.com/community/AptGet/Howto






            share|improve this answer






















            • This is the right answer!
              – Victor Schröder
              Jul 30 '16 at 15:52












            up vote
            6
            down vote










            up vote
            6
            down vote









            For Debian and spinoffs, after you login to Gnome hit CtrlAltF1 and get to a console window.



            Login as root OR yourself then sudo su (different distros get stupid about root, sudo and su).



            Type apt-get remove gnome-games without quotes and press Enter- it will say its getting rid of gnome and gnome-games - choose Yes or OK - it will mark them all for removal.



            Then type apt-get install gnome-core and choose Yes to install it will mark gnome-core to stay and show you all the game apps that are no longer in use and can be auto removed.



            Then type apt-get autoremove and you should see all the game data about to be blasted out and your ready to go - no baloney, no removing entire gnome etc.



            apt-get clean or apt-get autoclean can get you some disk space from cached install files.



            https://help.ubuntu.com/community/AptGet/Howto






            share|improve this answer














            For Debian and spinoffs, after you login to Gnome hit CtrlAltF1 and get to a console window.



            Login as root OR yourself then sudo su (different distros get stupid about root, sudo and su).



            Type apt-get remove gnome-games without quotes and press Enter- it will say its getting rid of gnome and gnome-games - choose Yes or OK - it will mark them all for removal.



            Then type apt-get install gnome-core and choose Yes to install it will mark gnome-core to stay and show you all the game apps that are no longer in use and can be auto removed.



            Then type apt-get autoremove and you should see all the game data about to be blasted out and your ready to go - no baloney, no removing entire gnome etc.



            apt-get clean or apt-get autoclean can get you some disk space from cached install files.



            https://help.ubuntu.com/community/AptGet/Howto







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 9 '16 at 20:41









            jasonwryan

            48.8k14134184




            48.8k14134184










            answered Jan 9 '16 at 19:36









            sda

            6112




            6112











            • This is the right answer!
              – Victor Schröder
              Jul 30 '16 at 15:52
















            • This is the right answer!
              – Victor Schröder
              Jul 30 '16 at 15:52















            This is the right answer!
            – Victor Schröder
            Jul 30 '16 at 15:52




            This is the right answer!
            – Victor Schröder
            Jul 30 '16 at 15:52










            up vote
            0
            down vote













            By default, aptitude looks for and uninstalls dependencies, which is USUALLY exactly what you want to do. The comprehensive gnome-games package apparently has various games that include these diverse dependencies.



            HOWEVER, the dpkg -r command does NOT look for dependencies; it just removes precisely what you tell it to. In many cases that would be a bad thing (as it could potentially leave your system unstable), but in this instance, instability would be unlikely and it may be the best solution.






            share|improve this answer
























              up vote
              0
              down vote













              By default, aptitude looks for and uninstalls dependencies, which is USUALLY exactly what you want to do. The comprehensive gnome-games package apparently has various games that include these diverse dependencies.



              HOWEVER, the dpkg -r command does NOT look for dependencies; it just removes precisely what you tell it to. In many cases that would be a bad thing (as it could potentially leave your system unstable), but in this instance, instability would be unlikely and it may be the best solution.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                By default, aptitude looks for and uninstalls dependencies, which is USUALLY exactly what you want to do. The comprehensive gnome-games package apparently has various games that include these diverse dependencies.



                HOWEVER, the dpkg -r command does NOT look for dependencies; it just removes precisely what you tell it to. In many cases that would be a bad thing (as it could potentially leave your system unstable), but in this instance, instability would be unlikely and it may be the best solution.






                share|improve this answer












                By default, aptitude looks for and uninstalls dependencies, which is USUALLY exactly what you want to do. The comprehensive gnome-games package apparently has various games that include these diverse dependencies.



                HOWEVER, the dpkg -r command does NOT look for dependencies; it just removes precisely what you tell it to. In many cases that would be a bad thing (as it could potentially leave your system unstable), but in this instance, instability would be unlikely and it may be the best solution.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 18 '16 at 16:22









                DR TEK

                11




                11



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2funix.stackexchange.com%2fquestions%2f32793%2fhow-to-remove-gnome-games-package-without-removing-other-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

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)