Description of problem: Yum supports skip_if_unavailable option in repositories configuration. If the repository cannot be contacted for any reason, it causes Yum not to exit with an error but to continue running. Version-Release number of selected component (if applicable): dnf-0.2.17-1.git6a055e6.fc18.noarch How reproducible: always Steps to Reproduce: 1. set up some nonexisting repository with skip_if_unavailable=1 2. dnf/yum distro-sync 3. Actual results: # dnf distro-sync Setting up Distribution Synchronization Process Resolving Dependencies --> Starting dependency resolution Could not retrieve mirrorlist http://example error was 14: curl#7 - "Couldn't connect" Error: Cannot find a valid baseurl for repo: example (exit) # yum distro-sync Loaded plugins: auto-update-debuginfo, keys, presto, remove-with-leaves, security, show-leaves Could not retrieve mirrorlist http://example error was 14: curl#7 - "Couldn't connect" ... No Packages marked for Distribution Synchronization Expected results: Additional info:
Some more information about this feature: this works and is a part of Yum. It got unintentionally dropped in the current DNF but should be possible to re-add.
This is waiting for librepo[1] integration. [1] https://github.com/tojaj/librepo
Commit ab1da2a enables this configuration item again in DNF, will be included in version 0.3.2.
*** Bug 920271 has been marked as a duplicate of this bug. ***