Bug 459076

Summary: "Maybe you mean" goes nuts with one existing and one non-existing package
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: ffesti, james.antill, katzj, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-3.2.19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-03 14:15:28 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
Output of yum suggesting every single package none

Description Mary Ellen Foster 2008-08-14 11:26:26 UTC
Created attachment 314308 [details]
Output of yum suggesting every single package

Description of problem:
If I try to "yum install" more than one package where one of the packages doesn't exist, yum tries to suggest (as far as I can tell) every single package in the repository as an alternative. This doesn't seem to happen if the non-existing package is the only one on the install line.

Version-Release number of selected component (if applicable):
yum-3.2.18-1.fc9.noarch

How reproducible:
Every time

Steps to Reproduce:
1. yum install java something-weird
(i.e., one package that does exist and one that doesn't; no matter whether it's installed or not)
  
Actual results:
yum says:
No package something-weird available.                                        
  * Maybe you meant: [every package]

Expected results:
Either "No package available" or a sensible suggestion

Additional info:
This doesn't seem to happen with just "yum install something-weird"; you also need the existing package on the install line.

I'll attach the output of actually trying to do this.

Comment 1 James Antill 2008-08-14 13:41:37 UTC
 Thanks I hadn't thought about that case!

 Running both of the following now does the expected thing:

 yum install java balahalahal
 yum install java MySQL-server

...this will be in 3.2.19, which should be out soon.

Comment 2 Fedora Update System 2008-08-27 18:02:10 UTC
yum-3.2.19-1.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/yum-3.2.19-1.fc8

Comment 3 Fedora Update System 2008-08-27 18:03:36 UTC
yum-3.2.19-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/yum-3.2.19-1.fc9

Comment 4 seth vidal 2008-09-03 14:15:28 UTC
closing

Comment 5 Fedora Update System 2008-09-10 06:58:43 UTC
yum-3.2.19-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-09-10 06:59:17 UTC
yum-3.2.19-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2008-12-01 15:38:18 UTC
yum-3.2.20-4.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/yum-3.2.20-4.fc9

Comment 8 Fedora Update System 2008-12-08 17:08:10 UTC
yum-3.2.20-5.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/yum-3.2.20-5.fc9

Comment 9 Fedora Update System 2008-12-18 00:31:39 UTC
yum-3.2.20-5.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.