[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reasons why downgrades are Not Supported



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -=| Sune Vuorela, 14.01.2007 12:31 |=-
> On 2007-01-14, Justin Pryzby <justinpryzby@users.sourceforge.net> 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.


	dam
- --
Damyan Ivanov                           Modular Software Systems
dam@modsoftsys.com
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam@jabber.minus273.org/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqgo5Hqjlqpcl9jsRAkpwAKC/W0B5TwR3C5rPMZQFWu5ggLR4VgCgm7EG
kR7XW/ot+ID/OJBlItoEVOg=
=X0bU
-----END PGP SIGNATURE-----



Reply to: