Am Dienstag, den 07.10.2008, 17:51 +0200 schrieb Daniel Leidert: > 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.
Here the log output: > Preparing to replace fontconfig 2.4.2-1.2 (using > .../fontconfig_2.6.0-1_i386.deb) ... > Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 > /usr/share > /perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at > /usr/bin/defoma-app line 7. > BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7. > dpkg: warning - old pre-removal script returned error exit status 2 > dpkg - trying script from the new package instead ... > dpkg: ... it looks like that went OK. and for update-xmlcatalog: > Preparing to replace docbook-xml 4.4-5 (using .../docbook-xml_4.5-5_all.deb) > ... > Can't locate File/Spec/Functions.pm in @INC (@INC > contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 > /usr/local/lib/site_perl .) at /usr/sbin/update-xmlcatalog line 124. > BEGIN failed--compilation aborted at /usr/sbin/update-xmlcatalog line 124. I guess, update-xmlcatalog still fails by trying the prerm script from the new version - we just don't see it because of the `|| true' statements in it. And thus the bug #482140 is observed. The issue does not occur, if perl and perl-modules are updated/installed before I try to update docbook-xml. In this case, everything works fine. Ideas are appreciated. Regards, Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]