Your message dated Mon, 26 Mar 2007 03:50:56 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Bug#284013: dpkg --get-selections with package sizes?
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
package: dpkg
version: 1.10.11
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
room.
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.
--
Daniel Lakeland
[EMAIL PROTECTED]
http://www.street-artists.org/~dlakelan
--- End Message ---
--- Begin Message ---
Hi,
On Fri, 2004-12-03 at 09:16:24 -0000, Adam D. Barratt wrote:
> On Thursday, December 02, 2004 10:14 PM, Daniel Lakeland wrote:
> > package: dpkg
> > version: 1.10.11
> > 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
> > room.
>
> Using dpkg itself, possibly not. The man page of the grep-status tool (from
> the grep-dctrl package), however, contains an example invocation to do
> precisely that:
>
> grep-status -FStatus -sInstalled-Size,Package -n "install ok installed" |
> paste -sd " \n" | sort -n
You can actually do something like:
$ dpkg-query -W -f='${Status}|${Package}\t${Installed-Size}\n' '*'
Thus closing, this bug report.
regards,
guillem
--- End Message ---