~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to README

  • Committer: Michael Vogt
  • Date: 2010-06-16 08:16:41 UTC
  • Revision ID: michael.vogt@ubuntu.com-20100616081641-obfkq9wfkpg5afh0
* README:
  - updated, add information on /etc/apt/apt.conf.d/10periodic,
    /etc/apt/apt.conf.d/20archive. Thanks to Michael Schuerig
    for suggesting this

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
This is a small tray icon that backgrounds itself and checks for
5
5
upgrades. It must be ensured by other means (like a cron job) that a
6
6
regular "apt-get update" is done. This is ensured by installing a
7
 
option into /etc/apt/apt.conf.d to trigger a cron update script. It
8
 
uses FAM to monitor /var/lib/apt/lists/* and
 
7
option into /etc/apt/apt.conf.d to trigger a cron update script. 
 
8
 
 
9
It uses the following file from the apt package for the updating
 
10
of the package information:
 
11
  /etc/cron.daily/apt
 
12
 
 
13
The following files are installed as part of the update-notifier-comomn 
 
14
package and trigger regular the /etc/cron.daily/apt job:
 
15
  /etc/apt/apt.conf.d/10periodic
 
16
  /etc/apt/apt.conf.d/20archive
 
17
 
 
18
The "10periodic" file controls how often (in days) certain actions are 
 
19
run. The most common one is: APT::Periodic::Update-Package-Lists is
 
20
used for the "apt-get update". The header of /etc/cron.daily/apt
 
21
contains more information of the individual options. 
 
22
 
 
23
The "20archive" file controls the packages (.deb) cache in 
 
24
/var/cache/apt/archives - it can be used to define a maximum total
 
25
size for the deb files there and the time (in days) until they get
 
26
deleted. See the header of /etc/cron.daily/apt for more details.
 
27
 
 
28
It uses GIO to monitor /var/lib/apt/lists/* and
9
29
/var/lib/update-notifier/dpkg-run-stamp. If they change it updates
10
30
it's status.
11
31
 
12
 
Needs libgnomeui2.0-dev and libhal-dev to build and gksu to run.
13
 
 
14
32
It also supports interactive hooks and reboot notification support,
15
33
see HOOKS for details. 
16
34
 
18
36
CDs. 
19
37
 
20
38
Additionally it has grown avahi and crash report collection
21
 
support. Both very ubuntu specific.
 
39
support. Both are Ubuntu specific.
22
40
 
23
41
Based on ideas of Matt Zimmerman und Jeff Waught. Tray example from
24
42
Lukas Lipka <lukas@pmad.net>. Lot's of cleanups from Michiel Sikkes.