[xml/sgml-pkgs] Bug#477751: tackling this bug

Helmut Grohne helmut at subdivi.de
Sun Dec 4 22:59:55 UTC 2011


Hi Joey,

thanks for your quick answer.

On Sun, Dec 04, 2011 at 05:25:42PM -0400, Joey Hess wrote:
> I haven't considered all the implications... Will the new sgml-base
> work ok with the old postinst? With mixtures of the new and old
> postinsts?

Good question! Let's look at them individually. The old postinst just
uses --add which is idempotent (old and new). So this should all work
out. The old postrm just does rm and the old prerm does --remove on the
root catalog. This should work as well (even though it now leaves a
comment). The prerm however needs updating as well, as it should no
longer --remove on upgrade (as we can no longer --add on upgrade).

> I'm happy moving ahead with the debhelper changes as soon as sgml-base
> is in unstable.

Good. This would also necessitate a versioned dependency on sgml-base.

Do you want a diff for debhelper?

Helmut





More information about the debian-xml-sgml-pkgs mailing list