Bug 1797427

Summary: 'dnf system-upgrade download' misleading message
Product: [Fedora] Fedora Reporter: Amita Sharma <amsharma>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 31CC: jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dnf-4.2.21-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-18 00:07:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amita Sharma 2020-02-03 06:51:56 UTC
[root@localhost ~]# sudo dnf system-upgrade download --releasever=31
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: N
Error: Operation aborted.


This should not say "Error" if use choose option "N".

Also, why small "y" and a capital "N" in "Do you want to continue [y/N]:" 
It should be consistent for both letters.

Comment 1 Jaroslav Mracek 2020-02-04 09:45:15 UTC
I create a patch https://github.com/rpm-software-management/dnf-plugins-extras/pull/172 that fix the output to:

sudo dnf system-upgrade download --releasever=31
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: N
Operation aborted.

Comment 2 Marek Blaha 2020-02-04 12:10:40 UTC
As far as the capitalisation is concerned - the capital N just indicates the default. If you hit the Enter, the default (n in this case) is used.

Comment 3 Fedora Update System 2020-04-02 12:50:22 UTC
FEDORA-2020-d51dbe83a9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d51dbe83a9

Comment 4 Fedora Update System 2020-04-03 20:49:53 UTC
FEDORA-2020-d51dbe83a9 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d51dbe83a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d51dbe83a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-04-18 00:07:06 UTC
FEDORA-2020-d51dbe83a9 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.