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

« back to all changes in this revision

Viewing changes to README

  • Committer: Michael Vogt
  • Date: 2012-01-18 08:35:33 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120118083533-o80f4tfc13k9e587
add support to apply patches when running the release upgrader

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
--------------------------
3
3
 
4
4
This is a small tray icon that backgrounds itself and checks for
5
 
upgrades every 60 minutes. It does nothing more. It must be ensured
6
 
by other means (like a cron job) that a regular "apt-get update" is
7
 
done. 
8
 
 
9
 
Needs libgnomeui2.0-dev and dbus-glib-1-dev to build and gksu to run.
10
 
 
11
 
The dbus interface is pretty simple. The applet will listen on:
12
 
"app.apt.dbus" for the following signal:
13
 
- changed: some packages where removed/added/upgraded
14
 
- updated: the package list was updated
 
5
upgrades. It must be ensured by other means (like a cron job) that a
 
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. 
 
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
 
29
/var/lib/update-notifier/dpkg-run-stamp. If they change it updates
 
30
it's status.
 
31
 
 
32
It also supports interactive hooks and reboot notification support,
 
33
see HOOKS for details. 
 
34
 
 
35
It will detect if a new distribution CD is inserted and supports addon 
 
36
CDs. 
 
37
 
 
38
Additionally it has grown avahi and crash report collection
 
39
support. Both are Ubuntu specific.
15
40
 
16
41
Based on ideas of Matt Zimmerman und Jeff Waught. Tray example from
17
42
Lukas Lipka <lukas@pmad.net>. Lot's of cleanups from Michiel Sikkes.