Bug 1245402 - dnf deletes downloaded rpms if "dnf update" fails?!?!?
Summary: dnf deletes downloaded rpms if "dnf update" fails?!?!?
Keywords:
Status: CLOSED DUPLICATE of bug 1220074
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-22 02:17 UTC by Jens Petersen
Modified: 2015-07-22 08:02 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-22 08:02:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2015-07-22 02:17:22 UTC
Description of problem:
As far as I can tell, dnf seems to delete or ignore all the rpms
it downloaded during a failed "dnf update" invocation. Ie next time
one runs "dnf update" it starts downloading all the files again. :-(

Version-Release number of selected component (if applicable):
dnf-1.0.1-2.fc22

How reproducible:
100%

Steps to Reproduce:
1. run "dnf update" and it fails due to some mirror being down
2. run "dnf update" again

Actual results:
1. various rpms/drpms get downloaded until fail due to missing rpm
from down server.
2. dnf downloads all the rpms/drpms (and fails again)

Expected results:
2. dnf should cache the rpms it already downloaded or not ignore them.

Additional info:
Yum did this correctly.

Comment 1 Radek Holy 2015-07-22 08:02:33 UTC
This is a duplicate of a lot of other bugs.

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


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