Improve aptitude commands.

1. Run `aptitude update` after adding repositories so that the latest
   packages from those repositories are used.
2. Use DEBIAN_FRONTEND=noninteractive.
3. Do a full safe-upgrade instead of upgrading individual packages.
4. Run safe-upgrade as the first step of provision.