RPM Community Forums

Mailing List Message of <rpm-users>

'Obsolotes' and 'Requires'

From: Anshuman Kanetkar <l1w0lf@gmail.com>
Date: Mon 01 Jun 2009 - 21:28:16 CEST
Message-ID: <5e7a8c890906011228t7377152ucaa64bd132c0be3@mail.gmail.com>
Hi,
   Can the 'Obsoletes' and 'Requires' relations be combined together,
directed towards the same target from an RPM?
e.g.

a.rpm -- Obsoletes --> b.rpm
a.rpm -- Requires --> b.rpm


What I want to express is that package 'a' needs 'b' as a prerequisite
('a'  cannot be installed unless 'b' is installed first), but the
installation of 'a' should then obsolete 'b'.

Does RPM allow such semantics?

Thanks!
-Anshuman.
Received on Mon Jun 1 21:44:28 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.