Linux Commands Examples

A great documentation place for Linux commands


automatic installation of security (and other) upgrades


unattended-upgrade [options]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


This program can download and install security upgrades automatically and unattended, taking care to only install packages from the configured APT source, and checking for dpkg prompts about configuration file changes. All output is logged to /var/log/unattended-upgrades.log.

This script is the backend for the APT::Periodic::Unattended-Upgrade option and designed to be run from cron (e.g. via /etc/cron.daily/apt).


unattended-upgrade accepts the following options:
, --help

help output

-d, --debug

extra debug output into /var/log/unattended-upgrades.log


Just simulate installing updates, do not actually do it


The configuration is done via the apt configuration mechanism. The default configuration file can be found at /etc/apt/apt.conf.d/50unattended-upgrades


Copyright (C) 2005-2009 Canonical

There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.


unattended-upgrade is written by Michael Vogt <mvo[:at:]ubuntu[:dot:]com>

This manual page was originally written by Michael Vogt <mvo[:at:]ubuntu[:dot:]com>

How can this site be more helpful to YOU ?

give  feedback