ubuntu 下面 apt 报错: Dynamic MMap ran out of room.Please increase the size of APT::Cache-Limit.

come from: http://www.cnblogs.com/lynch_world/archive/2011/04/02/2003922.html


在Ubuntu 10.04使用sudo apt-get update  出现来这个错误。

主要原因是默认的缓存不够,需要手动设置apt.conf 文件,需要设置的大一点 (如64mb)。

解决方法:

sudo gedit  /etc/apt/apt.conf

加入如下内容 :

APT

{

    Cache-Limit  67108864;

};

保存 退出 ,再次运行sudo apt-get update


你可能感兴趣的:(ubuntu 下面 apt 报错: Dynamic MMap ran out of room.Please increase the size of APT::Cache-Limit.)