Or how to get rid of Evolution without removing your whole system
There is a complain I have heard several times from people after they installed Debian: “I use Icedove/Thunderbird so I do not need Evolution: I tried to remove it but this would remove my whole system, that sucks!”
Explanation
The reason behind this situation is that GNOME is installed by a meta-package, which is a dummy package that depends on each component of the official GNOME desktop, including Evolution. So it got installed as a dependency of that dummy package. This means that you, or rather, the Debian installer, never asked explicitly to install either Evolution or any other specific software: it came automatically.
Now, you want to remove Evolution: very well, but this implies removing the meta-package, as you are removing one of its dependencies. But if you are removing this meta-package, there is no reason to keep all this software you did not asked for, so, as they got installed automatically, they are now removed automatically as well…
The solution
So, do you still want to remove Evolution but keep the remaining of your GNOME desktop? Of course you will not keep « GNOME », because GNOME includes Evolution, so strictly speaking GNOME without Evolution is not GNOME any more.
Well, there is a solution: marking all the dependencies of the meta-package as manually installed, that is, faking that you installed them explicitly Aptitude is able to do that with its powerful search functions:
# aptitude unmarkauto '?reverse-depends(gnome) | ?reverse-recommends(gnome)' # aptitude unmarkauto '?reverse-depends(gnome-core) | ?reverse-recommends(gnome-core)' # aptitude unmarkauto '?reverse-depends(gnome-desktop-environment)'\ ' | ?reverse-recommends(gnome-desktop-environment)'
What did we do? Well, exactly what is written: unmarking as automatically installed the packages that reverse-depend or reverse-recommend gnome or gnome-desktop-environment. In other words, those that are dependencies or recommendations of gnome, gnome-core or gnome-desktop-environment. Why these three packages? Because the GNOME environment that Debian provides by default is composed of several meta-packages: I shall let you refer to their respective descriptions for further information.
Now, you can safely remove Evolution without pulling out your whole desktop system:
# aptitude remove evolution
26 comments
monday 23 may 2011 à 23:48 Commenter said : #1
monday 23 may 2011 à 23:54 Elessar said : #2
tuesday 24 may 2011 à 00:21 Timo Juhani Lindfors said : #3
tuesday 24 may 2011 à 00:24 Tanguy aka Elessar said : #4
tuesday 24 may 2011 à 08:22 Anonymous said : #5
tuesday 24 may 2011 à 08:24 Anonymous said : #6
tuesday 24 may 2011 à 10:20 DevMusings said : #7
tuesday 24 may 2011 à 11:12 Jon said : #8
tuesday 24 may 2011 à 12:24 Tanguy said : #9
tuesday 24 may 2011 à 13:36 oscar said : #10
thursday 09 june 2011 à 15:08 merwok said : #11
friday 10 june 2011 à 15:17 Matteo said : #12
tuesday 16 august 2011 à 13:56 Aragon said : #13
tuesday 16 august 2011 à 15:28 Tanguy said : #14
sunday 04 september 2011 à 22:54 ubuntufreak said : #15
sunday 04 september 2011 à 23:16 Tanguy said : #16
tuesday 06 september 2011 à 21:50 ubuntufreak said : #17
wednesday 07 september 2011 à 10:17 Tanguy said : #18
saturday 25 february 2012 à 04:48 shirish said : #19
saturday 25 february 2012 à 04:51 shirish said : #20
thursday 01 march 2012 à 03:55 mandyke said : #21
saturday 28 april 2012 à 13:31 silicium said : #22
monday 01 october 2012 à 20:43 nuoritoveri said : #23
thursday 25 october 2012 à 09:30 Doom said : #24
thursday 24 october 2013 à 17:11 CodeLurker said : #25
sunday 18 september 2016 à 01:57 DebianUser said : #26