Bug#37999: PROPOSED]: A pre-install required space checking mechanism for Debian packages
Richard Braakman <dark@xs4all.nl> writes:
> Is a pregenerated du file necessary? You already assume that you have
> the package at hand, so you might as well collect size information from
> the package directly. That way, you can also handle differences in block
> sizes. And it means that you don't have to change every package.
>
> Richard Braakman
No, I don't assume that. The du files could be all kept in
packages.du.bz2 or there could be a package.du.bz2 for each
packjage. Since they are reasonable small ~70 KB for ALL of main,
downloading a packages.du.bz2 is quick. Compared to the big
Packages.gz you would hardy notice the small delay.
May the Source be with you.
Goswin
Reply to: