Bug 989547 - dnf confuses download and install size
Summary: dnf confuses download and install size
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-29 14:02 UTC by Jiri Moskovcak
Modified: 2015-02-01 22:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-29 14:41:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Moskovcak 2013-07-29 14:02:32 UTC
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 14:41:29 UTC
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.