apt-get-noninteractive
[option]s
Simple wrapper that sets environment variables and adds --yes
,
-o Dpkg::Options::=--force-confask,confnew,confnew
then forwards all arguments to
apt-get.
Does not pass by default:
--allow-downgrades
--allow-remove-essential
--allow-change-held-packages
If you like to keep old configuration files, add the following parameter.
-o Dpkg::Options::=--force-confold
sudo apt-get-noninteractive dist-upgrade
sudo apt-get-noninteractive -o Dpkg::Options::=--force-confold install dist-upgrade
sudo apt-get-noninteractive install xfce4
sudo apt-get-noninteractive install package-name
sudo apt-get-noninteractive --allow-downgrades --allow-change-held-packages install package-name
This man page has been written by Patrick Schleizer ([email protected]).