[xml/sgml-pkgs] Bug#611418: xml-core: dh_installcatalogs does not handle /etc/sgml and /etc/xml correctly

Nicholas Bamber nicholas at periapt.co.uk
Sat Jan 29 03:45:36 UTC 2011

Package: xml-core
Version: 0.13
Severity: important

w3c-sgml-lib and sgml-data both have a similar piuparts issue.
Both these packages and xml-core claim ownership of /etc/xml and /etc/sgml.
These ownership claims seem to be put there by dh_installxmlcatalogs
which is part of xml-core. 

This seems to me to be at root an issue with dh_installxmlcatalogs.
Rather than putting in these multiple ownership claims,
dh_install_xmlcatalogs should put

mkdir -p /etc/sgml
mkdir -p /etc/xml

into the debian/preinstall so that the dependent packages can
ensure the directories are there without actually claiming ownership.

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xml-core depends on:
ii  sed                           4.2.1-8    The GNU sed stream editor
ii  sgml-base                     1.26+nmu1  SGML infrastructure and SGML catal

xml-core recommends no packages.

Versions of packages xml-core suggests:
ii  debhelper                     8.0.0      helper programs for debian/rules

-- no debconf information

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