Bug 989547 - dnf confuses download and install size
dnf confuses download and install size
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ales Kozumplik
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2013-07-29 10:41:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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

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.