Bug 2362032 - "dnf -q download" isn't quite quiet
Summary: "dnf -q download" isn't quite quiet
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-24 11:30 UTC by Karel Volný
Modified: 2025-07-31 02:04 UTC (History)
6 users (show)

Fixed In Version: dnf5-5.2.14.0-1.fc43 dnf5-5.2.15.0-2.fc42 dnf5-5.2.15.0-2.fc41
Clone Of:
Environment:
Last Closed: 2025-07-31 00:53:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management dnf5 pull 2221 0 None open download: Do not print "Downloading Packages:" header in quiet mode 2025-04-24 14:45:42 UTC

Description Karel Volný 2025-04-24 11:30:30 UTC
Trying to upgrade to Fedora 42 using the fedora-upgrade script, it failed.
I've traced the problem down to dnf outputting things when it shouldn't.

The command causing the script failure is

# dnf download -q --destdir /tmp/tmp.92CwL3JCN0 '--disablerepo=*' --enablerepo=fedora --releasever=42 fedora-repos
Downloading Packages:

When -q is given, the text "Downloading Packages:" shouldn't be outputted.

dnf5-5.2.12.0-2.fc41.x86_64

Reproducible: Always

Comment 1 Petr Pisar 2025-04-24 14:21:57 UTC
Do you mean that "Downloading Packages:" title is printed alone?

# dnf download dontpanic
Updating and loading repositories:
Repositories loaded.
Downloading Packages:
 dontpanic-0:1.02-18.fc42.i686                                 100% | 393.7 KiB/s |  20.9 KiB |  00m00s
 dontpanic-0:1.02-18.fc42.x86_64                               100% | 389.0 KiB/s |  21.0 KiB |  00m00s
#

# dnf -q download dontpanic
Downloading Packages:
#

Comment 2 Petr Pisar 2025-04-25 07:54:18 UTC
Fixed upstream.

Comment 3 Karel Volný 2025-04-25 12:35:08 UTC
yes, thanks

Comment 4 Fedora Update System 2025-07-16 08:35:38 UTC
FEDORA-2025-a5e5885906 (dnf5-5.2.15.0-1.fc42 and librepo-1.20.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a5e5885906

Comment 5 Fedora Update System 2025-07-16 08:36:13 UTC
FEDORA-2025-fb095dd283 (dnf5-5.2.15.0-1.fc41 and librepo-1.20.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-fb095dd283

Comment 6 Fedora Update System 2025-07-17 00:58:48 UTC
FEDORA-2025-a5e5885906 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a5e5885906`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a5e5885906

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

Comment 7 Fedora Update System 2025-07-17 01:07:42 UTC
FEDORA-2025-fb095dd283 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-fb095dd283`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-fb095dd283

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

Comment 8 Fedora Update System 2025-07-24 14:59:13 UTC
FEDORA-2025-9ae670b810 (dnf5-5.2.15.0-2.fc42 and librepo-1.20.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9ae670b810

Comment 9 Fedora Update System 2025-07-24 15:00:17 UTC
FEDORA-2025-fdcda3af30 (dnf5-5.2.15.0-2.fc41 and librepo-1.20.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-fdcda3af30

Comment 10 Fedora Update System 2025-07-25 02:13:36 UTC
FEDORA-2025-9ae670b810 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9ae670b810`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9ae670b810

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

Comment 11 Fedora Update System 2025-07-25 02:26:18 UTC
FEDORA-2025-fdcda3af30 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-fdcda3af30`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-fdcda3af30

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

Comment 12 Fedora Update System 2025-07-31 00:53:12 UTC
FEDORA-2025-9ae670b810 (dnf5-5.2.15.0-2.fc42 and librepo-1.20.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-07-31 02:04:03 UTC
FEDORA-2025-fdcda3af30 (dnf5-5.2.15.0-2.fc41 and librepo-1.20.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, 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.