Dynamic MMap ran out of room
getting the above error means that your apt cache is out of space. This is solved simply by editing
/etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf and adding the following line :
APT::Cache-Limit “10000000″; ( this is equal to 10m, set it to whatever you want or need )
That’s it but remember that by increasing the cache you might end up with a full drive so run:
apt-get clean
once in a while.