Debian This forum is for the discussion of Debian Linux.
|
 |
|
09-21-2004, 12:35 PM
|
#1
|
|
Newbie
Registered: Sep 2004
Posts: 8
|
"Dynamic MMap ran out of room" error when adding new apt source list
G'day
I've just installed Debian 3.0
I try to install xfce4 as the desktop manager but my "wajig install xfce" installed xfce3... so I added following apt source list to my source list:
# Unstable
deb ftp.de.debian.org/debian unstable main contrib non-free
deb ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free
# Testing
deb ftp.de.debian.org/pub/debian testing main contrib non-free
deb ftp.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free
*add http after deb :-)*
but this time I get following error when I do a wajig update:
- - - - - - - - - -
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing orange (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
update available list script returned error exit status 1.
Press <enter> to continue.
- - - - - - - - - -
any help?
cheers
ps:
Alternative to that, how can I install Gnome2+? everytime I try wajig install gnome or gnome core, it can't find it?
cheers
|
|
|
|
09-21-2004, 12:39 PM
|
#2
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
|
Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf
Code:
APT::Cache-Limit "8388608";
|
|
|
|
09-08-2007, 01:22 PM
|
#3
|
|
Member
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 74
|
Thanks, that will probably work for many folks. Didn't for me, but
Code:
APT::Cache-Limit "16777216";
(... twice the size), did the trick.
- Ab
|
|
|
|
09-08-2007, 02:20 PM
|
#4
|
|
Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 873
|
I'll raise that to: APT::Cache-Limit 50000000;
Seriously, you can set it to how much you like but keep in mind not to let it fill /var or worse /.
"apt-get clean" or "aptitude clean" now and then would clean up the /var/cache/apt/archives so you can manage with a lower limit.
EDIT: Might want to wade through some of the user's manuals here: http://www.debian.org/doc/index.en.html
Last edited by makuyl : 09-08-2007 at 02:25 PM.
|
|
|
|
10-13-2007, 12:50 PM
|
#5
|
|
Member
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu Feisty Fawn
Posts: 47
|
Increases Cache
Howdy:
I had the same problem. I increased the cache size, and it did allow me to run sudo apt-get upgrade. But now my sound card is dead. I've had this problem before many times. I'm running Ubuntu Feisty Fawn on a Dell Laptop. Any way to permanently solve this problem without re-installing XP? Thanks.
|
|
|
|
10-13-2007, 01:06 PM
|
#6
|
|
Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 500
|
Quote:
Originally Posted by MooseMagnet
Howdy:
I had the same problem. I increased the cache size, and it did allow me to run sudo apt-get upgrade. But now my sound card is dead. I've had this problem before many times. I'm running Ubuntu Feisty Fawn on a Dell Laptop. Any way to permanently solve this problem without re-installing XP? Thanks.
|
yes, but your problem is completely unrelated and you need to create your own thread.
|
|
|
|
10-30-2007, 08:50 PM
|
#7
|
|
LQ Newbie
Registered: Oct 2007
Posts: 6
|
I am having this same problem, and editing the /etc/apt/apt.conf.d file 70debconf is having no effect. I also ran apt-get clean. The whole error message is:
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing xmcd (NewFileVer1)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
which looks a lot like the error message in the original post. Does anyone know what's wrong?
|
|
|
|
10-30-2007, 10:36 PM
|
#8
|
|
Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 500
|
up the APT::Cache-Limit more and try again
|
|
|
|
10-31-2007, 07:19 AM
|
#9
|
|
LQ Newbie
Registered: Oct 2007
Posts: 6
|
I've taken it up to 20 times what makuyl suggested in jest, and nothing changes.
|
|
|
|
10-31-2007, 12:56 PM
|
#10
|
|
Member
Registered: May 2007
Distribution: Debian - Lenny
Posts: 200
|
Quote:
Originally Posted by Aleora
I've taken it up to 20 times what makuyl suggested in jest, and nothing changes.
|
Can you post what's in your /etc/apt/sources.list file, please?
|
|
|
|
10-31-2007, 02:00 PM
|
#12
|
|
Member
Registered: May 2007
Distribution: Debian - Lenny
Posts: 200
|
Ok, well the sources list is a bit of a mess. You have all three branches of Debian enabled (etch/stable, testing and unstable). No matter what else, you probably don't want that. Maybe try to trim it down a bit to this (the # in front of a line makes apt ignore the line):
Still, you should be able to update your sources list if you have made the cache that large. Try again to do "apt-get clean && apt-get update" after trimming down the sources list. My only other guess is that maybe you have /var in a partition that it filled up? I took out the multimedia repos for the moment, just to see if you can get apt working again.
|
|
|
|
10-31-2007, 02:25 PM
|
#13
|
|
LQ Newbie
Registered: Oct 2007
Posts: 6
|
So, I went and changed the file as directed. Now it doesn't like the sources.list file, though. It says:
E: Type '' is not known on line 1 in source list /etc/apt/sources.list
When cat sources.list, there is a leading space. When I open it in vi, there isn't, so I can't remove it. *sigh*
|
|
|
|
10-31-2007, 03:24 PM
|
#14
|
|
Member
Registered: May 2007
Distribution: Debian - Lenny
Posts: 200
|
The whole first line is not needed, so you could open in vim, move up to the first line (you may start there, you may not) and then use "dd" to delete that one line.
|
|
|
|
10-31-2007, 08:49 PM
|
#15
|
|
LQ Newbie
Registered: Oct 2007
Posts: 6
|
No difference. Should I maybe make a new file to replace it with?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:13 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.
|
Latest Threads
LQ News
LQ Podcast
LQ Radio
|
|