Bug 1325350

Summary: DNF Reposync does complete sync/download but doesn't save any packages
Product: [Fedora] Fedora Reporter: Stefan Kirrmann <stefan.kirrmann>
Component: dnf-plugins-coreAssignee: Michael Mráka <mmraka>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: ed.greshko, mluscon, mmraka, packaging-team-maint, pnemade, RadekHolyPublic, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-plugins-core-1.0.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 11:40:37 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:

Description Stefan Kirrmann 2016-04-08 13:37:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):
dnf-plugins-core-0.1.20-1.fc24.noarch

How reproducible:


Steps to Reproduce:
1. dnf reposync --repoid foo -p /mnt/test
2. ls -l /mnt/test/foo/

Actual results:
dnf takes as long as it needs to download e.g. several GB of data, but no package is saved at the specified path.


Expected results:
The directory should contain all downloaded packages.


Additional info:
The bug results from the missing option keepcache=true in /etc/dnf.conf

This should not be the case. At least exit the program with a warning saying that the option is missing. But better would be to just override the keepcache option, because a reposync is always done on purpose.

Comment 1 Michal Luscon 2016-04-11 11:25:57 UTC
Right, the plugin should override this option.

Comment 3 Jan Kurik 2016-07-26 04:47:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 4 Honza Silhan 2017-02-15 11:40:37 UTC
fixed in dnf-plugins-core-1.0.1-1 in rawhide (f26).