Re: how to tell what packages are unused on a debian server?
On Fri, 2010-10-29 at 06:12 -0400, Robert P. J. Day wrote:
> just a cleanup-related question but on a debian lenny server that
> i've inherited, i'm curious to know which packages have no value
> whatever and that i can delete. i recall there's a utility that will
> identify unused libraries but i'm curious about what else i can
> pinpoint that can be removed.
will help you remove packages that are not needed by other packages !
> this system is a web/mail server and, since its IP address is
> assigned statically and another system is responsible for all DNS/DHCP
> functionality internally, i conclude that i can remove the
> dhcp-related packages. that's just one example.
this is a bit more "human dependent" ... the packaging system can not
tell what packages _you_ don't want...
I'dd suggest "dpkg -l" and start looking at the one-by-one trying to
identify things you don't want.
then "apt-get remove package-i-dont-want" ... but be carefull with the
things that will be cascade-removed !!! read the messages carefully
before saying the final "Yes" :)
> any utilities that can help out in this regard? thanks.
> Robert P. J. Day Waterloo, Ontario, CANADA
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday