Bug 1220666

Summary: dnf removes downloaded packages when terminated
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: amit.shah, jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-13 20:17:41 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 Amit Shah 2015-05-12 07:27:32 UTC
Description of problem:

dnf-1.0.0-1.fc22.noarch

While upgrading the system, hitting ^C while packages are being downloaded, all the downloaded packages are removed, and the next upgrade process re-downloads everything.

This behaviour is a departure from yum, and also some previous versions of dnf where this did not happen.

Preserving the downloaded packages in the cache is helpful so that bandwidth is saved.  If the change was made to save on disk space, a successful upgrade could run 'dnf clean packages' as the last step.

Comment 1 Honza Silhan 2015-05-13 20:17:41 UTC

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