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

Bug#610629: apt dynamic mmap ran out of room workaround should not be needed with squeeze

Control: tags -1 patch


On Thu, Jan 20, 2011 at 12:17:01PM -0400, Joey Hess wrote:
> Julien Cristau wrote:
> > On Thu, Jan 20, 2011 at 11:23:48 -0400, Joey Hess wrote:

> > > AFAIK, apt has been fixed to *really* dynamically mmap enough memory for
> > > the configured sources.
> > > 
> > Is that fix in lenny's apt?  I see a fix for #195018 in the changelog
> > entry for 0.7.26~exp8, which suggests that we still need this for
> > upgrades from lenny (apt
> Ah, I had not thought that it's documenting using lenny's apt. You're
> right.

It should now be OK for upgrade from Squeeze, here is a straightforward
patch. Thanks in advance for your reviews, rewrites, remarks or simple


Index: en/upgrading.dbk
--- en/upgrading.dbk	(révision 9649)
+++ en/upgrading.dbk	(copie de travail)
@@ -1108,35 +1108,6 @@
-<section id="apt-error-operation">
-<title>Errors running aptitude or apt-get</title>
-If an operation using <command>aptitude</command>, <command>apt-get</command>,
-or <command>dpkg</command> fails with the error
-<!-- TODO (jfs): Review the message, it has changed in apt-get to
-"Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. "
-"Current value: %lu. (man 5 apt.conf)" -->
-E: Dynamic MMap ran out of room
-the default cache space is insufficient.  You can solve this by either removing
-or commenting lines you don't need in
-<filename>/etc/apt/sources.list</filename> or increasing the cache size.
-The cache size can be increased by setting <literal>APT::Cache-Limit</literal>
-in <filename>/etc/apt/apt.conf</filename>.  The following command will set it
-to a value that should be sufficient for the upgrade:
-# echo 'APT::Cache-Limit "12500000";' &gt;&gt; /etc/apt/apt.conf
-This assumes that you do not yet have this variable set in that file.
 <section id="conflicts-loops">
 <title>Conflicts or Pre-Depends loops</title>

Attachment: signature.asc
Description: Digital signature

Reply to: