LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:13 AM   #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, 04: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, 09:06 AM   #3
stevecre
LQ Newbie
 
Registered: Feb 2005
Location: Bloomington, Indiana, USA
Distribution: openSUSE Leap 15.3
Posts: 2

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 09:23 AM.
 
Old 07-06-2006, 10:08 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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, 02: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, 03: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, 12: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 05:26 AM.
 
  


Reply

Tags
apt, cache, limit



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 03:56 AM
Dynamic MMap ran out of room +APT bassclarinet Debian 3 12-26-2008 07:46 PM
Implementing mmap Kumar Programming 0 09-08-2005 03:12 AM
using mmap AngryLlama Programming 1 02-09-2005 08:53 AM
apt-get -> testing, errors processing package lists, Dynamic MMap??? gaffel Debian 5 07-16-2004 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:04 PM.

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
Open Source Consulting | Domain Registration