[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

Hi,

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 0.7.20.2).
> 
> 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
acknowledgments.

Regards

David
Index: en/upgrading.dbk
===================================================================
--- en/upgrading.dbk	(révision 9649)
+++ en/upgrading.dbk	(copie de travail)
@@ -1108,35 +1108,6 @@
 
 </section>
 
-<section id="apt-error-operation">
-<title>Errors running aptitude or apt-get</title>
-<para>
-If an operation using <command>aptitude</command>, <command>apt-get</command>,
-or <command>dpkg</command> fails with the error
-</para>
-<!-- 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)" -->
-<screen>
-E: Dynamic MMap ran out of room
-</screen>
-<para>
-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:
-</para>
-<screen>
-# echo 'APT::Cache-Limit "12500000";' &gt;&gt; /etc/apt/apt.conf
-</screen>
-<para>
-This assumes that you do not yet have this variable set in that file.
-</para>
-
-</section>
-
 <section id="conflicts-loops">
 <title>Conflicts or Pre-Depends loops</title>
 

Attachment: signature.asc
Description: Digital signature


Reply to: