Re: Postinst and Preun during update processes

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

 



Bart Whiteley wrote:
> Mathieu Fluhr wrote:
> > The problem is the following: When I update an old version of the
> > package to the lastest one for example, the post-installation script of
> > the newest one is executed _BEFORE_ the pre-uninstall script of the old
> > one.
> >
> > My question is simple: Is this normal ? And if yes, how can I make it
> > work, so that the shortcuts are kept when the package is updated.
> 
> Yes, this is normal.  This should be covered in "Hints and Kinks"
> (http://www.rpm.org/hintskinks/) or something.  Maybe it is somewhere but I 
> couldn't see it.  Indeed, during an upgrade, the pre and post scripts of the 
> _new_ package are executed _before_ the pre-un and post-un script of the 
> _old_ package. 

This was also discussed just recently.  Here is my post on it.

  http://www.redhat.com/archives/rpm-list/2005-June/msg00057.html

Bob


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux