]> git.pld-linux.org Git - packages/rpm.git/commit
- check namespaces of dependencies in _rpmtsCheck, don't compare strings blindly
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 30 Nov 2012 12:26:03 +0000 (13:26 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 30 Nov 2012 12:26:03 +0000 (13:26 +0100)
commitd2ec8f01d4cbb82f79d8abc51f26506a58162d9c
treeee7643b082d2b5a6be522748c6596440db99ac38
parent3ca91ccd4e00e6463203171e326a8e0e9ccc3705
- check namespaces of dependencies in _rpmtsCheck, don't compare strings blindly

This patch fixes a bug with ntpd package we encoutered:
- ntpdate has "Conflicts: ntp < 4.2.0-3"
- ntpd has "Provides: ntp = 4.2.4" and "Provides: user(ntp)"
now, if ntpdate is installed then attempt to install ntpd causes
_rpmtsCheck to compare "C: ntp" to both "P: ntp" AND THEN "P: user(ntp)"
due to lack of dependency namespace check. Side effect of this is
infinite loop in _rpmtsCheck due to inner workings of rpm dependency
iterators.
rpm-namespace-compare.patch
rpm.spec
This page took 0.04667 seconds and 4 git commands to generate.