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

Bug#590513: apt-get fails on i386 with 20tb filesystem (statvfs (75: Value too large for defined data type))



Package: apt
Version: 0.7.25.3

When I try to install a package inside an i386 chroot on this machine (which resides on a 20TB XFS filesystem), it fails to even get to downloading the package with the following error messages:

root@windy:~# apt-get install tinywm
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6
The following NEW packages will be installed:
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 tinywm
0 upgraded, 6 newly installed, 0 to remove and 6 not upgraded.
Need to get 1131kB of archives.
After this operation, 4346kB of additional disk space will be used.
W: Couldn't determine free space in /var/cache/apt/archives/ - statvfs (75: Value too large for defined data type)
E: Handler silently failed
root@windy:~#

It seems like this is likely a result of integer overflow in the data structure that statvfs returns. Therefore, it would seem the path forward is to use statvfs64().

Reply to: