Bug 1499255

Summary: dnf: download command immediately deletes downloaded RPMs
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dmach, ignatenko, jmracek, rpm-software-management
Target Milestone: ---   
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: 2017-10-06 13:58:02 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 Florian Weimer 2017-10-06 13:31:20 UTC
Description of problem:

“dnf download” no longer leaves any RPM files behind.

Version-Release number of selected component (if applicable):

python3-dnf-plugins-core-2.1.4-1.fc26.noarch

How reproducible:


Steps to Reproduce:
1. cd /tmp
2. sudo dnf download glibc-langpack-eo

Actual results:

No file is created in the current directory.

Expected results:

An RPM is created in the current directly, or at least left somewhere else in the file system.

Additional info:

strace shows that the file is only placed into a subdirectory under /var/cache/dnf and immediately deleted.

This appears to be a regression since python3-dnf-plugins-core-2.1.3-1.fc26.noarch.

Comment 1 Jaroslav Mracek 2017-10-06 13:58:02 UTC

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