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

Bug#825002: marked as done (sgml-base: broken super catalog after removing docutils-common)



Your message dated Tue, 14 Jun 2016 22:52:20 +0000
with message-id <E1bCxC0-0003ri-7o@franck.debian.org>
and subject line Bug#825002: fixed in sgml-base 1.28
has caused the Debian Bug report #825002,
regarding sgml-base: broken super catalog after removing docutils-common
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.)


-- 
825002: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825002
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sgml-base
Version: 1.26+nmu2
Severity: serious
Justification: breaks reverse dependencies like openjade
Owner: helmutg@debian.org
User: helmutg@debian.org
Usertags: rebootstrap

In dpkg 1.17.0, trigger processing was changed. Starting with that
version, dpkg no longer activates triggers for conffiles on package
removal (because conffiles are only removed during purge). Since that
version the following sequence in a pristine sid chroot leaves a broken
super catalog:

    apt-get install docutils-common
    apt-get remove docutils-common

The latter invocation does not trigger sgml-base. Thus docutils-common
remains in the super catalog and e.g. openjade fails.

After discussion this with Guillem Jover, we concluded that this
particular use of sgml-base was not intentional, so dpkg will not revert
to the 1.16.10 behaviour.

Guillem Jover suggested that sgml-base should provide a
conffile-independent trigger (e.g. "update-catalog") and that packages
providing catalogs should invoke it explicitly. Implementing this
implies changing sgml-base, debhelper and reuploading 24 source
packages shipping catalogs.

A simpler approach is to trigger on the referenced files. For all
relevant cases, they reside in /usr/share/sgml or /usr/share/xml.
Declaring interest on both locations means triggering on 70 binary
packages (i.e. 46 excess). This approach practically fixes the bug with
one upload.

I intend to pursue a combination of the above: Fix the immediate bug
with the second method and update dh_installcatalogs to issue the
trigger but skip updating those 24 source packages.

I intend to upload the attached patch after gaining more confidence in
not causing more breakage. Feedback welcome.

Helmut
diff --minimal -Nru sgml-base-1.27/debian/changelog sgml-base-1.28/debian/changelog
--- sgml-base-1.27/debian/changelog	2016-05-17 04:19:42.000000000 +0200
+++ sgml-base-1.28/debian/changelog	2016-05-22 12:21:57.000000000 +0200
@@ -1,3 +1,12 @@
+sgml-base (1.28) unstable; urgency=medium
+
+  * QA upload.
+  * Fix missing catalog update introduced in dpkg 1.17.0. (Closes: #-1)
+    + Declare trigger interest on /usr/share/sgml, /usr/share/xml and
+      update-catalog (for pending debhelper change).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 21 May 2016 23:46:45 +0200
+
 sgml-base (1.27) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru sgml-base-1.27/debian/sgml-base.triggers sgml-base-1.28/debian/sgml-base.triggers
--- sgml-base-1.27/debian/sgml-base.triggers	2012-05-28 13:58:23.000000000 +0200
+++ sgml-base-1.28/debian/sgml-base.triggers	2016-05-22 07:58:48.000000000 +0200
@@ -1 +1,4 @@
+interest update-catalog
 interest /etc/sgml
+interest /usr/share/sgml
+interest /usr/share/xml

--- End Message ---
--- Begin Message ---
Source: sgml-base
Source-Version: 1.28

We believe that the bug you reported is fixed in the latest version of
sgml-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 825002@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <helmut@subdivi.de> (supplier of updated sgml-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 14 Jun 2016 22:20:42 +0200
Source: sgml-base
Binary: sgml-base
Architecture: source
Version: 1.28
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Helmut Grohne <helmut@subdivi.de>
Description:
 sgml-base  - SGML infrastructure and SGML catalog file support
Closes: 825002
Changes:
 sgml-base (1.28) unstable; urgency=medium
 .
   * QA upload.
   * Fix missing catalog update introduced in dpkg 1.17.0. (Closes: #825002)
     + Declare trigger interest on /usr/share/sgml, /usr/share/xml and
       update-sgmlcatalog (for pending debhelper change).
Checksums-Sha1:
 77dab53089faa888db4d4b139aac1c642379ce7b 1387 sgml-base_1.28.dsc
 33325dc0a19d6b6d7f95a2671d110d56b7928ec9 12192 sgml-base_1.28.tar.xz
Checksums-Sha256:
 75295c0c6a9f7b6a6198500cf4518485a0ae6509f03a551d19968cb6a5100615 1387 sgml-base_1.28.dsc
 a604f9b6dc4a87d2dbcc8175d3d9256432b2021bafa7638a1d6a330a79e379a4 12192 sgml-base_1.28.tar.xz
Files:
 cc9a5bdf643e7ed1471c744d29e8628a 1387 text optional sgml-base_1.28.dsc
 bdbf5a59dec044e4acaa90b57e6bc28e 12192 text optional sgml-base_1.28.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXYGdRAAoJEC0aqs8kRERCDIIQAJJ6XOwOa3CAnrQnA2tw8jTF
W2j5o/pIAjKdrFPh66vbyqmtzJhY1ky+m8hbpgU4QHp45AxWwlpVOzCKGes4/BuW
a0XhZd2mTJKVaQ4Zh5FSFGu4gR4LP+nNwCvnMwZDjKEBNIYvbS+rvz58qXS8q0lc
N6vckSRRfXXL8RbEwlQc2H+XQyLZwdUPZSV+ojkJxGuf6BshgTomq4zS3AT46x+t
cwdnO6T0oOrbOg6MeC/NJMdOO1rFoRjtG4373jB5tl0wI5vKrixOW3zdh5wIOVn+
qWEhl5AWNSPBcgR5RGuhfcRObHTvh5JhczjmqP/kRm028ZSRiq0XL7MuAN+cz/gv
g3xH5sccceA+fld5NeYh4g1sb5b6jRtl/OkExx2zRjlGYuVjfUNfBVmPB6X35BjN
C/hzvXLQyuAcKXyViSw4Zydw7rLSkhlZpyyfi/4j6M5I2dMfkFC+/iVkR4r2AKUR
utjdeRwyuLOKUjYakJ/uJV0R3wbJXDVeHlOW4ctF9Myebl2ARpzvjRa/3ANqFnFm
MN3o/NERmQEMFsOQAxFINV7yuIpsXWaqg5dLL1iYBYYl/Hhin2hJbl0B31wQQpKX
hACkMbNkcsSBR1eiMRdUwJ26qUTmlqcojr4dGU+yFcvZb5FSY+8vhvUCIfW+a48A
Id0QgP+5TyXmoG47Tya0
=1vnH
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: