Bug 1325350 - DNF Reposync does complete sync/download but doesn't save any packages
Summary: DNF Reposync does complete sync/download but doesn't save any packages
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 25
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 13:37 UTC by Stefan Kirrmann
Modified: 2017-02-15 11:40 UTC (History)
7 users (show)

Fixed In Version: dnf-plugins-core-1.0.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-15 11:40:37 UTC


Attachments (Terms of Use)

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).


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