錯誤:
在Linux下更新時出現錯誤,內容為:E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
解決辦法:
終端下輸入命令 sudo vim /etc/apt/apt.conf.d/70debconf
在打開的文件中添加一行 "APT::Cache-Limit 33554432;"。
注:
在Ubuntu 10.04下,70debconf 是緩存配置文件,在其他的一些linux系統中可能在./apt目錄下就有配置文件了。
33554432指的是是緩存大小,盡量大吧,保存ok!