On Tue, Apr 17, 2012 at 09:08:30AM -0400, Joey Hess wrote: > Helmut Grohne wrote: > > An admin could call update-catalog --transition for a package that was > > not rebuilt with the newer debhelper. In that case harm would still > > happen. Do you have an idea about how to prevent this? > > Since this is deleting possibly modified config files on upgrade anyway, > this doesn't seem worth worrying about.
Thinking about it we could check the state of the package being transitioned. If an admin calls --transition that would most likely be "ii". If preinst calls it, I guess it would be "iF" or at least not "ii". > Ok, that's annoying as each package would need misc:PreDepends added. > > In that case, maybe this should be left in debhelper. I am pretty > uncomfortable with it though, especially since it does delete config > files. So we seem to agree that both solutions (present vs. adding --transition to sgml-base) are doable and both have their own problems. Are you still interested in pushing the transitional code to sgml-base? Your arguments have convinced me that it could work. I have not yet updated the patch to do that, so please tell me whether you want that change (at least for evaluation). Helmut -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org