Bug 234807 - yum 3.0.x cli skips packages to install
Summary: yum 3.0.x cli skips packages to install
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Keywords: Patch
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-02 09:01 UTC by Ville Skyttä
Modified: 2014-01-21 22:57 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-04-02 18:10:06 UTC

Attachments (Terms of Use)
Fix for yum 3.0.x (733 bytes, patch)
2007-04-02 09:01 UTC, Ville Skyttä
no flags Details | Diff

Description Ville Skyttä 2007-04-02 09:01:35 UTC
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

For example:

# 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.

Comment 1 Ville Skyttä 2007-04-02 09:01:35 UTC
Created attachment 151409 [details]
Fix for yum 3.0.x

Comment 2 Seth Vidal 2007-04-02 18:10:06 UTC
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

Comment 3 Paul Howarth 2007-04-05 08:42:15 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.