Re: Bug#489132: lenny release notes, upgrade dpkg first
Raphael Hertzog wrote:
> On Thu, 03 Jul 2008, Bryan Donlan wrote:
>> On Thu, Jul 3, 2008 at 6:25 AM, Raphael Hertzog <firstname.lastname@example.org> wrote:
>>> Package: release-notes
>>> Severity: important
>>> To work-around a problem that can happen in the perl 5.10 upgrade (see
>>> #479711), the perl scripts contained in dpkg (update-alternatives,
>>> dpkg-divert) have been modified... but for the work-around to be used, the
>>> new dpkg must obviously be installed first, before the dist-upgrade.
>>> Given that the new dpkg also supports triggers, we should probably also
>>> recommend to upgrade apt/aptitude at the same time otherwise those tools
>>> might be confused by the new package status...
>> Would it be better to just set pre-depends on the appropriate version
>> of dpkg in perl? That ought to ensure they are upgraded in the correct
>> order, even for people who don't read the release notes :)
> Hum, this might be possible indeed. We don't like frequent use of
> Pre-Depends but this one might be justifiable. Ccing -devel for comments
> and email@example.com as they'd have to do it.
> I'd like to also note that dpkg conflicts with the old version of
> apt/aptitude, so this will also force the upgrade of apt/aptitude.
Requiring from everyone wanting to upgrade to first manually upgrade
dpkg (and apt/aptitude) should be avoided if possible.
If the Pre-Depends will not break anything in whatever scenario it's