[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get and Cache-Limit revisited



On Mon, Dec 22, 2003 at 01:19:27PM -0800, David G. Schlecht wrote:
> 
> I've seen many posts regarding the apt-get problem of "MMap ran out of
> room" errors. I've tried all the suggestions and nothing works. I'm
> thinking there's something more going on with my system.
> 
> I've done "apt-get clean", reduced the sources.list to just a single
> line pointing to the debian server, removed all my files from the list
> and cache directories, added APT::Cache-Limit 12000000; to my apt.conf
> file, and run "apt-get update".  And I still get a "MMap ran out of
> room" error.
> 
> I've found that if the apt.conf file says: APT::Cache-Limit 12000000;
> then the "apt-config dump" says: "APT::Cache-Limit" (with quotes and
> without a value), but if my apt.conf file says: APT::Cache-Limit
> "12000000"; then the "apt-config dump" says: APT::Cache-Limit
> "12000000";. But, nothing helps, I still get a ran out of room
> message. Seems that the apt-conf doesn't know how to handle numeric
> values.

This is how I've added it when needed:
   $ cat /etc/apt/apt.conf.d/11cache 
   APT::Cache-Limit 12582912;

As you can see, it recognizes it:

   ~$ apt-config dump
   APT "";
   APT::Architecture "i386";
   APT::Default-Release "stable";
   APT::Cache-Limit "12582912";
   ...

Here's my version:
   $ apt-get --version
   apt 0.5.4 for linux i386 compiled on Aug 19 2001 01:02:26
   Supported Modules:
   *Ver: Standard .deb
   *Pkg:  Debian dpkg interface (Priority 30)
    S.L: 'deb' Standard Debian binary tree
    S.L: 'deb-src' Standard Debian source tree
    Idx: Debian Source Index
    Idx: Debian Package Index
    Idx: Debian dpkg status file

-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar



Reply to: