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

Re: RPM problem: prereq: <file> not honored in upgrade ordering?

On Wed, 2003-10-15 at 09:01, Pekka Savola wrote:
> Hi,
> This is semi-offtopic here, but is relevant to see whether this issue has 
> since then been fixed.
> When I was upgrading a RHL72 box to RHL73, I noticed that 
> /usr/sbin/sendmail symlink was not added by the alternatives (done at 
> %post of sendmail).  RHL72 didn't have alternatives, but sendmail.spec 
> does have:
> Prereq: /usr/sbin/alternatives
> .. I upgraded between RHL72 and RHL73 using autoupdate, and the updating 
> of RPM's is done basically by 'rpm -Uvh <long list of RPMs>'.
> >From the logs I note that sendmail was installed before a newer 
> version of chkconfig which would have provided /usr/sbin/alternatives.  
> Thus, no /usr/sbin/alternatives existed when sendmail was upgraded, and 
> the link failed.
> I think this smells like a problem in the ordering RPM uses to upgrade the 
> packages?

Hmm, what was "Prereq" once is "Requires(pre)" now ("Prereq" works like
a normal "Requires"). But that doesn't solve your problem, does it?

     Nils Philippsen    /    Red Hat    /    nphilipp redhat com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011

Attachment: signature.asc
Description: This is a digitally signed message part

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