Re: [RFC] Skipping new-prerm failed-upgrade?

2011-06-19 Thread Raphael Hertzog
Hi, On Sat, 18 Jun 2011, Jonathan Nieder wrote: Raphael Hertzog wrote: 1/ I'd argue that in the case of downgrade, dpkg should not try to run the failed-upgrade fallback because there's no way the oldest version can be aware of how to work-around a problem in a prerm script of a

Re: [RFC] Skipping new-prerm failed-upgrade?

2011-06-19 Thread Russ Allbery
Raphael Hertzog hert...@debian.org writes: I would thus like to discuss 2 ideas: 1/ I'd argue that in the case of downgrade, dpkg should not try to run the failed-upgrade fallback because there's no way the oldest version can be aware of how to work-around a problem in a prerm script

[RFC] Skipping new-prerm failed-upgrade?

2011-06-18 Thread Raphael Hertzog
Hi, to better understand this mail you can refer to this diagram http://people.debian.org/~srivasta/MaintainerScripts.html#sec-3.4.3 During an upgrade from V1 to V2, if V1-prerm upgrade V2 fails, dpkg tries to run V2-prerm failed-upgrade V1 and if it works the upgrade continues normally. This