Bug 1357943

Summary: Installing python3-dnf-plugins-extras-local results in constant dnf complaints about its local repo
Product: [Fedora] Fedora Reporter: Chris Siebenmann <cks-rhbugzilla>
Component: dnf-plugins-extrasAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 24CC: billcrawford1970, jkadlcik, jsilhan, mluscon, packaging-team-maint, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-30 10:57:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Siebenmann 2016-07-19 16:07:16 UTC
Description of problem:

If you install the DNF 'local' plugin and then fix bug 1236747 by manually
mkdir'ing /var/lib/dnf/plugins/local, DNF will now save copies of your RPMs
as you want but most DNF operations will report the error:

    Failed to synchronize cache for repo '_dnf_local', disabling.

This is essentially the Fedora 24 version of bug 1209862, which has just been
closed as EOL on Fedora 22.

Version-Release number of selected component (if applicable):
python3-dnf-plugins-extras-local-0.0.12-3.fc24.noarch
dnf-1.1.9-2.fc24.noarch

How reproducible:
Totally.

Steps to Reproduce:
1. dnf install python3-dnf-plugins-extras-local
2. mkdir /var/lib/dnf/plugins/local
3. dnf install <some package>

Actual results:

dnf reports:

    Failed to synchronize cache for repo '_dnf_local', disabling.

Expected results:

dnf doesn't report any errors or warnings.

Additional info:

Running 'createrepo_c /var/lib/dnf/plugins/local' appears to fix the
problem but I have no idea what side effects it has.

Perhaps this will be fixed with the proper fix to bug 1236747, but
I have no idea how this stuff is supposed to be done and this whole
area has been neglected for a year. I'm refiling this bug so that it
doesn't get forgotten; the local plugin is important since Fedora update
packages do periodically have bugs and the repos purge old versions
quite fast.

Comment 1 Fedora Admin XMLRPC Client 2016-07-21 12:41:14 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Igor Gnatenko 2016-11-30 10:57:13 UTC

*** This bug has been marked as a duplicate of bug 1209862 ***