Results 1 to 1 of 1
Hi,
I have used "Obsoletes" in my RPM spec file to rename my old rpm package. When I am trying to upgrade from the old (obsolete) package, the "%preun" section ...
- 06-15-2009 #1Just Joined!
- Join Date
- May 2008
- Posts
- 4
%preun is passed with value 0 to $1 during upgrade
Hi,
I have used "Obsoletes" in my RPM spec file to rename my old rpm package. When I am trying to upgrade from the old (obsolete) package, the "%preun" section gets called in the old (obsolete) package with $1 = 0.
The "%preun" section contains the code for stopping the service, so whenever I am trying to upgrade using -Uvh after completing the installation the service stops.
Is there are anything I am missing here ?
Can anyone please let me know what is the standard procedure for renaming a rpm package.
Thanks
Supratik


Reply With Quote