假如用apt或新立得出现下列错误:
转载于:
http://hi.baidu.com/wangy0919/blog/item/96363709a31d55cd3bc7634f.html
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
[url=http://hi.baidu.com/wangy0919/blog/item/96363709a31d55cd3bc7634f.html][/url]
软件包过大,可能需要适当增加 apt 的缓存上限。
解决方法:
sudo apt-cache search forcs
2
apt-get update: Dynamic MMap ran out of room的解决
apt-get error
若apt-setup出?"E:Dynamic MMap ran out of room"??,在/etc/apt/apt.conf
加入
APT
{
Cache-Limit "141943904"
}
增加cache的可用空?。
假如在使用`aptitude’、`apt-get’或`dpkg’时出现如下错误
E: Dynamic MMap ran out of room
那是因为默认的缓冲区太小。解决办法有二:移除`/etc/apt/sources.list’中的多余行,
增大缓冲区。缓冲区大小可通过`/etc/apt/apt.conf’中的`APT::Cache-Limit’设定。
假设现有`/etc/apt/apt.conf’中未设定这一变量,能够这样做:
# echo ’APT::Cache-Limit "12500000";’ >> /etc/apt/apt.conf
阅读(3223) | 评论(0) | 转发(0) |