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

« back to all changes in this revision

Viewing changes to README

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Upgrade notifier tray icon
2
 
--------------------------
3
 
 
4
 
This is a small tray icon that backgrounds itself and checks for
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-common
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.
36
 
 
37
 
Additionally it has grown avahi and crash report collection
38
 
support. Both are Ubuntu specific.
39
 
 
40
 
Based on ideas of Matt Zimmerman und Jeff Waught. Tray example from
41
 
Lukas Lipka <lukas@pmad.net>. Lot's of cleanups from Michiel Sikkes.
42
 
Thanks!
43
 
 
44
 
Michael Vogt