Bug 803346 - yum shows misleading message when downgrade not available
Summary: yum shows misleading message when downgrade not available
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-14 13:50 UTC by Michal Hlavinka
Modified: 2014-01-21 23:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-05 09:15:23 UTC
Type: ---


Attachments (Terms of Use)

Description Michal Hlavinka 2012-03-14 13:50:44 UTC
Description of problem:
When downgrading package that has no downgrade available, it prints that there is only update available despite it is not.


Version-Release number of selected component (if applicable):
yum-3.4.3-18.fc17.noarch

How reproducible:
always

Steps to Reproduce:
# yum downgrade qca-ossl
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Downgrade Process
Only Upgrade available on package: qca-ossl-2.0.0-0.13.beta3.fc17.x86_64
Nothing to do

but there is no upgrade available:

# yum upgrade qca-ossl
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Upgrade Process
No Packages marked for Update

because I have that version already installed:

# rpm -q qca-ossl
qca-ossl-2.0.0-0.13.beta3.fc17.x86_64

Comment 1 Zdeněk Pavlas 2012-03-15 08:55:52 UTC
Thanks for reporting, seems trivial to fix.

Comment 2 Zdeněk Pavlas 2012-04-05 09:15:23 UTC
commit d1e3f677668e3e7b26a4eec2b0b6c6240b9196cd


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