On Fri, 2011-09-09 at 15:41 +0200, Jérémy Bobbio wrote: > On Thu, Sep 08, 2011 at 09:51:40AM +0100, Adam D. Barratt wrote: > > Joss already suggested this a while ago, although didn't file a bug > > for it. Please see my response at > > http://lists.debian.org/1314644249.20904.9.ca...@hathi.jungle.funky-badger.org > > In that email, you were writing: > > > Unless we can guarantee that squeeze's dpkg is available (i.e. at > > least unpacked) before the proposed new preinst for s-t-b runs, the > > dpkg-maintscript-helper call at the end needs guarding or will fail; > > see the integration note at the end of dpkg-maintscript-helper(1). > > Would you consider an upload with an added Pre-Depends on > `dpkg (>= 1.15.7.2)` acceptable?
In the meantime Joss has uploaded a package which takes the alternative approach and guards the calls. This does have the disadvantage of generating an error message on the -maintscript-helper calls if dpkg hasn't been upgraded and potentially leaving the user with a conffile prompt for a change they didn't make (due to the "mv" having been executed, but not -ms-h not having updated the conffiles list), but does mean the upgrade will successfully result in only the new conffile being present. Regards, Adam -- To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1315765875.3482.14.ca...@hathi.jungle.funky-badger.org