Bug#598352: apt: show incorrect size
Package: apt
Version: 0.8.0
Severity: minor
On below example you see that the size is not correct.
The example output size is "1.650k B", "17,5M B" or "300k B/s" but the size must be show "1.650 kB", "17,5 MB", "300 kB/s" or "508 kB Plattenplatz".
Thanks from Thuringia(Germany)
# apt-get update
OK http://security.debian.org squeeze/updates Release.gpg
Hole:1 http://ftp2.de.debian.org squeeze Release.gpg [835B] ...
Es wurden 1.650k B in 15 s geholt (107k B/s)
Paketlisten werden gelesen... Fertig
# apt-get -u dist-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
binutils console-setup iceweasel initramfs-tools keyboard-configuration libmozjs2d login passwd python-renderpm python-reportlab python-reportlab-accel xulrunner-1.9.1
12 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 17,5M B an Archiven heruntergeladen werden.
Nach dieser Operation werden 508k B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
Hole:1 http://ftp2.de.debian.org/debian/ squeeze/main login amd64 1:4.1.4.2+svn3283-2 [783kB]
:
Hole:12 http://ftp2.de.debian.org/debian/ squeeze/main python-reportlab-accel amd64 2.4-4 [70,7kB]
Es wurden 17,5M B in 58 s geholt (300k B/s)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-8 GCC support library
ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.3-3.1 terminal-based package manager (te
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.15.8.4 Debian package development tools
pn lzma <none> (no description available)
ii python-apt 0.7.97.1 Python interface to libapt-pkg
ii synaptic 0.70~pre1+b1 Graphical package manager
-- no debconf information
Reply to: