LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dynamic MMap ran out of room (https://www.linuxquestions.org/questions/linux-newbie-8/dynamic-mmap-ran-out-of-room-693090/)

Lillioan Martinez 12-26-2008 10:28 AM

Dynamic MMap ran out of room
 
I did apt-get and this is the error message I got:

E: Dynamic MMap ran out of room
E: Error occurred while processing epiphany-gecko (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.


What do I do?

Lillian Simmons
Still Free! in Round Rock, Texas, USA
http://xld.com

AlucardZero 12-26-2008 10:43 AM

http://letmegooglethatforyou.com/?q=...an+out+of+room
http://www.linuxquestions.org/questi...archid=2937207

rickh 12-26-2008 10:46 AM

If you were running Debian, I'd say likely, you have made a mess out of your /etc/apt/sources.list file. I'm not sure how Mephis works.

Probably, the outputs of $ cat /etc/apt/sources.list and $ df -h will show the answer.

Someone will soon be along to tell you increase a cache size. That will probably work, but it's an ignorant hack.

Lillioan Martinez 12-27-2008 06:18 AM

Quote:

Originally Posted by rickh (Post 3387740)
If you were running Debian, I'd say likely, you have made a mess out of your /etc/apt/sources.list file. I'm not sure how Mephis works.

Probably, the outputs of $ cat /etc/apt/sources.list and $ df -h will show the answer.

Someone will soon be along to tell you increase a cache size. That will probably work, but it's an ignorant hack.

lm@0[~]$ su -
Password:
[~]# ls -a /etc/apt/sources.list
/etc/apt/sources.list
[~]# ls /etc/apt/sources.list
/etc/apt/sources.list
[~]# ls -la /etc/apt/sources.list
-rw-r--r-- 1 root root 673 2007-10-27 14:59 /etc/apt/sources.list
[~]# /etc/apt/sources.list
-su: /etc/apt/sources.list: Permission denied
[~]# ls -d
.
[~]# ls -d /etc/apt/sources.list
/etc/apt/sources.list
[~]# $ df -h
-su: $: command not found
[~]# $df -h
-su: -h: command not found
[~]# $df-h
-su: -h: command not found
[~]# $ df -h /etc/apt/sources.list
-su: $: command not found
[~]#

makuyl 12-27-2008 06:25 AM

The two commands are:
df -h
cat /etc/apt/sources.list
Do not type the dollar sign $

Lillioan Martinez 12-27-2008 08:41 AM

Dynamic MMap
 
Quote:

Originally Posted by makuyl (Post 3388394)
The two commands are:
df -h
cat /etc/apt/sources.list
Do not type the dollar sign $

lm@0[~]$ -l /etc/apt/apt.conf
bash: -l: command not found
lm@0[~]$ ls -l /etc/apt/apt.conf
-rwxr-xr-x 1 root root 113 2005-02-24 12:13 /etc/apt/apt.conf
lm@0[~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.7G 7.4G 1.8G 81% /
tmpfs 506M 8.0K 506M 1% /lib/init/rw
tmpfs 506M 0 506M 0% /dev/shm
/dev/hda3 63G 13G 48G 21% /home
lm@0[~]$ df -h /etc/apt/apt.conf
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.7G 7.4G 1.8G 81% /
lm@0[~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.7G 7.4G 1.8G 81% /
tmpfs 506M 8.0K 506M 1% /lib/init/rw
tmpfs 506M 0 506M 0% /dev/shm
/dev/hda3 63G 13G 48G 21% /home
lm@0[~]$ cat/etc/apt/sources.list
bash: cat/etc/apt/sources.list: No such file or directory
lm@0[~]$ df -h cat/etc/apt/sources.list
df: `cat/etc/apt/sources.list': No such file or directory
df: no file systems processed
lm@0[~]$

makuyl 12-27-2008 08:48 AM

There is a space between cat and /etc/apt/sources.list so the command is:
Code:

cat /etc/apt/sources.list

Lillioan Martinez 12-27-2008 09:13 AM

Quote:

Originally Posted by makuyl (Post 3388469)
There is a space between cat and /etc/apt/sources.list so the command is:
Code:

cat /etc/apt/sources.list

lm@0[~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.7G 7.4G 1.8G 81% /
tmpfs 506M 8.0K 506M 1% /lib/init/rw
tmpfs 506M 0 506M 0% /dev/shm
/dev/hda3 63G 13G 48G 21% /home
lm@0[~]$ cat /etc/apt/sources.list
# See sources.list(5) for more information, especialy

# This file should be edited through synaptic
# New sources should be added only in the section at the end of this file!

# Primary
deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.us.debian.org/debian/ unstable main contrib non-free

# non-us
# deb ftp://non-us.debian.org/debian-non-US/ testing/non-US main contrib non-free
# deb ftp://non-us.debian.org/debian-non-US/ unstable/non-US main contrib non-free

# MEPIS apt pool - specific packages available on-line
deb http://apt.mepis.org/3.3.1/ unstable main

# mplayer
# deb ftp://ftp.nerim.net/debian-marillat/ unstable main


lm@0[~]$

AlucardZero 12-27-2008 10:58 AM

No really, go buy a "Linux for Dummies" or similarly themed book. This isn't an insult to your intelligence, it's something you need to do because you do not even know the basics.

Lillioan Martinez 12-27-2008 02:34 PM

Dynamic MMap
 
Quote:

Originally Posted by AlucardZero (Post 3388553)
No really, go buy a "Linux for Dummies" or similarly themed book. This isn't an insult to your intelligence, it's something you need to do because you do not even know the basics.

I have read all the pages you guys have suggested. And I still don't know what to do.
I'm beginning to read the book Running Linux. And that could take a while.

craigevil 12-28-2008 12:44 AM

Your sources.list looks like crap. The non-us was obsoleted when Sarge was released. You should haven't both testing and unstable. God only knows why you have a mepis repo. The Marillat repo you have is wrong.

APT HOWTO
http://www.debian.org/doc/manuals/apt-howto/

Debian Reference
http://www.debian.org/doc/manuals/re.../index.en.html
Quote:

# Testing
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
#Testing Security updates
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
# Unstable
deb http://www.debian-multimedia.org testing main
#deb-src http://www.debian-multimedia.org testing main
Should be all you need.

AlucardZero 12-28-2008 09:19 AM

That would give her more repositories that she already has uncommented, so I don't think it will stop her system running out of room.

Why shouldn't she have testing and unstable? Well, probably because she doesn't know how to use it. I run testing preferred but have unstable available.

makuyl 12-28-2008 10:35 AM

Just do an "apt-get clean" for now and see with "df -h" if hda got more space.
Then raise the number for Cache-Limit in /etc/apt/apt.conf . # That's right, flame away.

craigevil 12-28-2008 10:58 AM

Quote:

Originally Posted by AlucardZero (Post 3389402)
That would give her more repositories that she already has uncommented, so I don't think it will stop her system running out of room.

Why shouldn't she have testing and unstable? Well, probably because she doesn't know how to use it. I run testing preferred but have unstable available.


The problem isnt that she is running put of actually space. Its that her sources.list is a mess.


Changing the sources.list to a correct one, then doing apt-get clean followed by apt-get update should be just fine.

If I can run Debian on my Eee that only has a 4gb ssd and only takes up a little over 1.2gb on the ssd, the number of sources isn't the problem, nor is actual physical space.

AlucardZero 12-28-2008 01:30 PM

How is it a mess? All she has enabled is testing, unstable, and mepis. All the rest are commented out, I fail to see how that makes it a mess.

rickh 12-28-2008 07:26 PM

Quote:

How is it a mess? All she has enabled is testing, unstable, and mepis. All the rest are commented out, I fail to see how that makes it a mess.
Craigevil's advice is spot on ... it's a mess ...The kind of mess that causes that problem ... his suggestions will fix it.

I would add ...
# aptitude keep-all
# aptitude update
# aptitude autoclean

... and use aptitude exclusively from now on.

AlucardZero 12-28-2008 08:56 PM

So how is it a mess?

rickh 12-28-2008 10:42 PM

Quote:

Originally Posted by AlucardZero (Post 3389917)
So how is it a mess?

Too many duplicate repos which are not duplicates at all. Presumably, none "preferred" ... a "stinking mess"

Lillioan Martinez 12-31-2008 06:30 PM

dynamic MMap ran out of room
 
Quote:

Originally Posted by makuyl (Post 3389461)
Just do an "apt-get clean" for now and see with "df -h" if hda got more space.
Then raise the number for Cache-Limit in /etc/apt/apt.conf . # That's right, flame away.

OK, folks, that's enough. You guys really got so excited about this!
I now have more insight into the problem. I now know something I didn't know when I got started: I can't handle this. So I have contacted my local tech friend Jon. And he says he'll fix it. Thank you so much for your help. It's been a pleasure to deal with you. So long. Take care. Keep up the good work.

Lillian Simmons
Still Free! in Round Rock, Texas, USA
http://xld.com


------ Original Message ------
Received: Mon, 29 Dec 2008 12:13:37 PM CST
From: Jon Roland
To: Lillian Simmons
Subject: Re: Fwd: "Dynamic MMap ran out of room" update

Might be easier to just reinstall the systems and application software.
These periodic upgrades are not always sufficient to keep everything in
sync. Make sure your data files are backed up, and use fdisk and du to
see how full your disks are. Some of the log files may need to be
truncated to make more room.

-- Jon

-------------------------------------------------------------------
Constitution Society 2900 W Anderson Ln C-200-322, Austin, TX 78757
512/299-5001 www.constitution.org
-------------------------------------------------------------------

------ Original Message ------
Received: Sun, 28 Dec 2008 10:28:04 PM CST
From: Jon Roland
To: Lillian Simmons
Subject: Re: Fwd: "Dynamic MMap ran out of room +APT" update

New one for me. Would require further investigation. Will be busy until
after about Jan 5. Can you wait that long?

-- Jon

-------------------------------------------------------------------
Constitution Society 2900 W Anderson Ln C-200-322, Austin, TX 78757
512/299-5001 www.constitution.org
-------------------------------------------------------------------

AlucardZero 12-31-2008 07:00 PM

In fact, why don't you buy "Unix for Dummies" and make everyone you work with read it. Reinstalling is completely unnecessary.

Just increase the cache limit and be done with it.

craigevil 12-31-2008 07:09 PM

Reinstall wtf?

My system is 5 yrs old, this isnt windows who the hell reinstalls.

rickh 12-31-2008 08:54 PM

Newbies (correctly) reinstall a lot. This is "certainly" not a reinstall situation, but the OP has a mess on his hands which we really can't see the extent of, and he'll learn a lot going through a reinstall. I hope his guru friend lets him do the actual hands-on part.


All times are GMT -5. The time now is 09:51 AM.