Bug 1030980 - dnf downgrade PACKAGE, misleading message about possible typo if PACKAGE is not installed
dnf downgrade PACKAGE, misleading message about possible typo if PACKAGE is n...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
20
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Radek Holy
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-15 07:44 EST by Jaroslav Škarvada
Modified: 2015-10-05 22:14 EDT (History)
6 users (show)

See Also:
Fixed In Version: dnf-0.4.8-1.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-24 18:42:24 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jaroslav Škarvada 2013-11-15 07:44:05 EST
Description of problem:
Dnf writes misleading message about possible typo if the package is not installed. Maybe this can also happen with its other commands.

Version-Release number of selected component (if applicable):
dnf-0.4.7-1.fc20.noarch

How reproducible:
always

Steps to Reproduce:
1. dnf remove acpid
2. dnf downgrade acpid

Actual results:
  * Maybe you meant: acpid
Nothing to do

Expected results:
No "* Maybe you meant: acpid" message

Additional info:
This doesn't happen if the package is installed
# dnf install acpid
# dnd downgrade acpid
...downgrade in progress

The same commands with yum:
a) without acpid
# yum downgrade acpid
Loaded plugins: langpacks, refresh-packagekit
No Match for available package: acpid-2.0.20-1.fc20.i686
Nothing to do

b) with acpid
# yum downgrade acpid
...downgrade in progress

Maybe the yum output is not the best, but at least less confusing (at least for me).
Comment 1 Ales Kozumplik 2013-11-18 02:37:21 EST
Definitely a bug, Radek can you please take a look at this when the time permits? Thanks.
Comment 2 Radek Holy 2013-11-20 08:09:54 EST
Fixed by 9c70e7bb975ff21c4b07b75bb417d6250cab28dd on master.
Comment 3 Fedora Update System 2013-11-21 10:56:30 EST
dnf-0.4.8-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-0.4.8-1.fc20
Comment 4 lnie 2013-11-21 23:35:09 EST
fixed with dnf-0.4.8-1.fc20
Comment 5 Fedora Update System 2013-11-23 23:04:12 EST
Package dnf-0.4.8-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.8-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22052/dnf-0.4.8-1.fc20
then log in and leave karma (feedback).
Comment 6 Fedora Update System 2013-11-24 18:42:24 EST
dnf-0.4.8-1.fc20 has been pushed to the Fedora 20 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.