RPM problem: prereq: <file> not honored in upgrade ordering?
Nils Philippsen
nphilipp at redhat.com
Wed Oct 15 07:34:57 UTC 2003
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
--
Nils Philippsen / Red Hat / nphilipp at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20031015/50dfef64/attachment.sig>
More information about the fedora-devel-list
mailing list