Comment 79 for bug 356152

Revision history for this message
ubuntu-tester (ubuntu-tester1) wrote :

Hello,

The status of this bug report is "Fix released" but I still have this issue on Ubuntu 14.04 :

$ update-notifier --debug-updates
(update-notifier:9358): update-DEBUG: update_check()
(update-notifier:9358): update-DEBUG: /usr/lib/update-notifier/apt-check returned 1 (security: 0)
(update-notifier:9358): update-DEBUG: is_package_system_locked: /usr/lib/update-notifier/package-system-lockedreturned 0
(update-notifier:9358): update-DEBUG: interval_days: 7
(update-notifier:9358): update-DEBUG: last_launch: 1425972781 (Tue Mar 10 08:33:01 2015
)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.1: 1425191986 (dim. mars 1 07:39:46 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.1: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.1: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.2.gz: 1422859990 (lun. févr. 2 07:53:10 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.2.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.2.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.3.gz: 1420062306 (mer. déc. 31 22:45:06 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.3.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.3.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.4.gz: 1417383908 (dim. nov. 30 22:45:08 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.4.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.4.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.5.gz: 1415001032 (lun. nov. 3 08:50:32 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.5.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.5.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.6.gz: 1412145237 (mer. oct. 1 08:33:57 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.6.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.6.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/dpkg.log.orig: 1425365638 (mar. mars 3 07:53:58 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/dpkg.log.orig: 1425367599 (mar. mars 3 08:26:39 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/dpkg.log.orig: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.1.gz: 1425191986 (dim. mars 1 07:39:46 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.1.gz: 1425191995 (dim. mars 1 07:39:55 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.1.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.2.gz: 1422601352 (ven. janv. 30 08:02:32 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.2.gz: 1425191994 (dim. mars 1 07:39:54 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.2.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.3.gz: 1419004839 (ven. déc. 19 17:00:39 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.3.gz: 1425191994 (dim. mars 1 07:39:54 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.3.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.4.gz: 1416911077 (mar. nov. 25 11:24:37 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.4.gz: 1425191994 (dim. mars 1 07:39:54 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.4.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.5.gz: 1414740529 (ven. oct. 31 08:28:49 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.5.gz: 1425191994 (dim. mars 1 07:39:54 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.5.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.6.gz: 1412145237 (mer. oct. 1 08:33:57 2014)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.6.gz: 1425191994 (dim. mars 1 07:39:54 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.6.gz: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: mtime from /var/log/apt/term.log.orig: 1425301800 (lun. mars 2 14:10:00 2015)
(update-notifier:9358): update-DEBUG: ctime from /var/log/apt/term.log.orig: 1425367621 (mar. mars 3 08:27:01 2015)
(update-notifier:9358): update-DEBUG: last_launch from /var/log/apt/term.log.orig: 1425973865 (mar. mars 10 08:51:05 2015)
(update-notifier:9358): update-DEBUG: time now 1425973880 (Tue Mar 10 08:51:20 2015
), delta: 15

So,
delta = time now - mtime from /var/log/dpkg.log
delta = 1425973880 - 1425973865
delta = 15

In update-notifier, the delta seems to be the difference between the time now and the most recent date below :
- Date of last launch of update-manager (manually or automatically),
- Date of last modification of files /var/log/dpkg.log*
- Date of last modification of files /var/log/apt/term.log*

So, if update-manager is configured like this :
- When there are security updates : Download and install automatically,
- When there are others updates : Display weekly,
and if I have security updates at least once a week, I will never have notifications for other updates.

I think the delta should be only the difference between the time now and the last notification.

I don't find a reference to this bug report in the changelog of update-notifier and update-manager on Ubuntu 14.04.
Someone can tell me which fix has been released, on which release of Ubuntu ?

Thanks.