Re: reasons why downgrades are Not Supported

2007-01-14 Thread Sune Vuorela
On 2007-01-14, Justin Pryzby [EMAIL PROTECTED] 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'

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Damyan Ivanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -=| Sune Vuorela, 14.01.2007 12:31 |=- On 2007-01-14, Justin Pryzby [EMAIL PROTECTED] wrote: maintscripts often don't support downgrades just because downgrading has always been advertised as not guaranteed to work, so very few maintainers put

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Tobias Richter
[EMAIL PROTECTED] wrote: (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. Correct me if I'm wrong, but the old (pre|post)rm can only be called with 'remove', 'pruge' or

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Daniel Baumann
Tobias Richter wrote: Correct me if I'm wrong, but the old (pre|post)rm can only be called with 'remove', 'pruge' or 'upgrade'. So the script does not know that there is a downgrade (to which version?) being installed afterwards. maintainerscripts can call dpkg to get the version of the

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Damyan Ivanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -=| Tobias Richter, 14.01.2007 13:29 |=- [EMAIL PROTECTED] wrote: (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. Correct

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Mike Hommey
On Sun, Jan 14, 2007 at 02:31:28PM +0200, Damyan Ivanov [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -=| Tobias Richter, 14.01.2007 13:29 |=- [EMAIL PROTECTED] wrote: (pre|post)rm of package version 1.5 must undo the actions. However, what exactly is undone

Re: reasons why downgrades are Not Supported

2007-01-14 Thread Roberto C. Sanchez
On Sun, Jan 14, 2007 at 01:21:37AM -0500, Justin Pryzby wrote: Package downgrades are not supported. Usually, they will work, since it is often just replacement of a set of files with different ones (often the same names) with different contents. I think if there were always true, downgrades

reasons why downgrades are Not Supported

2007-01-13 Thread Justin Pryzby
Package downgrades are not supported. Usually, they will work, since it is often just replacement of a set of files with different ones (often the same names) with different contents. I think if there were always true, downgrades would be no problem (besides the general tendency for higher