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

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

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

解决方法:

sudo gedit  /etc/apt/apt.conf

加入如下内容 :

APT

{

    Cache-Limit  67108864;

};

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

 

 


posted @ 2011-04-02 20:44  墨白麒麟  阅读(973)  评论(2编辑  收藏  举报