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

Re: reasons why downgrades are Not Supported

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 installed package.

Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/

Reply to: