Comment 5 for bug 746137

with this snippet i can reliably reproduce the problem:

-------------8<-------------8<-------------8<-------------8<-------------

PKG="kubuntu-desktop openoffice.org fakeroot build-essential kexec-tools kernel-wedge libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev gimp chromium texlive-latex-recommended"
while [ 1 ]; do
    sudo rm /var/cache/apt/archives/*
    sudo aptitude install -dy $PKG
done

-------------8<-------------8<-------------8<-------------8<-------------

however adding "vm.min_free_kbytes = 8192" to sysctl.conf seems to fix the issue.