~ubuntu-branches/ubuntu/precise/unattended-upgrades/precise

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-08-02 12:10:00 UTC
  • mfrom: (4.1.26 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100802121000-dz20910uiym3ehhi
Tags: 0.61
merged changes from the ubuntu branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
-------------------
3
3
 
4
4
This script can install security upgrades automatically and
5
 
unattended. It will not install packages that require dependencies
 
5
unattended. However, it is not enabled by default. Most users 
 
6
enable it via the Software Sources programm (available in 
 
7
System/Administration), which has a simple radiobutton in the UI 
 
8
for enabling unattended upgrades. 
 
9
 
 
10
If you would prefer to enable it from the command line, run 
 
11
"sudo dpkg-reconfigure -plow unattended-upgrades".
 
12
 
 
13
It will not install packages that require dependencies
6
14
that can't be fetched from security and it will check for conffile
7
15
prompts before the install and holds back the package that creates
8
16
them. 
11
19
 
12
20
The unattended-upgrades package will *not* act unless it is enabled
13
21
explicitly.  To activate this script you need to ensure that the apt
14
 
configuration contains the following lines:
 
22
configuration contains the following lines (this can be done via the
 
23
graphical "Software Source" program or via dpkg-reconfigure):
15
24
 
16
25
APT::Periodic::Update-Package-Lists "1";
17
26
APT::Periodic::Unattended-Upgrade "1";
50
59
"Unattended-Upgrade::Package-Blacklist"
51
60
"Unattended-Upgrade::Mail"
52
61
 
53
 
See https://wiki.ubuntu.com/AutomaticUpdates for more details about
54
 
this feature.
55
 
 
56
62
If you use the mail feature, make sure that /usr/bin/mail is available
57
63
and working (usually the mailx package is required).
58
64
 
60
66
 
61
67
If something goes wrong or if you want to report a bug about the way
62
68
the script works its a good idea to run:
63
 
$ sudo o unattended-upgrade --debug
 
69
$ sudo unattended-upgrade --debug --dry-run
64
70
 
65
71
and look at the resulting logfile in:
66
72
/var/log/unattended-upgrades/unattended-upgrades.log