Bug 459076 - "Maybe you mean" goes nuts with one existing and one non-existing package
Summary: "Maybe you mean" goes nuts with one existing and one non-existing package
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-14 11:26 UTC by Mary Ellen Foster
Modified: 2014-01-21 23:06 UTC (History)
5 users (show)

Fixed In Version: yum-3.2.19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-03 14:15:28 UTC
Type: ---


Attachments (Terms of Use)
Output of yum suggesting every single package (187.95 KB, text/plain)
2008-08-14 11:26 UTC, Mary Ellen Foster
no flags Details

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.


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