[Pkg-remote-team] Bug#845701: Bug#845701: old conffiles still around

Dominik George nik at naturalnet.de
Tue Nov 29 15:00:12 UTC 2016


> tglase at tglase:~ $ fgrep km-0407.ini /var/lib/dpkg/info/xrdp.preinst 
> dpkg-maintscript-helper rm_conffile /etc/xrdp/km-0407.ini 0.9.1\~ -- "$@"
> I think the problem here is that this line was not present
> when I upgraded from 0.9.0~ to 0.9.1~ in the first place,
> so any subsequent upgrades within 0.9.1~ are not caught.


> You probably want something like 0.9.1~20161126+git589b29f-2~
> in the maintscript file, so that the next upload clears it up.
> (Mind a fencepost error, I never used dh maintscript before,
> so I don’t know if it needs a before or an after version, so
> it might be 0.9.1~20161126+git589b29f-3~ instead.)

I actually think that the solution is correct and the conffiles should
be removed when updating from 0.9.0 or earlier. This ensures the upgrade
path from jessie is clean. The 0.9.1…-1 version does actually not have
the config files itself.

It might be arguable that we may want to ensure that every mistake gets
cleaned up at some point, but I personally would trade the leftover
files on the few machines that had the chance to get the -1 version for
reaability of the maintscript file and it conveying what was meant to be
done. I expect users of unstable to be able to remove the files
themselves if they want, so as long as the upgrade path from jessie is
clean, I think it's alright.


PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17  FD26 B79A 3C16 A0C4 F296

Dominik George · Hundeshagenstr. 26 · 53225 Bonn
Mobile: +49-1520-1981389 · https://www.dominik-george.de/

Teckids e.V. · FrOSCon e.V.
Fellowship of the FSFE · Piratenpartei Deutschland
Opencaching Deutschland e.V. · Debian Maintainer

LPIC-3 Linux Enterprise Professional (Security)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-remote-team/attachments/20161129/b0addde9/attachment.sig>

More information about the Pkg-remote-team mailing list