Bug#534408: debian-policy: Installed-Size is defined as "kilobytes" but dpkg-gencontrol fills it in with kibibytes
Hi!
On Wed, 2009-06-24 at 22:25:15 +0200, Emilio Pozuelo Monfort wrote:
> Giacomo A. Catenazzi wrote:
> > I would change:
> > "It gives the total amount of disk space required to install the named
> > package."
> > to
> > "It gives an indicative amount of disk space required to install the
> > named package."
> > because the field cannot give the real required disk space:
> > - (we really round up the size of every file?)
> > - On linux kernel the block size could be up to 4096 bytes (and it is
> > filesystem dependent,
> > thus unknown on packing time)
> > - we install also directories (the disk space depends heavily on
> > filesystems).
>
> Add to that:
>
> - Packages may install/create in postinst that isn't taken into account in
> Installed-Size.
That's what the Extra-Size substvar is for (see deb-substvars(5)),
but...
> So your change makes sense.
... yes, even with that it's still an approximation.
regards,
guillem
Reply to: