debian-user-apt_memory_limit_gotcha

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: VEGH Karoly <karoly.vegh@uta.at>
From: Rob Mahurin <rob@utk.edu>
Subject: Re: apt too big for its britches
Date: Mon, 2 Jun 2003 11:53:57 -0400

On Mon, Jun 02, 2003 at 05:00:48PM +0200, VEGH Karoly wrote:
> On Mon, Jun 02, 2003 at 05:00:57PM +0200, Rob Mahurin wrote:
> > What, exactly, is running out of room here?  I'm fine on memory and
> > disk space.
> > 
> > 10:43 $ sudo apt-get -u upgrade
> > Reading Package Lists... Error!
> > E: Dynamic MMap ran out of room
> > E: Error occured while processing escputil (NewFileVer1)
> > E: Problem with MergeList /var/lib/dpkg/status
> > E: The package lists or status file could not be parsed or opened.
> 
> AFAIK apt has a default that limits his memory usage.
> fix for the problem:
> 
> charlie@marvin:~$ cat /etc/apt/apt.conf.d/charlie 
> APT::Cache-Limit 8192000;
> charlie@marvin:~$ 
> 
> (the filename can be just anything)
> 
> hth

That worked, you're my hero, have a nice day.

===

To: debian-user@lists.debian.org
From: Colin Watson <cjwatson@debian.org>
Subject: Re: apt too big for its britches
Date: Tue, 3 Jun 2003 01:32:54 +0100

On Mon, Jun 02, 2003 at 05:00:48PM +0200, VEGH Karoly wrote:
> On Mon, Jun 02, 2003 at 05:00:57PM +0200, Rob Mahurin wrote:
> > 10:43 $ sudo apt-get -u upgrade
> > Reading Package Lists... Error!
> > E: Dynamic MMap ran out of room
> > E: Error occured while processing escputil (NewFileVer1)
> > E: Problem with MergeList /var/lib/dpkg/status
> > E: The package lists or status file could not be parsed or opened.
> 
> AFAIK apt has a default that limits his memory usage.
> fix for the problem:
> 
> charlie@marvin:~$ cat /etc/apt/apt.conf.d/charlie 
> APT::Cache-Limit 8192000;
> charlie@marvin:~$ 
> 
> (the filename can be just anything)

The filename should really just be "/etc/apt/apt.conf" - the .d
directory is primarily there to make it easier to package related
software like apt-listchanges, not so much for administrators' local
changes.

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu