I tried this on a headless 10.04 VM and it fails.
W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/precise/beta2/binary-i386/Packages.gz 404 Not Found
allowing it to continue I get:
E: Could not perform immediate configuration on 'python2.7-minimal'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Couldn't configure pre-depend multiarch-support for libnih-dbus1, probably a dependency cycle.
I can leave this as is if you want me to try something else with it.
Meanwhile I will d/load the 10.04 release iso and set up as a hybrid VM and try the script on that.