apt-get --force-yes: How to suppress further questions Try: export DEBIAN_FRONTEND=noninteractive apt-get -y install package1 package2