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

Attachment: sgml.tgz
Description: application/compressed-tar

Attachment: docbook-xml.postinst
Description: Binary data

Reply via email to