RPM Community Forums

Mailing List Message of <rpm-devel>

RPM installation ordering

From: Jay Soffian <jaysoffian@gmail.com>
Date: Tue 01 Jul 2008 - 03:17:02 CEST
Message-ID: <76718490806301817r5f8edab5w2d60ae9fafcac220@mail.gmail.com>
Jeff,

Is /bin/rpm's topological sorting stable?

That is, given three RPMs on the command line:

# /bin/rpm -U rpm1.rpm rpm2.rpm rpm3.rpm

are the RPMs guaranteed to be installed in that order, absent any
inter-dependencies?

If not, I assume my options to guarantee install order are:

1. Use PreReqs -- except I can't because I'm not in control of the RPMs.
2. Use --noorder
3. /bin/rpm -U rpm1.rpm && /bin/rpm -U rpm2.rpm && /bin/rpm -U rpm3.rpm

Is that about it?

Thanks,

j.
Received on Tue Jul 1 03:19:35 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.