Bug 1079621

Summary: Incorrect package count when some packages already downloaded
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jzeleny, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.4.19-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-25 08:13:28 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 Ben Boeckel 2014-03-22 05:52:39 UTC
dnf-0.4.18-1.fc21.noarch

When skipping a package because it is already downloaded, the "downloaded" count should be increased or the "total" count should be decreased.

Install  7 Packages

Total size: 10 M
Total download size: 9.8 M
Installed size: 39 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] ldc-config-2-57.20140305git6e908ff.fc21.noarch.rpm: Already downloaded
[SKIPPED] libconfig-1.4.9-5.fc21.x86_64.rpm: Already downloaded
[SKIPPED] ldc-druntime-devel-2-57.20140305git6e908ff.fc21.x86_64.rpm: Already downloaded
[SKIPPED] ldc-druntime-2-57.20140305git6e908ff.fc21.x86_64.rpm: Already downloaded
(1/7): ldc-phobos-devel-2-57.20140305git6e908ff.fc21.x86_64.rpm                            156 kB/s | 1.0 MB     00:06
(2/7): ldc-phobos-2-57.20140305git6e908ff.fc21.x86_64.rpm                                  161 kB/s | 1.7 MB     00:10
(3/7): ldc-2-57.20140305git6e908ff.fc21.x86_64.rpm                                         354 kB/s | 5.4 MB     00:15
--------------------------------------------------------------------------------------------------------------------------
Total                                                                                      628 kB/s |  10 MB     00:17

Comment 1 Ales Kozumplik 2014-03-24 08:17:16 UTC
Fixed by 7209092 on master.

Comment 2 Fedora Update System 2014-03-24 09:05:50 UTC
dnf-0.4.19-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-0.4.19-1.fc20

Comment 3 Fedora Update System 2014-03-25 08:13:28 UTC
dnf-0.4.19-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.