When running apt-get update
with a lot of sources in your sources.list, you may encounter this error:
Reading package lists... Error!
E: Dynamic MMap ran out of room
Add this line APT::Cache-Limit "25165824";
to your /etc/apt/apt.conf, and run apt-get update again.