Red Hat Bugzilla – Bug 234807
yum 3.0.x cli skips packages to install
Last modified: 2014-01-21 17:57:47 EST
yum 3.0.x's cli silently drops remaining packages to install if a virtual
package is listed on the command line and something providing it is already
# rpm -q --whatprovides "perl(ExtUtils::MakeMaker)"
# rpm -q seamonkey
package seamonkey is not installed
# yum install "perl(ExtUtils::MakeMaker)" seamonkey
Nothing to do
seamonkey should have been installed.
Fix attached against upstream 3.0.x branch - the code in 3.1.x looks
substantially different and I don't have a box to test this with it at the moment.
Created attachment 151409 [details]
Fix for yum 3.0.x
nice catch. took me a few tries to get it to replicate
applied upstream and should come out in 3.0.5-2 in fc6
FWIW, building sendmail in mock with autocache where the buildsystem has
yum-3.0.5-1.fc6 triggers this bug quite nicely (it BR's "setup >= some version",
which is already in the unpacked cache and then forgets to install most of the
rest of the buildreqs).
3.0.5-2.fc6 from updates-testing fixes it as suggested.