[xml/sgml-pkgs] Bug#482140: Bug#482140: Bug#482140: must be /etc/sgml
Alan Somers
asomers at alesis.com
Mon Jun 2 16:16:41 UTC 2008
I added debugging statements as suggested by Daniel on Sat, 31 May 2008
02:10:22 +0200 . Unlike Andres, I had no problem with
"http://www.oasis-open.org/docbook/xml/4.1" or "http://docbook.org/xml/4.1".
I only had a problem with "-//OASIS//DTD DocBook XML V4.1//EN". I then
removed the
|| true
from
update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook XML
V4.1//EN" --package docbook-xml || true
and ran
dpkg --configure docbook-xml
again. However, as with Andres the prerm script did not get run at all.
Considering that Andres can no longer reproduce the bug, I'm not going to
attempt reinstall docbook-xml until I get a suggestion from Daniel. Here is
the output of dpkg with the debugging statements added
Setting up docbook-xml (5.5-5) ...
+ '[' configure = configure ']'
+ rm -f /etc/sgml/docbook-xml.cat
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.0/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.2/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.3/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.4/catalog
+ for ordcat in /usr/share/xml/docbook/schema/dtd/catalog
/usr/share/xml/docbook/schema/dtd/4.0/catalog
/usr/share/xml/docbook/schema/dtd/4.1.2/catalog
/usr/share/xml/docbook/schema/dtd/4.2/catalog
/usr/share/xml/docbook/schema/dtd/4.3/catalog
/usr/share/xml/docbook/schema/dtd/4.4/catalog
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add /etc/sgml/docbook-xml.cat
/usr/share/xml/docbook/schema/dtd/4.5/catalog
+ update-catalog --quiet --add --super /etc/sgml/docbook-xml.cat
+ '[' configure = configure ']'
+ update-xmlcatalog --add --type system --id
http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd --package docbook-xml
--local /usr/share/xml/docbook/schema/dtd/catalog.xml
update-xmlcatalog: notice: entity already registered
update-xmlcatalog: reading catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: removing backup /etc/xml/docbook-xml.xml.old
update-xmlcatalog: moving catalog /etc/xml/docbook-xml.xml to backup
/etc/xml/docbook-xml.xml.old
update-xmlcatalog: writing catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: writing catalog /etc/xml/docbook-xml.xml
+ update-xmlcatalog --add --type system --id
http://docbook.org/xml/4.1/docbookx.dtd --package docbook-xml --local
/usr/share/xml/docbook/schema/dtd/catalog.xml
update-xmlcatalog: notice: entity already registered
update-xmlcatalog: reading catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: removing backup /etc/xml/docbook-xml.xml.old
update-xmlcatalog: moving catalog /etc/xml/docbook-xml.xml to backup
/etc/xml/docbook-xml.xml.old
update-xmlcatalog: writing catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: writing catalog /etc/xml/docbook-xml.xml
+ update-xmlcatalog --add --type public --id '-//OASIS//DTD DocBook XML
V4.1//EN' --package docbook-xml --local
/usr/share/xml/docbook/schema/dtd/catalog.xml
update-xmlcatalog: error: entity already registered
update-xmlcatalog: reading catalog data /var/lib/xml-core/docbook-xml
DEBUG: entry=catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml",
key=delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1//EN",
catalog=/etc/xml/docbook-xml.xml,
catalog{key}=catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog
.xml"
dpkg: error processing docbook-xml (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
docbook-xml
-Alan Somers
Alesis, LLC
300 Corporate Pointe, Suite 500
Culver City, CA 90230
Tel: 310-693-7005 Ext. 7027
More information about the debian-xml-sgml-pkgs
mailing list