Bug 989547 - dnf confuses download and install size
dnf confuses download and install size
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ales Kozumplik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-29 10:02 EDT by Jiri Moskovcak
Modified: 2015-02-01 17:56 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-29 10:41:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jiri Moskovcak 2013-07-29 10:02:32 EDT
Description of problem:
when running dnf update it shows:

Total download size: 315M

but yum says for the same transaction:

Total size: 315 M
Total download size: 177 M

which leads me to conclusion that dnf confuses install and download size

Version-Release number of selected component (if applicable):
dnf-0.3.9-1.giteff4c49.fc19.noarch

How reproducible:
100%

Steps to Reproduce:
1. run dnf check-update
2. run yum check-update
3. compare the reported download size
Comment 1 Ales Kozumplik 2013-07-29 10:41:29 EDT
Ah,

this is not actually a bug. Both DNF and Yum report "Total size" for the total size of the .rpm files about to be installed, and "Download size" for the total size of the .rpm files aobut to be downloaded. What you are seeing is that Yum has (315-177) MB of rpms in its cache already so doesn't have to download them, but DNF doesn't share Yum's cache and in this case it can not see the files in its own cache so it correctly reports them all as to be downloaded yet.

Closing as NOTABUG.

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