RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [Rpm-maint] Conflicts on files not symmetric

From: Pixel <pixel@mandriva.com>
Date: Fri 19 Sep 2008 - 13:36:39 CEST
Message-ID: <ly3ajwv03c.fsf@leia.mandriva.com>
Michael Schroeder <mls@suse.de> writes:

> Package A contains /foo
> Package B has "Conflicts: /foo"

Since repository metadata can't possibly contain this [*], 
Mandriva has chosen to get rid of file requires/conflicts, unless
explicitly provided. eg:

% rpm -q --provides bash | grep '^/'

which is helpful for backward compatibility (esp. for find-requires).

As for file conflicts, Mandriva policy is to add explicit conflicts.

More generally, on this subject, Mandriva would vote for doing it the
deb way...

[*] can be done with 2 passes when building metadata, but it doesn't
scale across repositories.
Received on Fri Sep 19 13:58:22 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.