This answer is based on reading the following files:
which are part of packages (including
update-notifier-common) included in the standard Ubuntu installation. There are other tools available from the distribution that could achieve the same ends, such as
In the file
/etc/apt/apt.conf.d/10periodic, add a line
This configures Apt's periodic scripts to run an unattended upgrade every day. For a longer interval, increase the
1 to a larger number. A
0 for this variable would mean 'disabled'.
In tandem with this, the
autoclean line should be enabled by replacing a
By default, Ubuntu 8.04 only configures automatic unattended upgrades
hardy-security archive. This will cover you against security vulnerabilities, but not for general bug-fix releases. For that, you need to enable the
hardy-updates archive in
// Uncomment the line that reads as follows:
Ubuntu's spec for this feature appears on a wiki page.
Note that Debian systems seem to have the same exact infrastructure, apparently from this feature migrating upstream.