logMessage "Installing Debian standard system to prefix ${prefix}"
echo -e '#!/bin/bash\nexit 101\n' > ${prefix}/usr/sbin/policy-rc.d
chmod +x ${prefix}/usr/sbin/policy-rc.d
-chroot ${prefix} aptitude -y install '~prequired|~pimportant|~pstandard'
+chroot ${prefix} env DEBIAN_FRONTEND=noninteractive aptitude -y install '~prequired|~pimportant|~pstandard'
rm -f {$prefix}/usr/sbin/policy-rc.d