Set non-interactive front end when running apt-get

Fixes miscellaneous issues where apt-get may otherwise attempt to drop
down the the default (interactive) Readline frontend and fail, such as
installing mysql-server.