On 06/10/14 16:01, Buchs, Kevin J. wrote:
I have both libreoffice and libreoffice4.2 installed. I just want to
keep the 4.2 version, but when I try to apt-get remove libreoffice, it
wants to remove gnome. Why is gnome dependent upon libreoffice?
Gnome doesn't depend on libreoffice.
What's happening here is that the task-gnome-desktop metapackage
depends on libreoffice (since the maintainers of that metapackage
think that it's reasonable to do so). Gnome was installed because the
task-desktop-gnome metapackage was installed; when task-desktop-gnome
goes away, anything it depends on which is marked as automatically
installed, and which nothing else depends on, will also be marked for
removal.
Try:
aptitude unmarkauto gnome
and see if apt stops wanting to remove gnome.