for i in $(dpkg --get-selections|grep deinstall|awk '{print $1}'); do dpkg -P $i; done
dpkg --get-selections|grep install|wc -l
apt-get -t testing install amarok
apt-get -t unstable upgrade
How can I fix the debian apt-get error: "E: Dynamic MMap ran out of room"
During apt-get update, you may see this error.
The simple way to solve it is like so:
cat << EOF >> /etc/apt/apt.conf
APT::Cache-Limit "10000000";(hit return here)
EOF (hit return again)
Thus, when you 'cat /etc/apt/apt.conf' it should contain:
APT::Cache-Limit "10000000";