[xml/sgml-pkgs] Bug#482140: etch -> lenny upgrade fails, because @INC does not contain 5.10 paths

Daniel Leidert daniel.leidert.spam at gmx.net
Tue Oct 7 15:51:20 UTC 2008


Hi all,

Examining bug #482140 I found, that update-xmlcatalog fails during
dist-upgrade from Etch to Lenny with an Error, that Functions.pm cannot
be found in @INC (the same goes for defoma-app, IIRC there Copy.pm was
not found). The paths in @INC were only the generic paths and the 5.8
paths, but the 5.10 paths were missing.

I wonder, how to solve the problem. The problem is reprosucible in my
pbuilder (Etch-)CHROOT doing:

apt-get install docbook-xml vim
apt-get install gnome

(unfortunately I cannot yet reproduce it with a smaller subset of
packages)

vim /etc/apt/sources.list (etch -> lenny)
apt-get update

Remove the `|| true' statements in /var/lib/dpkg/info/docbook-xml.prerm
and add an `set -ex' at the top and you will get the error doing:

apt-get dist-upgrade

Unfortunately I removed the log. But I will produce a new one and send
relevant parts in a second mail. I hope, I understood the log correctly.

ATM I think of using a

Pre-Depends: perl, perl-modules

for xml-core and I hope, it works. But I'm not sure. What is your
opinion?

Regards, Daniel






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