How to increase your apt cache limit
24 January 2011 at 1:54 pm 10 comments
Increase value APT::Cache-Limit
When the time I try to install backtrack unfortunately i got message error in the terminal :
Reading package lists… Error!
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing riece (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
and solution to fix it is just increase the value APT::Cache-Limit at the /etc/apt/apt.conf.d/70debconf.
sudo gedit /etc/apt/apt.conf.d/70debconf.
Then put this code
APT::Cache-Limit "100000000";
at the below on that file and then save it.
Next typing this code on your terminal
sudo apt-get clean && sudo apt-get update --fix-missing
and you won’t find apt cache limit again in the next time.
Good luck..
Entry filed under: Ubuntu Lover. Tags: increase apt cache, Ubuntu.




1.
pete | 31 January 2011 at 11:34 am
thank you sir! been trying to fix this problem for a while now. i am a complete newb to linux and your instructions were just what i needed. thank you very much
2.
aziest | 1 February 2011 at 1:21 am
yes, sharing is good to each other..^^
3.
bluestarr | 19 May 2011 at 11:35 pm
thanx for your sharing … it really gave me a hand…..^^
4.
vedad | 9 August 2011 at 3:49 pm
Thanks for the tip. Very usefull.
5.
Tnx | 16 September 2011 at 9:53 am
This helped, thanxs
6.
Paolo | 15 November 2011 at 11:29 pm
Thank you very much, fast and clean!
7.
Bob | 15 December 2011 at 10:12 pm
Thank you!!!
8.
Tamas | 27 December 2011 at 12:56 am
Thanks, exactly what I needed!
9.
Tejas | 30 December 2011 at 4:18 pm
thank you very much… it solved my problem
10.
hershey | 2 January 2012 at 11:44 pm
Hi, thanks for the suggestion, but it is not working for me. Please let me know what am I doing wrong.