[Debian-astro-maintainers] Bug#804671: astrometry-data-2mass-03: wrong STEP in prerm cleans up the wrong files
Ole Streicher
olebole at debian.org
Tue Nov 10 13:35:41 UTC 2015
Hi Andreas,
thanks for the bug report; I will fix the cleanup issues.
About the size estimate: the package reports the installed size in the
"Installed-Size" field din DEBIAN/control. This information should be
displayed by the package manager. Why should it be included in the
description as well?
Best regards
Ole
On 10.11.2015 14:18, Andreas Beckmann wrote:
> Package: astrometry-data-2mass-03
> Version: 1.0
> Severity: serious
>
> astrometry-data-2mass-03.prerm sets STEP=02 and therefore cleans up the
> wrong files ...
>
> /var/lib/dpkg/info/astrometry-data-2mass-03.prerm:STEP=02
>
> BTW, each package upgrade/reinstallation will delete the downloaded
> files and redownload them again - is that intentional?
> Otherwise the prerm actions should be guarded with
> if [ "$1" = "remove" ] ...
> to skip "upgrade"s.
>
> Oh, and it would be great if the description gives a rough estimate how
> much space is needed for the downloaded files.
>
>
> Andreas
>
> PS: I'm not interested in these packages at all, just investigating why
> my piuparts instance has problems testing them ...
>
>
More information about the Debian-astro-maintainers
mailing list