[Bug 910674] [NEW] qapt-deb-installer displays 1000x wrong "Installed Size"
info at skierpage.com
Mon Jan 2 00:27:26 UTC 2012
Public bug reported:
In Kubuntu 11.10 KDE 4.7.3 I downloaded the Google Music Manager app
from https://music.google.com/music/listen#manager_pl as a 64-bit .deb
file . Dolphin's Open With... offered QApt Package Installer, which is
qapt-deb-installer version 1.2.
Its Package Installer window > Details tab shows "Installed Size: 9.5
KiB". That's clearly wrong, it's several orders of magnitude off.
% dpkg-deb -I /tmp/google-musicmanager-beta_current_amd64.deb
new debian package, version 2.0.
size 3033010 bytes: control archive= 4690 bytes.
Maintainer: Google Music Team <musicmanager-linux at google.com>
qapt-deb-installer seems to be interpreting this Installed-Size number
as bytes and converting it to KiB, but that's wrong. I've spent an hour
searching teh IntarWub for Installed-Size and the only hint I've found
of its intent is in deb-substvars(5) which says "If this variable isn't
set dpkg-gencontrol will use du -k debian/tmp to find the default
value." I.e. it is indeed already in K (1024 bytes, kibibytes, KiB,
GDebi Package Installer's very similar Details tab says the same .deb
file is Size: 9704 KiB. So a fix is to just do what gdebi-kde does,
which is display the deb's Installed-Size followed by "KiB" rather than
(??) performing some units conversion.
DistroRelease: Ubuntu 11.10
Package: qapt-deb-installer 1.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-15.24-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
Date: Sun Jan 1 15:55:31 2012
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (79 days ago)
** Affects: qapt (Ubuntu)
** Tags: amd64 apport-bug oneiric
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qapt in Ubuntu.
qapt-deb-installer displays 1000x wrong "Installed Size"
To manage notifications about this bug go to:
More information about the kubuntu-bugs