Re: Weeding
Joey Hess <joey@kitenet.net> writes:
> Bill Wohler wrote:
> > OK, my disk filled up today. Ultimately, I'll get a bigger disk, but
> > in the short term, I'd like to remove some large, unused packages. Is
> > there a tool that gives me a list of installed packages, sorted by
> > size?
>
> grep-dctrl -F Status 'ok installed' /var/lib/dpkg/status -n \
> -s Installed-Size,Package | perl -pe 's/^(\d+)\n/$1 /' \
> | sort -rn | head -20
>
> I'd recommend installing debfoster, and running it once. It'll ask you
> what packages you mean to have installed, will skip over those that
> packages you have installed depend on, and will remove everything else.
> And after you've ran it once, it remembers and you can run it again later
> with only a few questions asked to clean your system up again after it
> gets crufty.
Couldn't popularity-contest be useful as well, provided you have it
installed?
$ 'popularity-contest | grep '<OLD>'
will produce a list of packages you haven't used in a while.
--
Brian Nelson <nelson@bignachos.com>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- References:
- Weeding
- From: Bill Wohler <wohler@newt.com>
- Re: Weeding
- From: Joey Hess <joey@kitenet.net>