Bug 1939975 - 'dnf offline-upgrade' does not support --advisory properly
Summary: 'dnf offline-upgrade' does not support --advisory properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kolarik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-17 11:33 UTC by Stephen Gallagher
Modified: 2023-04-08 02:36 UTC (History)
13 users (show)

Fixed In Version: dnf-plugins-core-4.4.0-1.fc37
Clone Of:
Environment:
Last Closed: 2023-04-08 02:36:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2021-03-17 11:33:59 UTC
Description of problem:
Running

Version-Release number of selected component (if applicable):
dnf-4.6.0-1.fc34.noarch
libdnf-0.58.0-1.fc34.x86_64


How reproducible:
Every time

Steps to Reproduce:
1. sudo dnf offline-upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-303f6623fa download

Actual results:
Attempts to download every package from updates-testing.

Expected results:
Should only download the packages from the specified advisory (and necessary dependencies).


Additional info:

Comment 1 Ben Cotton 2022-05-12 16:30:28 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Ben Cotton 2022-08-09 13:11:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 3 Jan Kolarik 2022-11-01 15:36:29 UTC
Thanks to @TarcisioLOliveira from the community we have a fix for this: 

Fix PR:   https://github.com/rpm-software-management/dnf-plugins-core/pull/465
Docs PR:  https://github.com/rpm-software-management/dnf/pull/1859
Tests PR: https://github.com/rpm-software-management/ci-dnf-stack/pull/1172

Comment 4 Fedora Update System 2023-04-05 13:45:26 UTC
FEDORA-2023-1b65a60b93 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1b65a60b93

Comment 5 Fedora Update System 2023-04-06 02:52:18 UTC
FEDORA-2023-1b65a60b93 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1b65a60b93`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1b65a60b93

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

Comment 6 Fedora Update System 2023-04-08 02:36:23 UTC
FEDORA-2023-1b65a60b93 has been pushed to the Fedora 37 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.