LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-08-2010, 11:26 AM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
apt-get error


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.
 
Old 01-08-2010, 11:30 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I went into the process table and tried to kill the old instance of Synaptic, but it says I have insufficient permissions.
A root or use sudo, in a terminal type
Code:
ps ax | grep synaptic
kill -9 <pid number>
 
Old 01-08-2010, 12:55 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-08-2010, 01:01 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 20000000. (man 5 apt.conf)
Did you fixed this error ?
 
Old 01-08-2010, 01:01 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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.
 
Old 01-08-2010, 01:03 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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.
 
Old 01-08-2010, 07:52 PM   #7
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
I currently have seven repositories in my sources list. It says:
Quote:
# See sources.list(5) for more information

# This file should be edited through synaptic

# MEPIS improvements, overrides and updates--the MEPIS magic
deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main

deb ftp://ftp.debian.org/debian/ lenny main contrib non-free
deb-src ftp://ftp.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free

# Some Debian Multimedia software might be illegal in some jurisdictions
deb http://www.debian-multimedia.org/ lenny main



deb http://www.backports.org/debian/ lenny-backports main


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.
 
Old 01-08-2010, 08:01 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Any reason why you have both debian and mepis sources?

Is this actually a mepis install or a Debian install?

If a mepis install, does mepis recommend to include the Debian sources?

If a Debian install I strongly recommend not to use mepis packages.

Evo2.
 
Old 01-08-2010, 08:57 PM   #9
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-09-2010, 03:01 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 20000000. (man 5 apt.conf)
But did you tried to solve this errormessage?
 
Old 01-09-2010, 11:14 AM   #11
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Yes, but I haven't tried to modify the files Craig specified yet. My successful temporary solution is to not have all the repos activated at once.
 
Old 01-11-2010, 12:19 PM   #12
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by craigevil View Post
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.
 
Old 01-11-2010, 12:50 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
EDIT: It worked after I changed the nmber to 33333333. I picked a number, because you didn't explain the significance of 12582912.
Code:
Please increase the size of APT::Cache-Limit. Current value: 20000000. (man 5 apt.conf)
so
33333333 is > then 20000000
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get error abattoir Debian 1 06-22-2005 06:27 AM
apt-get ERROR robramm Linux - General 2 05-21-2005 04:02 PM
apt-get error mrurmil Linux - Software 1 01-23-2005 07:32 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM
apt-get Error goal2guy Linux - Software 0 12-02-2003 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:13 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
Open Source Consulting | Domain Registration