Bug#923475: libgl1-mesa-dri: Installed-Size does not account hardlinks
On 2019-02-28 19:19 +0200, Горбешко Богдан wrote:
> Package: libgl1-mesa-dri
> Version: 18.3.2-1
> Severity: minor
>
> Dear Maintainer,
>
> the size reported in the package description (163 MB) is much larger
> than it actually appears on the disk (24 MB), because most of the
> libraries are sets of hardlinks pointing to same files. Can this be
> accounted please, so the description will not be misleading?
Perhaps, but it would have to be done in dpkg-gencontrol which computes
the Installed-Size field. Right now it processes each direntry
separately which leads to the overestimation.
> Or the pessimistic size is shown intentionally for the case of
> filesystems that do not support hardlinks?
No, dpkg does not work on those anyway[1].
Cheers,
Sven
1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816881
Reply to: