Bug#284013: dpkg --get-selections with package sizes?
There is no way to easily get a listing of installed packages with
sizes so that one can clean up a Debian system which is running out of
This makes it hard to maintain a system when it gets near 100% disk
capacity on the / or /usr filesystem since you need to look through
all the installed packages to find ones to get rid of, but you don't
know how much space each package takes up.
Most package management tools won't sort by size, and it would be
easiest if you could just do dpkg --get-selections-and-sizes and sort
it using "sort" or something like that.