apt update 报错
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start. Current value: 25165824. (man 5 apt.conf)
执行这句加大Cache-Start大小:
echo 'APT::Cache-Start "67108864";' > /etc/apt/apt.conf.d/99cachelimit
如果有vi等编辑软件,可以编辑/etc/apt/apt.conf.d/99cachelimit文件,在其中加上这句:APT::Cache-Start "67108864"
这样就把Cache-Start增大到64M,当前够用了。