Bug 2222581 - Provide help/option to skip downloading metadata
Summary: Provide help/option to skip downloading metadata
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On: 2221233
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 07:48 UTC by Vít Ondruch
Modified: 2023-08-16 08:12 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2221233
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.