After installing dnf-plugins-extras most dnf commands complain with:
Failed to synchronize cache for repo '_local' from 'file:///var/lib/dnf/plugins/local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Apparently python-dnf-plugins-extras-local configures a (hidden and not mentioned in /etc/yum.repos.d) repository based on the non-existent /var/lib/dnf/plugins/local directory.
This is with dnf-plugins-extras 0.0.6-2.fc22.
*** Bug 1236745 has been marked as a duplicate of this bug. ***
Probably in this case I should do in post script `/usr/bin/createrepo_c /var/lib/dnf/plugins/local`.
Radek, what do you think?
Maybe, or create the repository once the plugin finds out that it does not exist (do I understand correctly that this is what yum-plugin-local does?), or don't add the repository if it does not exist. I'm not sure what is the best solution.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
*** Bug 1357943 has been marked as a duplicate of this bug. ***
*** Bug 1236747 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
I added a commit https://github.com/rpm-software-management/dnf-plugins-extras/commit/c20ca34df9ebca8714c7d347db98db392ffe9dc0 that should help. The patch will be released in dnf-plugins-core-2.0.0 probably next week into rawhide and fc26. But at the present time it can be tested from out test repository: "dnf copr enable rpmsoftwaremanagement/dnf-nightly"