Hi, On Sun, 22 Apr 2012, Michael Biebl wrote: > Personally, I would prefer, if dpkg-maintscript would use > first-fixed-version instead of priorversion (i.e. < instead <=), as you > know exactly the version when the conffile was (re)moved, but you can't > be sure about value of priorversion, since this might change (e.g. by a > binNMU). > > Raphael, what was the reasoning for choosing the current syntax?
The difference between the two is dim and the latest version of the manual page already advises to build up the biggest possible unfixed version for similar reasons: ---- priorversion defines the latest version of the package whose upgrade should trigger the removal. It is important to calculate priorversion correctly so that conffiles are correctly removed even if the user rebuilt the package with a local version. For example, for a conffile removed in version 2.0-1 of a package, priorversion should be set to 2.0-1~. This will cause the conffile to be removed even if the user rebuilt the previous version 1.0-1 as 1.0-1local1. ---- > Maybe should have used 43-1~~ instead of 37-1. This is ugly, but it > would have avoided this particular problem and it even would be > backport-safe. "43-1~ < 43-1~bpo60" so "43-1~" should be enough Cheers, -- Raphaël Hertzog ◈ Debian Developer Pre-order a copy of the Debian Administrator's Handbook and help liberate it: http://debian-handbook.info/liberation/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org