[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#309993: apt: Single package installations doesn't count bytes already downloaded



severity 309993 wishlist
retitle 309993 Incorporate partial packages in download total?
thanks

On Fri, May 20, 2005 at 07:52:13PM -0400, Justin Pryzby wrote:

> Package: apt
> Version: 0.5.28.6
> Severity: normal
> 
> cane:/home/pryzbyj# apt-get install bbappconf
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be upgraded:
>   bbappconf
> 1 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
> Need to get 39.1kB of archives.
> After unpacking 0B of additional disk space will be used.
> Get:1 http://http.us.debian.org sarge/main bbappconf 0.0.2-5 [39.1kB]
> 51% [1 bbappconf 19976/39.1kB 51%]                                   2406B/s 7s
>
> cane:/home/pryzbyj# apt-get install bbappconf
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be upgraded:
>   bbappconf
> 1 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
> Need to get 39.1kB of archives.
> After unpacking 0B of additional disk space will be used.
> Get:1 http://http.us.debian.org sarge/main bbappconf 0.0.2-5 [39.1kB]
> 54% [1 bbappconf 21423/39.1kB 54%]
> [...]
> 2. After resuming the downloaded file, apt still reports "Need to get
> 39.1kB".

apt doesn't examine partial packages in the cache when calculating this
total.  Indeed, depending on the circumstances it may not be possible to
resume the file, and this cannot be known in advance.

-- 
 - mdz



Reply to: