[Solved] How to remove a package that ties with core ones?

Kernels & Hardware, configuring network, installing services

[Solved] How to remove a package that ties with core ones?

Postby JanPenguin » 2011-08-07 12:52

I have this package dependency question for a while.

I have brand new Squeeze system. I selected desktop during installation. Gnome is default system but I turned off gdm3 and uses fluxbox as window manager.

I understand if two packages are tied together funtionally so that removal of either package terminates one feature. Above cases, many small packages only depends on the core packages. The core packages work fine without games, other programs.

There are so many programs that I want to remove in the system. For examples, ekiga is a VoIP program that I never use it. When I tried to remove it using apt-get or aptitude, it suggests entire gnome packages will be removed also, which is illogical. The only solution I found is I need to manually remove the package files. I haven't tried it yet.
Last edited by JanPenguin on 2011-08-08 03:12, edited 1 time in total.
JanPenguin
 
Posts: 136
Joined: 2011-01-16 13:00

Re: How to remove a package that ties with core packages?

Postby vbrummond » 2011-08-07 13:11

There is the concept of the 'metapackage'. A metapackage is a package that exists simply to depend on other packages so you can install them in a collection. The packages "gnome" and "gnome-desktop-environment" are examples of these. Just removing "gnome" will not remove any packages. Carefull inspect specific package names (such as "nautilus" "empathy") to really see what is being removed. If just ekiga and gnome are being removed it is quite safe to do so.

Note though it may mark packages for auto-removal, just do not blindly run apt-get autoremove and they will stay installed.

Hope that answers your query.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: [Solved] How to remove a package that ties with core one

Postby JanPenguin » 2011-08-08 03:16

@ vbrummond

Thanks. It works. I played with few packages that depends on meta packages: gnome, gnome-desktop-environment, xorg, and etc.
JanPenguin
 
Posts: 136
Joined: 2011-01-16 13:00

Re: [Solved] How to remove a package that ties with core one

Postby secipolla » 2011-08-08 10:13

For the autoremovable packages you can run 'aptitude unmarkauto' on them and they won't be marked to be automatically removed (but then if you want to remove'em you'll have to do it explicitly).
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20


Return to System configuration

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable