Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (20 sloc) 878 Bytes

apt-get-noninteractive(8) -- wrapper to run apt-get non-interactively

# Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP # See the file COPYING for copying conditions.


apt-get-noninteractive [option]s


Simple wrapper that sets environment variables and adds --yes, -o Dpkg::Options::=--force-confnew then forwards all arguments to apt-get. Does not pass --force-yes.

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


This man page has been written by Patrick Schleizer (

You can’t perform that action at this time.