incorrect download size shown in GUI mode when part of the download has already been completed

Bug #13413 reported by lexual
8
Affects Status Importance Assigned to Milestone
aptitude (Debian)
Fix Released
Unknown
aptitude (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Let's say I cancelled a dist-upgrade before the downloading had finished.

When I go to try it again from the shell I am told how much download remains.

"Need to get 65.2MB/90.9MB of archives."

If I try the same thing from the GUI mode I am told:

"DL Size: 90.9MB".

This should be changed to the remaining download amount.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Synaptic is plagued by this problem as well. It has a lot to do with the
internal workings of libapt. To get the size of the already downloaded packages
it is required to create a fetcher object. This is done in aptitude/synaptic
only for the actual download, not for the "preview window". I think that this is
hoary+1 material (given that we are pretty late in the release cycle right now).

Revision history for this message
lexual (lexhider) wrote :

just noting that this is still an issue for dapper.

Changed in aptitude:
status: Unknown → New
Michael Vogt (mvo)
Changed in aptitude (Ubuntu):
assignee: Michael Vogt (mvo) → nobody
Changed in aptitude (Debian):
status: New → Confirmed
Changed in aptitude (Debian):
status: Confirmed → Fix Released
Revision history for this message
Paul White (paulw2u) wrote :

Upstream bug showing merged with #446085
and closed 2016-03-01
Changelog checked
Marking "Fix Released" to close

Changed in aptitude (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.