[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#173120: apt-cache's 'size' should say what units

On Sun, Dec 15, 2002 at 06:18:56AM +0800, Dan Jacobson wrote:

> Yes RTFM, but still, you might want to mention if you are talking
> bytes, kb, blocks or what, right there in the output. instead of
> current no units style e.g.,
> $ apt-cache show avifile-player
> Installed-Size: 392
> Size: 109226

Installed-Size is part of the binary package control file format, and its
meaning is specified by the policy manual.  Size is part of the Packages
file format, and its size is in bytes.  apt-cache is simply reproducing this
information verbatim, and it does not attempt to convert it into a more
human-readable form (it just happens that the machine-readable format is
also human-readable).

A more 'friendly' frontend to apt might display these values differently,
but apt-cache is most useful with its current behaviour, I think.

 - mdz

Reply to: