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

Bug#54323: apt-get source: prints wrong size to get



Package: apt
Version: 0.3.15
Severity: wishlist

I noticed when asking to download the source of multiple packages that
the size apt-get indicates it will fetch is incorrect if some sources
have already been downloaded and are present in the directory.

I got the following with an already downloaded xfree86-1-3.3.5 source
(which contains twm) in the directory.  The data actually fetched was
as per each of the "Get" lines, not 19.2M, and it took about the 4m49s
it says.  Notice the transfer rate, it's managed to get 66.5kb/s out
of a 56k modem! :)

$ apt-get source sawmill twm ctwm vtwm
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 19.2MB of source archives.
Get:1 ftp://mirror.aarnet.edu.au unstable/main sawmill 0.20.1-2 (dsc) [863B]
Get:2 ftp://mirror.aarnet.edu.au unstable/main sawmill 0.20.1-2 (tar) [463kB]
Get:3 ftp://mirror.aarnet.edu.au unstable/main sawmill 0.20.1-2 (diff) [8530B]
Get:4 ftp://mirror.aarnet.edu.au unstable/main ctwm 3.5-14 (dsc) [598B]
Get:5 ftp://mirror.aarnet.edu.au unstable/main ctwm 3.5-14 (tar) [607kB]
Get:6 ftp://mirror.aarnet.edu.au unstable/main ctwm 3.5-14 (diff) [22.2kB]
Get:7 ftp://mirror.aarnet.edu.au unstable/main vtwm 5.4.5a-2 (dsc) [613B]
Get:8 ftp://mirror.aarnet.edu.au unstable/main vtwm 5.4.5a-2 (tar) [338kB]
Get:9 ftp://mirror.aarnet.edu.au unstable/main vtwm 5.4.5a-2 (diff) [6438B]
Fetched 19.2MB in 4m49s (66.5kB/s)
dpkg-source: extracting sawmill in sawmill-0.20.1
Skipping unpack of already unpacked source in xfree86-1-3.3.5
dpkg-source: extracting ctwm in ctwm-3.5
dpkg-source: extracting vtwm in vtwm-5.4.5a

I don't think this is a particularly important bug, since it did the
right thing with the actual downloading.


Reply to: