Bug 2222581

Summary: Provide help/option to skip downloading metadata
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: dnf5Assignee: rpm-software-management
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: daniel.mach, jkolarik, jmracek, jrohel, mblaha, mcurlej, nsella, packaging-team-maint, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2221233 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2221233    
Bug Blocks:    

Description Vít Ondruch 2023-07-13 07:48:44 UTC
This is followup to bug 2221233 and possibly also bug 2216205.

I think that DNF trying to download metadata and failing on unavailable repositories is problematic. While there is "skip_if_unavailable=false", it is not easy to specify this option from command line and it is much harder to discover that there even is such option.

Therefore I am proposing DNF to be more user friendly and when it cannot download the metadata, it should help users to move forward. To achieve that, DNF should recommend to run the same command with `--setopt=skip_if_unavailable=true`. It would be also nice if there was some nice option to achieve this.

Comment 1 Fedora Release Engineering 2023-08-16 08:12:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Aoife Moloney 2024-11-08 10:55:37 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
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 '39'.

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. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 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 3 Vít Ondruch 2024-11-08 13:10:04 UTC
I still have `skip_if_unavailable=True` in my config. I assume nothing has changed here.

Comment 4 Aoife Moloney 2025-02-26 12:54:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.