Dynamic MMap ran out of room

Bug #125640 reported by elliott
42
Affects Status Importance Assigned to Milestone
APT
Invalid
Undecided
Unassigned
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Error occurred while processing libxerces26-dev (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_dists_sarge_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened

Related branches

Revision history for this message
elliott (elliott-lamb) wrote :

This fault has wiped out any ability for package management
The system will reboot--but the boot.log has numerous mentions for installing
(what I think) are backup copies
Some system info
2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
Pls advise if I can help
tnx
elliott

Ian Jackson (ijackson)
Changed in apt:
status: New → Invalid
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please attach your /etc/apt/sources.list and your language settings (the output of the "locale" command)?

Thanks,
 Michael

Changed in apt:
status: New → Incomplete
Revision history for this message
elliott (elliott-lamb) wrote : Re: [Bug 125640] Re: Dynamic MMap ran out of room

Hi Michael;
I have included the results you requested down below.
If you need anything more--don't be bashful
Thanks for your attention.
Elliott

Michael Vogt wrote:
> Thanks for your bugreport.
>
> Can you please attach your /etc/apt/sources.list and your language
> settings (the output of the "locale" command)?
> Here's the "locale" command:
>
#######Start

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

#####End
Here's /etc/apt/sources.list
######Start of file:

deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060806.1)]/ dapper main restricted
deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy main restricted
deb http://us.archive.ubuntu.com/ubuntu/ feisty main

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ edgy universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ feisty-security main
# deb http://security.ubuntu.com/ubuntu edgy-security universe
# deb-src http://security.ubuntu.com/ubuntu edgy-security universe

deb http://ftp.debian.org sarge main

##End of file
> Thanks,
> Michael
>
> ** Changed in: apt (Ubuntu)
> Status: New => Incomplete
>
>

Revision history for this message
Michael Vogt (mvo) wrote :

apt (0.7.6ubuntu3) gutsy; urgency=low

  * apt-pkg/deb/dpkgpm.cc:
    - fix packagename extraction when writting apport reports
  * apt-pkg/pkgcachegen.cc:
    - increase default mmap size (LP: #125640)

 -- Michael Vogt <email address hidden> Tue, 07 Aug 2007 09:52:00 +0200

Changed in apt:
status: Incomplete → Fix Released
Revision history for this message
Kostya (kostyabkg) wrote :

Michael,

I restarted my machine, but it still gives me:
================================================
E: Dynamic MMap ran out of room
E: Error occurred while processing vlc-nox (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
================================================

I can't install anything!

Thank you,

Konstantin

Revision history for this message
Loye Young (loyeyoung) wrote :

The problem is your cache size. Debian decided a long time ago to put a cap on the size of apt's package cache. When you added the sarge repository, you significantly increased the size of the cache, busting the limit.

But have no fear -- the problem is easily remedied.

Append the following line to /etc/apt/apt.conf.d/20archive:

APT::CacheSize 126000000;

Report back the results.

Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.biz

Revision history for this message
Loye Young (loyeyoung) wrote :

Michael,

You show this fixed in Gutsy, but that's not a help to Konstantin, because he's working with Feisty. The default size should be raised for Feisty, Edgy, and Dapper, too. Especially as we draw close to releasing Gutsy, there will be people who can't upgrade because the cache limit will prevent it.

L

Revision history for this message
Kostya (kostyabkg) wrote :

Loye, our sysadmin has done something like that for me the same or next day I posted comment. Yep, that got it working!

Thank you for all your efforts,

Konstantin

Revision history for this message
Larry Martin (larry-martin) wrote :

THIS IS WHAT THE ERROR MSG. SAID:

E: Dynamic MMap ran out of room
E: Error occurred while processing trn4 (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-powerpc_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.