How to clean up unnecessary dependencies?

Simon Rönnqvist simon at iki.fi
Wed Nov 30 23:10:15 UTC 2005


  Hi!

Thanks for the answer...
I also happened to find another solution, which should de about exactly what I 
was asking for. Aptitude seems to have this kind of functionality... aptitude 
seems really cool... I need to see if it'll replace my use of synaptic, adept 
and apt-get alltogether... ;-)

Does anybody have any experiances and opinions to share about aptitude?

  cheers, Simon


On Wednesday 30 November 2005 22:37, Ben Vinger wrote:
> --- 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