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