LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-22-2004, 12:13 PM   #1
dekket
Member
 
Registered: Oct 2003
Location: sweden
Distribution: debian
Posts: 47

Rep: Reputation: 15
Dynamic MMap out of room


First of all, this issue seems to have resolved itself for some reason that I dont know of. I'd still like to know what it was and why it appeared. If not for me, then for someone else.

I installed debian on a new machine (sort of new, anyways) and when everything was working I edited the /etc/apt/sources.list as I usually do, adding 'testing' package lists.
I run the apt-get update.
After the update has gone through, I get the following error:
E: Dynamic MMap out of room!

After this, I figured there was something wrong with the testing mirrors and I put in stable instead, just to give it a try, and voila! It went through without a hitch. However, on my other boxes, the testing mirrors worked fine, so I went back to the new box but still the same error with the testing mirrors. Today however, it seems to be working.

Someone told me to add " APT::Cache-Limits 10000000; " to /etc/apt/apt.conf, which I did but it didnt matter at all. I dont even have an /etc/apt/apt.conf in either of my boxes, but I created it anyways.

Now the system is running with the testing packages as I want, and all seems to be working. However, I'm still curious on what this error was.

/d
 
Old 03-23-2004, 05:54 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
the content of /etc/apt/apt.conf should be:

Code:
APT::Cache-Limit "8388608";
That'll do it. Your post had "Cache-Limits. Perhaps the syntax is enough to fix it (if it breaks again).
 
Old 07-06-2006, 10:06 AM   #3
stevecre
LQ Newbie
 
Registered: Feb 2005
Location: Bloomington, Indiana, USA
Distribution: openSUSE 11.1
Posts: 1

Rep: Reputation: 0
That worked for me, except I had to use a higher number. Values of 12000000 and even 20000000 worked, so the advice I would add is to keep trying higher values until it works. The man page for apt.conf doesn't say what the maximum value for this parameter can be, so I don't know if there is a maximum value for it.

Also, on my system the file to modify was not /etc/apt/apt.conf, but /etc/apt/apt.conf.d/70debconf.

Last edited by stevecre; 07-06-2006 at 10:23 AM.
 
Old 07-06-2006, 11:08 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally Posted by dekket
First of all, this issue seems to have resolved itself for some reason that I dont know of. I'd still like to know what it was and why it appeared. If not for me, then for someone else.

I installed debian on a new machine (sort of new, anyways) and when everything was working I edited the /etc/apt/sources.list as I usually do, adding 'testing' package lists.
I run the apt-get update.
After the update has gone through, I get the following error:
E: Dynamic MMap out of room!

After this, I figured there was something wrong with the testing mirrors and I put in stable instead, just to give it a try, and voila! It went through without a hitch. However, on my other boxes, the testing mirrors worked fine, so I went back to the new box but still the same error with the testing mirrors. Today however, it seems to be working.

Someone told me to add " APT::Cache-Limits 10000000; " to /etc/apt/apt.conf, which I did but it didnt matter at all. I dont even have an /etc/apt/apt.conf in either of my boxes, but I created it anyways.

Now the system is running with the testing packages as I want, and all seems to be working. However, I'm still curious on what this error was.

/d
Don't know exactly what is the default size but apt has a package cache size limit adding more repositories will take you over it and give you the error, telling it to use a higher size for the cache eliminates the problem. I use APT::Cache-Limit 20000000; in the file it seems to work fine with it.
 
Old 12-19-2006, 03:35 PM   #5
prhickey
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
using APT::Cache-Limit "20000000"; worked for me

My error seems to have been the exact same one:

Quote:
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occurred while processing language-pack-gnome-ur-base (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_dapper_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
 
Old 12-19-2006, 04:02 PM   #6
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
so if I get it right, this is the maximum data apt will cache, right? A simple apt-get clean, or even better, apt-get autoclean would have clear your cache then, no?
 
Old 12-25-2006, 01:23 AM   #7
Nemik
LQ Newbie
 
Registered: Dec 2006
Location: SC, USA
Posts: 5

Rep: Reputation: 0
Thumbs up

Hi. I'm new here and had same problem.
and I fixed .
I giving credit for this jake. http://www.yak.net/fqa/416.html
In my case I had to do this in /etc/apt/apt.conf.d/70debconf.

During apt-get update, you may see this error.
The simple way to solve it is like so:
cat << EOF >> /etc/apt/apt.conf.d/70debconf
APT::Cache-Limit "10000000";(hit return here)
EOF (hit return again).

I set APT::Cache-Limit "20000000"; just in case.

good luck.

Last edited by Nemik; 12-25-2006 at 06:26 AM.
 
  


Reply

Tags
apt, cache, limit


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Dynamic MMap ran out of room" error when adding new apt source list hasanito Debian 25 05-27-2013 04:56 AM
Dynamic MMap ran out of room +APT bassclarinet Debian 3 12-26-2008 08:46 PM
Implementing mmap Kumar Programming 0 09-08-2005 04:12 AM
using mmap AngryLlama Programming 1 02-09-2005 09:53 AM
apt-get -> testing, errors processing package lists, Dynamic MMap??? gaffel Debian 5 07-16-2004 02:30 PM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration