Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-14 Thread Martin Pitt
Hi all, just for the record, I tested Agustin's patch, and it works very well. We have a similar problem in Ubuntu with the same root cause [1], just a slightly different apperance (we move from scrollkeeper to rarian-compat during the upgrade, and the latter makes things blow up). In Debian we

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-11 Thread Niko Tyni
tag 482140 - unreproducible thanks On Fri, Oct 10, 2008 at 04:14:27PM +0200, Agustin Martin wrote: On Tue, Oct 07, 2008 at 05:51:20PM +0200, Daniel Leidert wrote: Examining bug #482140 I found, that update-xmlcatalog fails during dist-upgrade from Etch to Lenny with an Error, that

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-11 Thread Daniel Leidert
Am Samstag, den 11.10.2008, 12:27 +0300 schrieb Niko Tyni: On Fri, Oct 10, 2008 at 04:14:27PM +0200, Agustin Martin wrote: On Tue, Oct 07, 2008 at 05:51:20PM +0200, Daniel Leidert wrote: [..] Here's a simple recipe, starting with a clean Etch chroot: Thanks. [..] I still think the only

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-10 Thread Agustin Martin
On Wed, Oct 08, 2008 at 08:29:02PM +0200, Agustin Martin wrote: I am afraid the only way to make sure is following Niko proposal about pre-dependencies on a newer and fixed xml-core. Me may be lucky and do not need any of this. See below for a possible fix. On Tue, Oct 07, 2008 at 05:51:20PM

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-08 Thread Raphael Hertzog
On Tue, 07 Oct 2008, Daniel Leidert wrote: 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: A prerm cannot rely on packages being configured unless you predepend on them. But predependencies are to be

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-08 Thread Agustin Martin
On Wed, Oct 08, 2008 at 09:50:02AM +0200, Raphael Hertzog wrote: On Wed, 08 Oct 2008, Damyan Ivanov wrote: -=| Agustin Martin, Wed, Oct 08, 2008 at 12:45:30AM +0200 |=- I am attaching a fully untested quick and dirty patch, intending to get rid of File::Spec::Functions by replacing

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-07 Thread Daniel Leidert
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,

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-07 Thread Daniel Leidert
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

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-07 Thread Agustin Martin
On Tue, Oct 07, 2008 at 05:51:20PM +0200, Daniel Leidert wrote: 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

Bug#482140: etch - lenny upgrade fails, because @INC does not contain 5.10 paths

2008-10-07 Thread Damyan Ivanov
-=| Agustin Martin, Wed, Oct 08, 2008 at 12:45:30AM +0200 |=- Looking at /usr/sbin/update-xmlcatalog, seems that only File::Spec::Functions function used is 'catfile' whose calls should be pretty simple to replace, From File::Spec::Unix (where File::Spec::Functions points to) catfile