Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Something happened to my apt-get one of the last times I used it, and it (and its frontends kpackage and synaptic) don't work anymore. When I run Synaptic, it immediately says this, and then crashes.
Quote:
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 20000000. (man 5 apt.conf)
E: Error occurred while processing znc-dev (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/www.backports.org_debian_dists_lenny-backports_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
I don't remember exactly what I did with the settings last time, but I think I just turned one (or more) or the repositories (probably Debian Sid--I think I was looking for something there) on or off. But in this state, apt-get is unusable.
Now I just discovered another strange thing: Synaptic crashed, but I can't start it again because of this message:
Quote:
Unable to get exclusive lock
This usually means that another package management application (like apt-get or aptitude) is already running. Please close that application first.
I went into the process table and tried to kill the old instance of Synaptic, but it says I have insufficient permissions.
Well, my problem is partly solved. The error message indicates that it has something to do with my having the Debian Lenny backports repository in my repositories list, so I removed that entry. That is unfortunate, because lenny-backports has been useful. But it's given me trouble before: http://www.linuxquestions.org/questi...ic-key-774053/
Last edited by newbiesforever; 01-08-2010 at 12:58 PM.
Getting "E: Dynamic MMap ran out of room" when using apt-get or aptitude? Put the following line into your /etc/apt/apt.conf: APT::Cache-Limit "12582912"; If that file doesn't exist, create it, or put the line in a file in /etc/apt/apt.conf.d/ If you still get the same error, increase the value. Alternatively, delete entries within /etc/apt/sources.list that you don't actually need.
How many repos do you have in your sources.list?
Just having stable, security, backports, volatile, and even debian-multimedia.org should be fine.
Getting "E: Dynamic MMap ran out of room" when using apt-get or aptitude? Put the following line into your /etc/apt/apt.conf: APT::Cache-Limit "12582912"; If that file doesn't exist, create it, or put the line in a file in /etc/apt/apt.conf.d/ If you still get the same error, increase the value. Alternatively, delete entries within /etc/apt/sources.list that you don't actually need.
How many repos do you have in your sources.list?
Just having stable, security, backports, volatile, and even debian-multimedia.org should be fine.
The Lenny backports repo is now there because, since I understand that the problem seems to be too many repositories, I deleted the Sid repo so I would have room for lenny-backports.
I am thoroughly puzzled by this problem, because it started only a few days ago. I used to have nine repositories without a problem. I never had to edit any apt.conf files.
Last edited by newbiesforever; 01-08-2010 at 07:56 PM.
It's MEPIS 8. The MEPIS designers must have decided to offer both, because those (excepting the sid and lenny-backports repos) are what MEPIS comes with at installation. However, I chose to activate all of them; I think the Debian repos were off.
Getting "E: Dynamic MMap ran out of room" when using apt-get or aptitude? Put the following line into your /etc/apt/apt.conf: APT::Cache-Limit "12582912"; If that file doesn't exist, create it, or put the line in a file in /etc/apt/apt.conf.d/ If you still get the same error, increase the value. Alternatively, delete entries within /etc/apt/sources.list that you don't actually need.
How many repos do you have in your sources.list?
Just having stable, security, backports, volatile, and even debian-multimedia.org should be fine.
For some reason, the number you specified didn't eliminate the error. I guess I'll increase it.
EDIT: It worked after I changed the nmber to 33333333. I picked a number, because you didn't explain the significance of 12582912.
Last edited by newbiesforever; 01-11-2010 at 12:26 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.