Package: release.debian.org Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'd kindly ask you to consider a fix for BTS #863890 for the next jessie point release: It has been reported that jessie-stretch dist-upgrades abort because of the dblatex postrm script failing: it calls texlive-binaries command mktexlsr which is unavailable at this very moment. The fix is simple, but needs to be applied to the jessie version of dblatex. BTW, is there a final jessie point release planned to fix such dist-upgrade problems? This would help as users are expected to upgrade to the latest jessie point release before upgrading to stretch: https://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.en.html#system-status Thanks for your feedback on this, Andreas - -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) -----BEGIN PGP SIGNATURE----- iHsEARECADsWIQSkpui1WTrom0lrgvByjYt+uIjSzgUCWTURYx0cYW5kcmVhc0Bo b2VuZW4tdGVyc3RhcHBlbi5kZQAKCRByjYt+uIjSzvw7AJ9zb3B+mEXEgA3BMF8f JWUntfdxQgCfWKXuPEkFZDL8S7MaODl6udarS5A= =KAX7 -----END PGP SIGNATURE-----
diff -Nru dblatex-0.3.5/debian/changelog dblatex-0.3.5/debian/changelog --- dblatex-0.3.5/debian/changelog 2014-12-07 15:10:52.000000000 +0100 +++ dblatex-0.3.5/debian/changelog 2017-06-05 09:35:43.000000000 +0200 @@ -1,3 +1,14 @@ +dblatex (0.3.5-3) stable; urgency=high + + * Remove the call of command "mktexlsr" in postrm: + + It has been reported for some installations to result in upgrade errors + when dist-upgrading from jessie to stretch due to the command being + temporarily unavailable when dblatex postrm is called. + + It is superfluous: mktexlsr gets called via a trigger anyway. + Closes: #863890 + + -- Andreas Hoenen <andr...@hoenen-terstappen.de> Mon, 05 Jun 2017 09:35:43 +0200 + dblatex (0.3.5-2) unstable; urgency=low * 20_nb_quotes_in_title.patch: diff -Nru dblatex-0.3.5/debian/postrm dblatex-0.3.5/debian/postrm --- dblatex-0.3.5/debian/postrm 2012-05-03 20:40:15.000000000 +0200 +++ dblatex-0.3.5/debian/postrm 2017-06-05 09:35:43.000000000 +0200 @@ -19,42 +19,10 @@ case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - # A call to 'mktexlsr' is needed to unregister the dblatex TeX files - # in the TeX database '/var/lib/texmf/ls-R-TEXMFMAIN'. - # - # This call won't do any harm even if it might be superfluous in - # special postrm cases, but it may take some time. - # Thus a performance optimization can be applied to the main case - # of successful package upgrade: - # As the new version's postinst script will register the new version's - # dblatex TeX files in the TeX database, the old version's files that - # have vanished in the new version will be unregistered implicitly then. - # Thus in the case of successful upgrade to another dblatex version - # supporting the TeX (de)registration the deregistration call can be - # left out as a superfluous duplicate. - - if test "$1" = upgrade -a -n "$2" && \ - dpkg --compare-versions "$2" ge 0.1.9-3 - then - true # Unregistration will be executed implicitly by - # 'new-postinst configure'. - else - mktexlsr /usr/share/texmf # Unregister dblatex TeX files in TeX. - fi - ;; purge) - # TeX unregistration has already been executed before. - # (Besides that mktexlsr is not guaranteed to be available at purge - # as it belongs to a non-essential package.) - # Remove dblatex configuration directory. rm --recursive --force /etc/dblatex ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 esac # dh_installdeb will replace this with shell code automatically