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

Xavi Drudis Ferran xdrudis at tinet.cat
Wed May 28 20:34:11 UTC 2008


Hi.

I'm sending my /var/lib/dpkg/info/docbook-xml.postinst

The line that's failing is the one after the initial for loop:

update-catalog  --add --super /etc/sgml/docbook-xml.cat

In my /etc/sgml/catalog I already have a line with /etc/sgml/docbook-xml.cat

and it's also in /etc/sgml/catalog.old

I'm attaching a tarball of /etc/sgml (before playing with the scripts)

But the .prerm script looks like it should have removed the docbook-xml.cat entry.
In fact it does if I run it with "upgrade" as an argument

In my /var/log/dpkg.log it looks like docbook-xml 4.4-5 was installed, and afterwards
and upgrade to 4.5-5 was attempted but it was left half-configured

So my only guess is that maybe the prerm script in docbook-xml 4.4-5 did not
run update-catalog --quiet --remove --super /etc/sgml/docbook-xml.cat
for some reason ?

Maybe the bug is in etch, not lenny, but it can be worked around in lenny ?

I can't seem to understand anything more, so I'm removing and installing the package to
continue the instalation.

Hope this helps somehow...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sgml.tgz
Type: application/x-compressed-tar
Size: 1998 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080528/f523996c/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docbook-xml.postinst
Type: application/octet-stream
Size: 13502 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080528/f523996c/attachment-0001.obj 


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