[Rpm-maint] Conflicts on files not symmetric

Pixel pixel at mandriva.com
Fri Sep 19 11:36:39 UTC 2008


Michael Schroeder <mls at 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 '^/'
/bin/sh  

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.



More information about the Rpm-maint mailing list