On Tue, 11 Sep 2012, Jan Rękorajski wrote: > On Tue, 11 Sep 2012, Elan Ruusamäe wrote: > > > On 11.09.2012 13:58, Jan Rękorajski wrote: > > > On Tue, 11 Sep 2012, Artur Frysiak wrote: > > > > > >> On Tue, Sep 11, 2012 at 7:29 AM, Jan Rękorajski <bagg...@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? > > > > > > > this part was disabled in rpm 4.5, seems the patch is not working or > > gone missing? > > patch should have link to bugtracker where previous problems were described > > rpm behaviour is the same with or without the patch. > Probably it must touch something else, maybe name extraction from > NAMESPACE(name)?
Gahhhh, I seem to have broken the patch while updating to rpm5. rel 0.13 will be fixed. -- Jan Rękorajski | PLD/Linux SysAdm | http://www.pld-linux.org/ baggins<at>mimuw.edu.pl baggins<at>pld-linux.org _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en