Bug 234807

Summary: yum 3.0.x cli skips packages to install
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: paul
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-02 18:10:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix for yum 3.0.x none

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

For example:

# rpm -q --whatprovides "perl(ExtUtils::MakeMaker)"
perl-5.8.8-10.x86_64
# 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.