Description of problem: I have some repos in my yum.conf from which I only select a few packages. As of yesterday, yum attempts to install various "updates" from them that it shouldn't even see. The problem is not fixed in today's yum. Version-Release number of selected component (if applicable): yum-3.2.12-3.fc9.noarch How reproducible: Every time Steps to Reproduce: 1.Add the following to a rawhide configuration: [dag-fc3] name=dag-fc3 baseurl=http://apt.sw.be/fedora/3/en/$basearch/dag enabled=1 includepkgs=ogle* 2.yum install distcc Actual results: It succeeds in installing distcc from the repository. Expected results: The package should have been excluded. Additional info: I actually have distcc* enabled and it's other packages from other repositories that are being replaced, but this was the simplest example I could come up with.
This is fixed upstream, it was a bad optimisation here is the patch: diff --git a/yum/__init__.py b/yum/__init__.py index cd449db..1acadf1 100644 --- a/yum/__init__.py +++ b/yum/__init__.py @@ -870,7 +870,7 @@ class YumBase(depsolve.Depsolve): if len(includelist) == 0: return - pkglist = self.pkgSack.returnPackages(repo.id, patterns=includelist) + pkglist = self.pkgSack.returnPackages(repo.id) exactmatch, matched, unmatched = \ parsePackages(pkglist, includelist, casematch=1)