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

Re: preinst script: warning that downgrading isn't supported.



Frank Lin PIAT <fpiat@klabs.be> writes:

> Hello,
>
> I am working on a package that have a postinst script that process the
> package's data on upgrade.
>
> Is there any current (best) practice to warn the user that downgrading
> isn't supported? (I mean, explicitly notifying when downgrade is not
> supported, rather than silently assuming that the user knows that
> downgrading isn't supported in Debian)?
>
> Franklin
>
>
> PS. Please CC me, I am not subscribed to the list.

Couldn't you check in prerm that the new version is >= the first
compatible version? So only people that do downgrade get the message
that it won't work.

MfG
        Goswin


Reply to: