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

Bug#539434: cupt and apt-get disagree on projected download and install size



On Fri, Jul 31, 2009 at 2:32 PM, Julian Andres Klode<jak@debian.org> wrote:
On Fri, Jul 31, 2009 at 01:47:04PM -0700, Daniel Moerner wrote:

Now, the question is, should apt say there are 1024 bytes in a
kilobyte, or 1000? Apt currently does the latter and truncates this
to 10.4 MiB. I believe the former is more proper, and it should
reconvert this to 9.94 MiB.

Both tools behave correctly as defined in IEC 80000-13:2008, as 1 KiB
are 1024 bytes and 1kB are 1000 bytes (1KiB != 1kB). But I guess we
could also change APT to use IEC prefixes instead and divide by 1024.

In that case it probably doesn't matter, the difference was just disconcerting. Feel free to tag wontfix.

Daniel

--
Daniel Moerner <dmoerner@gmail.com>


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: