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

Bug#39007: apt is confused about bits vs. bytes



Package: apt
Version: 0.3.6

When I do apt-get commands, the status looks like:

> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages have been kept back
>  mozilla 
> 16 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> Need to get 7556kb of archives. After unpacking 43.0kb will be used.
> Do you want to continue? [Y/n] 
> Get:1 http://http.us.debian.org unstable/main bc 1.05a-6 [56.1kb]
> Get:2 http://http.us.debian.org unstable/main dc 1.05a-6 [44.7kb]
> Get:3 http://http.us.debian.org unstable/main gpm 1.17.8-2 [161kb]

The downloads while in progress also display a total size, as well as
a rate of speed for the download.

The problem I see is that the size is specified as "kb", which in most contexts
is unambiguously kilobytes but in the case of a download speed
is often intended to mean kilobits.  To fix this, I suggest apt be
modified so it says "kB" wherever it means "kilobytes", and
"kB/s" for kilobytes per second.

I am using debian-unstable-just-upgraded, kernel 2.2.9,
and glibc2.1.

Sincerely,
Ryan Lackey
ryan@venona.com
+41 1 27 42491


Reply to: