[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864201: marked as done (jessie-pu: dblatex/0.3.5-2)



Your message dated Wed, 9 Aug 2017 04:56:44 +0200
with message-id <db5377dc-2828-0e44-04a4-80ffc185b554@debian.org>
and subject line Re: Bug#864201: release.debian.org: jessie dblatex breaks jessie-stretch dist-upgrade
has caused the Debian Bug report #864201,
regarding jessie-pu: dblatex/0.3.5-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
864201: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864201
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 <andreas@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

--- End Message ---
--- Begin Message ---
On 2017-08-08 21:45, Adam D. Barratt wrote:
> On Mon, 2017-06-05 at 15:05 +0200, Andreas Beckmann wrote:
>> On Mon, 05 Jun 2017 09:22:00 +0000 Niels Thykier <niels@thykier.net> wrote:
>>> Thanks for filing this issue.  I have cloned a copy of it to the
>>> release-notes as it is too late to fix in jessie before the stretch release.
>>
>> I think I identified the underlying cause and that can be fixed
>> trivially: just changing a dependency from texlive-math-extra to
>> texlive-science (plus removing superfluous mktexlsr calls from the
>> maintainer scripts to avoid future breakage).
>> texlive-math-extra is a real package in jessie but a virtual package in
>> stretch, that gives apt a headache and it decides to remove dblatex (and
>> does it at the wrong time).
>> That fix should avoid updating the jessie package and avoid needing
>> something in the release notes :-)
> 
> Did anything happen there in the end?

fixed before the release in dblatex 0.3.9-3 in stretch (via sid), no
further action needed


Andreas

--- End Message ---

Reply to: