On this page
Error: apt - E: Dynamic MMap ran out of room
You get an error like this one when running:
apt-get update
E: Dynamic MMap ran out of room
Solution
Open /etc/apt/apt.conf...
vi /etc/apt/apt.conf
... and put the following line into it:
APT::Cache-Limit "100000000";
Then run
apt-get update
to update the package database.