Followup-For: Bug #916641 Control: tag -1 patch Hi,
attached is the trivial patch to fix the removal of the alternatives upon package removal. Andreas
diff -Nru jaxb-2.3.0.1/debian/changelog jaxb-2.3.0.1/debian/changelog --- jaxb-2.3.0.1/debian/changelog 2018-12-13 10:37:48.000000000 +0100 +++ jaxb-2.3.0.1/debian/changelog 2019-03-15 11:52:50.000000000 +0100 @@ -1,3 +1,10 @@ +jaxb (2.3.0.1-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix removal of alternatives. (Closes: #916641) + + -- Andreas Beckmann <a...@debian.org> Fri, 15 Mar 2019 11:52:50 +0100 + jaxb (2.3.0.1-7) unstable; urgency=medium * Team upload. diff -Nru jaxb-2.3.0.1/debian/jaxb.prerm jaxb-2.3.0.1/debian/jaxb.prerm --- jaxb-2.3.0.1/debian/jaxb.prerm 2018-12-13 00:28:17.000000000 +0100 +++ jaxb-2.3.0.1/debian/jaxb.prerm 2019-03-15 11:50:13.000000000 +0100 @@ -3,8 +3,8 @@ set -e if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then - update-alternatives --remove wsgen /usr/share/jaxb/bin/schemagen.zip.sh - update-alternatives --remove wsimport /usr/share/jaxb/bin/xjc.zip.sh + update-alternatives --remove schemagen /usr/share/jaxb/bin/schemagen.zip.sh + update-alternatives --remove xjc /usr/share/jaxb/bin/xjc.zip.sh fi #DEBHELPER#