How to clean up unnecessary dependencies?

Ben Vinger benvinger at yahoo.co.uk
Wed Nov 30 20:37:01 UTC 2005


--- Simon Rönnqvist <simon at iki.fi> wrote:
> Is there a way to easily clean up unnecessary
> dependencies?

Hello

Install and run deborphan.  This will list installed
but unused stuff.  If you are sure nothing essential
is listed by deborphan, you can do:

apt-get --purge remove $(deborphan)

In Woody I used to get  shellutils and textutils
listed by deborphan.  This was wrong, because they are
essential packages.  So to prevent removal of any
essential packages, I used to do:

apt-get --purge remove $(deborphan |grep -v shellutils
|grep -v textutils)


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com




More information about the kubuntu-users mailing list