Am Freitag, den 30.05.2008, 14:42 -0700 schrieb Alan Somers: > I have the same problem. I have a computer that originally ran Sarge, that > I upgraded to Etch when that became stable, and that I now attempted to > upgrade to unstable. The upgrade failed when configuring docbook-xml. By > Daniel's suggestion, here is the output of dpkg --configure docbook-xml > when run with set -ex in vim /var/lib/dpkg/info/docbook-xml.postinst > > Setting up docbook-xml (4.5-5) ... [snip] > + 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
Well, the tool is not really verbose. Please do me a favour and edit /usr/sbin/update-xmlcatalog. Add the following lines (the first line I write is already in the file - it should just help to find the correct place): use vars qw( $verbose ); $verbose = 1; # add this line And in the function add_entry(), please add: print STDERR "$name: error: entity already registered\n"; print "DEBUG: entry=$entry, key=$key, catalog=$catalog, catalog{key}=" . $catalog{$key} . "\n"; # add this line print "$name: adding entity to catalog data $catalog_data\n" if $verbose; print "DEBUG: entry=$entry, key=$key, catalog=$catalog\n"; # add this line And send me the complete output you get. E.g. with ... > /tmp/dblog 2>&1 I hope this will help me to understand, what's happening on your systems. Regards, Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]