[Apt-Rpm] Couldn't make mmap of 25165825 bytes - mmap (22 Invalid argument)
Bernhard Rosenkraenzer
bero at arklinux.org
Tue Nov 18 23:13:23 PST 2008
Hi,
I just tried installing apt (current git) on an OLPC - apt-get
update fetches the package lists as expected, but then
barfs:
E: Couldn't make mmap of 25165825 bytes - mmap (22
Invalid argument)
W: Unable to munmap
E: The package lists or status file could not be parsed or
opened
It doesn't seem to be an out of memory problem - 29 MB
free + 149 MB buffers/cache, and adding a swap file doesn't
change anything.
Any idea what's going on there? OLPC's / filesystem is on
jffs2, maybe there's a problem with mmap-ing files on that
fs? (but in that case, shouldn't apt-pkg/contrib/mmap.cc do
what it says in the comment at the top of the file, and
provide a faked mmap using read()?)
ttyl
bero
More information about the Apt-Rpm
mailing list