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

Bug#380509: apt: dynamic MMap ran out of room



How to Reproduce this error:

I added /etc/apt/preferences


Package: *
Pin: release a=stable
Pin-Priority: 600

Package: *
Pin: release a=testing
Pin-Priority: 450

Package: *
Pin: release a=unstable
Pin-Priority: 400

Now add testing and unstable to your source list:

deb http://debian.uchicago.edu/debian/ etch main non-free contrib
deb-src http://debian.uchicago.edu/debian/ etch main non-free contrib

deb http://debian.uchicago.edu/debian/ lenny main
deb-src http://debian.uchicago.edu/debian/ lenny main

deb http://debian.uchicago.edu/debian/ sid main
deb-src http://debian.uchicago.edu/debian/ sid main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

Now
apt-get update and you get

Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing libglitz1 (NewFileVer1)
E: Problem with MergeList /var/lib/apt/lists/debian.uchicago.edu_debian_dists_sid_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Solution:

http://lucasmanual.com/mywiki/#head-b12d4a16cbec88f19a765e5370c43068fb3d91f7
aka.
apt-get update -o APT::Cache-Limit=25165824

and you get success:
Fetched 4B in 2s (2B/s)
Reading package lists... Done


Can apt package increase its cache limit to 25165824.
Thanks.
Lucas




Reply to: