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

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



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?

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings




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