[xml/sgml-pkgs] Bug#482140: Bug#482140: Bug#482140: must be /etc/sgml

Andres Salomon dilinger at queued.net
Sat May 31 02:19:16 UTC 2008


On Sat, 31 May 2008 02:10:22 +0200
Daniel Leidert <daniel.leidert at wgdd.de> wrote:

> 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
> 


Here's the output from a dist-upgrade.  I added multiple DEBUG lines; one
after the line you suggested, and an additional two after each "already
registered" error line.




Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up docbook-xml (4.5-5) ...
update-xmlcatalog: reading catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: notice: entity already registered
DEBUG(notice already registered): entry=catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml", key=delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd", catalog=/etc/xml/docbook-xml.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: reading catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: notice: entity already registered
DEBUG(notice already registered): entry=catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml", key=delegateSystem systemIdStartString="http://docbook.org/xml/4.1/docbookx.dtd", catalog=/etc/xml/docbook-xml.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: reading catalog data /var/lib/xml-core/docbook-xml
update-xmlcatalog: error: entity already registered
DEBUG(error already registered): 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
dpkg: error processing docbook-xml (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of scrollkeeper:
 scrollkeeper depends on docbook-xml (>= 4.2-11); however:
  Package docbook-xml is not configured yet.
dpkg: error processing scrollkeeper (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of capplets-data:
 capplets-data depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing capplets-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-control-center:
 gnome-control-center depends on capplets-data (>= 1:2.22); however:
  Package capplets-data is not configured yet.
 gnome-control-center depends on capplets-data (<< 1:2.23); however:
  Package capplets-data is not configured yet.
dpkg: error processing gnome-control-center (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-panel-data:
 gnome-panel-data depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gnome-panel-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-panel:
 gnome-panel depends on gnome-control-center (>= 1:2.8.2-3); however:
  Package gnome-control-center is not configured yet.
 gnome-panel depends on gnome-panel-data (>= 2.20); however:
  Package gnome-panel-data is not configured yet.
 gnome-panel depends on gnome-panel-data (<< 2.21); however:
  Package gnome-panel-data is not configured yet.
dpkg: error processing gnome-panel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of alacarte:
 alacarte depends on gnome-panel; however:
  Package gnome-panel is not configured yet.
dpkg: error processing alacarte (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bug-buddy:
 bug-buddy depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing bug-buddy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fast-user-switch-applet:
 fast-user-switch-applet depends on gnome-panel; however:
  Package gnome-panel is not configured yet.
dpkg: error processing fast-user-switch-applet (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gedit:
 gedit depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gedit (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-applets-data:
 gnome-applets-data depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gnome-applets-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-applets:
 gnome-applets depends on gnome-applets-data (>= 2.20); however:
  Package gnome-applets-data is not configured yet.
 gnome-applets depends on gnome-applets-data (<< 2.21); however:
  Package gnome-applets-data is not configured yet.
 gnome-applets depends on gnome-panel (>= 2.13.4); however:
  Package gnome-panel is not configured yet.
dpkg: error processing gnome-applets (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-session:
 gnome-session depends on gnome-control-center (>= 1:2.22); however:
  Package gnome-control-center is not configured yet.
dpkg: error processing gnome-session (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-terminal:
 gnome-terminal depends on gnome-control-center (>= 1:2.8.0); however:
  Package gnome-control-center is not configured yet.
 gnome-terminal depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gnome-terminal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nautilus-data:
 nautilus-data depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing nautilus-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nautilus:
 nautilus depends on gnome-control-center (>= 2.6); however:
  Package gnome-control-center is not configured yet.
 nautilus depends on nautilus-data (>= 2.20); however:
  Package nautilus-data is not configured yet.
 nautilus depends on nautilus-data (<< 2.21); however:
  Package nautilus-data is not configured yet.
dpkg: error processing nautilus (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of yelp:
 yelp depends on docbook-xml (>= 4.1.2); however:
  Package docbook-xml is not configured yet.
dpkg: error processing yelp (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-core:
 gnome-core depends on gedit (>= 2.20.4); however:
  Package gedit is not configured yet.
 gnome-core depends on gnome-applets (>= 2.20.0); however:
  Package gnome-applets is not configured yet.
 gnome-core depends on gnome-control-center (>= 1:2.20.1); however:
  Package gnome-control-center is not configured yet.
 gnome-core depends on gnome-panel (>= 2.20.2); however:
  Package gnome-panel is not configured yet.
 gnome-core depends on gnome-session (>= 2.20.2); however:
  Package gnome-session is not configured yet.
 gnome-core depends on gnome-terminal (>= 2.18.3); however:
  Package gnome-terminal is not configured yet.
 gnome-core depends on nautilus (>= 2.20.0); however:
  Package nautilus is not configured yet.
 gnome-core depends on scrollkeeper | rarian-compat; however:
  Package scrollkeeper is not configured yet.
  Package rarian-compat is not installed.
 gnome-core depends on yelp (>= 2.20.0); however:
  Package yelp is not configured yet.
dpkg: error processing gnome-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-system-monitor:
 gnome-system-monitor depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gnome-system-monitor (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-user-guide:
 gnome-user-guide depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
 gnome-user-guide depends on yelp; however:
  Package yelp is not configured yet.
dpkg: error processing gnome-user-guide (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-utils:
 gnome-utils depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gnome-utils (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gucharmap:
 gucharmap depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing gucharmap (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nautilus-cd-burner:
 nautilus-cd-burner depends on nautilus; however:
  Package nautilus is not configured yet.
dpkg: error processing nautilus-cd-burner (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of synaptic:
 synaptic depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing synaptic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xorg:
 xorg depends on xterm | x-terminal-emulator; however:
  Package xterm is not installed.
  Package x-terminal-emulator is not installed.
  Package gnome-terminal which provides x-terminal-emulator is not configured yet.
dpkg: error processing xorg (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zenity:
 zenity depends on scrollkeeper; however:
  Package scrollkeeper is not configured yet.
dpkg: error processing zenity (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 docbook-xml
 scrollkeeper
 capplets-data
 gnome-control-center
 gnome-panel-data
 gnome-panel
 alacarte
 bug-buddy
 fast-user-switch-applet
 gedit
 gnome-applets-data
 gnome-applets
 gnome-session
 gnome-terminal
 nautilus-data
 nautilus
 yelp
 gnome-core
 gnome-system-monitor
 gnome-user-guide
 gnome-utils
 gucharmap
 nautilus-cd-burner
 synaptic
 xorg
 zenity
E: Sub-process /usr/bin/dpkg returned an error code (1)





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