Re: reasons why downgrades are Not Supported
-----BEGIN PGP SIGNED MESSAGE-----
- -=| Sune Vuorela, 14.01.2007 12:31 |=-
> On 2007-01-14, Justin Pryzby <firstname.lastname@example.org> wrote:
>> maintscripts often don't support downgrades just because downgrading has always
>> been advertised as "not guaranteed to work", so very few maintainers put the
>> additional effort and clutter into their code.
> It is not about 'additional effort' but more like 'not being able to
> predict the future'
> how should the (pre|post)inst of package version 1.3 be able to undo the
> changes made in the (pre|post)inst of package version 1.5 ?
It is the other way around.
(pre|post)rm of package version 1.5 must undo the actions.
However, what exactly is undone must depend on the new version (1.3,
1.0, 0.4), which would clutter the code.
So it is no "predicting the future" but "remembering the past".
The big problem IMHO is that not everything may be undone. File format
changes come to mind.
Damyan Ivanov Modular Software Systems
phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
mobile +359(88)856-6067 email@example.com/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----