Jean-Baptiste Lallement [2008-11-29 23:56 -0000]: > Martin, this can be reproduced with the following steps: > - setup a fresh hardy system > - install the package postgresql-plperl-8.2 and it's dependencies
(Please note that -8.2 isn't present in hardy, and not supported) Right, I wasn't questioning that there is a bug in the upgrade, I'm just 99.9% sure that PostgreSQL is a red herring here. > - Upgrade to Intrepid with 'update-manager -d' > and voilĂ . > > The upgrade fails with the error : > 2008-11-30 00:14:24,508 DEBUG The package 'postgresql-plperl-8.2' is marked > for removal but it's in the removal blacklist > 2008-11-30 00:14:29,716 ERROR Dist-upgrade failed: 'A essential package would > have to be removed' The DEBUG line is correct, -8.2 doesn't exist any more in hardy, but if you still have it installed, it should not be removed. The ERROR line is the real bug here, but I don't think that it is related to postgresql-plperl-8.2. My guess is that -plperl drags in some perl 5.8 library, and the upgrade to intrepid (which switched to Perl 5.10) got temporarily confused. Perl gave lots of trouble in other upgrading scenarios as well. > I don't understand why you say that this has got nothing to do with > postgresql because this is the presence of postgresql-plperl-8.2 that > makes the upgrade fail ? It's some dependency of -plperl-8.2, yes. > Maybe my fix was too straightforward but what would be the correct > solution ? The fix would be actively wrong, since it basically means that people who upgrade Ubuntu couldn't upgrade their old 8.x clusters to 8.3 any more. > I've marked this report "Fix released" because the regex has been > dropped in Jaunty, postgresql-8.2 is not available anymore and the issue > is the upgrade of the system with plperl 8.2 installed. > I reopened it because postgresql-* must not be removed on upgrade. It should be possible to install libperl5.8 and libperl5.10 in parallel, as with every well-behaved library. I haven't tested this upgrade path personally yet (since as I said, 8.2 is not supported in hardy), but I'm willing to bet my lunch that the perl transition is to blame here. -- upgrade 8.10 tool failes because it cannot calculate upgrade https://bugs.launchpad.net/bugs/294134 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
