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

Bug#65349: Possibly integer math overflow?



Package: apt
Version: 0.3.19
Severity: wishlist

I just was playing around with dselect/apt. Assuming I had a new installed
system and wanted to install as many packages as possible. So I selected
everything in dselect and let apt-get dselect-upgrade choose. I was wondering
about the summary apt-get gave me:

0 packages upgraded, 4567 newly installed, 0 to remove and 0 not upgraded.
Need to get 2100MB of archives. After unpacking 1666MB will be used.

Does this mean that the downloaded packages are bigger than the unpacked files?
And please don't tell me I have to substract the size of already installed
files - there are none.

I think it seems to be a wraparound problem on 32 bit sized variables. Maybe
this should be solved in a future version of apt as harddisks get biggger and
debian grows, too...

Regards

    Ingo

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux list 2.2.15-pcsnd #1 Thu Jun 1 03:45:28 CEST 2000 i586

Versions of packages apt depends on:
ii  libc6                        2.1.3-10    GNU C Library: Shared libraries an
ii  libstdc++2.10                1:2.95.2-12 The GNU stdc++ library            




Reply to: