[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to remove automatically installed packages when nothing depends on them?



On Friday 2009 January 23 14:42:30 Countable Infinity wrote:
>When I installed xfce4-terminal, it automatically installed
>libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
>
>aptitude purge xfce4-terminal
>
>it does not remove these libs that were installed automatically.
>
>Is there a way to remove these automatically installed packages  when
>nothing depends on them any more?

Aptitude should automatically do that.  It's possible that it thinks these 
packages are "manually" installed.  To fix that:
aptitude markauto libxfce4mcs-manager3 libxfce4util4 $etc

If that doesn't suggest packages to be removed, perhaps those packages are 
actually depended on.  You might try:
aptitude search '~Rlibxfce4mcs-manager3'
to see what packages depend on libxfce4mcs-manager3, but the CUI for aptitude 
will probably be more useful if you have to hunt down many dependencies.

Finally, you can always:
aptitude purge libxfce4mcs-manager3 libxfce4util4 $etc
and aptitude will inform you if other packages will need to be removed due to 
missing dependencies.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: