rpm 5.4.10 for testing in th-test

Jan Rękorajski baggins at pld-linux.org
Tue Sep 11 12:58:59 CEST 2012


On Tue, 11 Sep 2012, Artur Frysiak wrote:

> On Tue, Sep 11, 2012 at 7:29 AM, Jan Rękorajski <baggins at pld-linux.org> wrote:
> > On Mon, 10 Sep 2012, Artur Frysiak wrote:
> >> $ LC_ALL=C sudo rpm -Uhv systemd-187-4.x86_64.rpm
> >> systemd-libs-187-4.x86_64.rpm systemd-units-187-4.x86_64.rpm
> >> udev-core-187-4.x86_64.rpm udev-libs-187-4.x86_64.rpm
> >> udev-initrd-187-4.x86_64.rpm udev-187-4.x86_64.rpm
> >> error: Failed dependencies:
> >>         mpd < 0.16.5-4 conflicts with systemd-187-4.x86_64
> >>         stunnel < 4.50-2 conflicts with systemd-187-4.x86_64
> >> $ rpm -q mpd stunnel
> >> mpd-0.16.7-4.x86_64
> >> stunnel-4.52-1.x86_64
> >
> > rpm -q rpm? ;)
> 
> $ rpm -q rpm
> rpm-5.4.10-0.12.x86_64

The problem comes from mpd and stunnel have Provides user(%{name}) and
group(%{name}), and rpm mixes RPMNS_TYPE_USER/RPMNS_TYPE_GROUP namespace
deps with RPMNS_TYPE_VERSION(?) causing P:group(%{name}) to behave like
unversioned P:%{name} and satisfying that conflict:

D:   NO     A config(mpd) = 0:0.16.7-4  B mpd < 0.16.5-4
D:   YES    A group(mpd)        B mpd < 0.16.5-4
D: Conflicts: mpd < 0.16.5-4                                YES (db provides)
D: package systemd-187-4.x86_64 has unsatisfied Conflicts: mpd < 0.16.5-4

Shouldn't rpmdsCompare test if the comparison is in the same namespace?

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list