[Bug 1376693] [NEW] update-notifier not showing updates

bog martaina at gmx.de
Thu Oct 2 12:08:57 UTC 2014


Public bug reported:

update-notifier is not working any more on our 14.04 machines (about 150).
It is not showing available updates and not showing stuff from user.d
This is what i get from debugging:

```
update-notifier --debug-inotify --debug-hooks --debug-misc --debug-uevent 
** (update-notifier:5751): DEBUG: trayapplet_create()
(update-notifier:5751): hooks-DEBUG: init_already_seen_hooks
(update-notifier:5751): hooks-DEBUG: reading hook_file: /data/home/mlehsten/.config/update-notifier/hooks_seen 
(update-notifier:5751): hooks-DEBUG: check_update_hooks()
(update-notifier:5751): hooks-DEBUG: reading '/var/lib/update-notifier/user.d/' dir
(update-notifier:5751): hooks-DEBUG: investigating file 'apt-file-update'
(update-notifier:5751): hooks-DEBUG: is_hook_relevant(): apt-file-update
(update-notifier:5751): hooks-DEBUG: not relevant: 'apt-file-update'
(update-notifier:5751): hooks-DEBUG: investigating file 'bla-data-center-client'
(update-notifier:5751): hooks-DEBUG: is_hook_relevant(): bla-data-center-client
(update-notifier:5751): hooks-DEBUG: not relevant: 'bla-data-center-client'
(update-notifier:5751): hooks-DEBUG: investigating file 'bla-java8-repo'
(update-notifier:5751): hooks-DEBUG: is_hook_relevant(): bla-java8-repo
(update-notifier:5751): hooks-DEBUG: not relevant: 'bla-java8-repo'
(update-notifier:5751): hooks-DEBUG: investigating file 'incomplete-language-support-gnome.note'
(update-notifier:5751): hooks-DEBUG: is_hook_relevant(): incomplete-language-support-gnome.note
(update-notifier:5751): hooks-DEBUG: not relevant: 'incomplete-language-support-gnome.note'
** (update-notifier:5751): DEBUG: tray_applet_ui_destroy: hook-notifier
** (update-notifier:5751): DEBUG: trayapplet_create()
** (update-notifier:5751): DEBUG: crashreport_check

```

If i run the same with --force i get at least an icon for installing updates.
I tried touching the relevant files like:
sudo touch /var/lib/update-notifier/dpkg-run-stamp
and 
sudo touch /var/lib/update-notifier/user.d/bla-java8-repo
but this doesent help either.

Any Suggestions?

Why is it that update-notifier sees all the Hooks a not relevant?
How do i ensure that a Hook is relevant?

P.S:

Just for the record, we have no avahi running.

** Affects: update-notifier (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1376693

Title:
  update-notifier not showing updates

Status in “update-notifier” package in Ubuntu:
  New

Bug description:
  update-notifier is not working any more on our 14.04 machines (about 150).
  It is not showing available updates and not showing stuff from user.d
  This is what i get from debugging:

  ```
  update-notifier --debug-inotify --debug-hooks --debug-misc --debug-uevent 
  ** (update-notifier:5751): DEBUG: trayapplet_create()
  (update-notifier:5751): hooks-DEBUG: init_already_seen_hooks
  (update-notifier:5751): hooks-DEBUG: reading hook_file: /data/home/mlehsten/.config/update-notifier/hooks_seen 
  (update-notifier:5751): hooks-DEBUG: check_update_hooks()
  (update-notifier:5751): hooks-DEBUG: reading '/var/lib/update-notifier/user.d/' dir
  (update-notifier:5751): hooks-DEBUG: investigating file 'apt-file-update'
  (update-notifier:5751): hooks-DEBUG: is_hook_relevant(): apt-file-update
  (update-notifier:5751): hooks-DEBUG: not relevant: 'apt-file-update'
  (update-notifier:5751): hooks-DEBUG: investigating file 'bla-data-center-client'
  (update-notifier:5751): hooks-DEBUG: is_hook_relevant(): bla-data-center-client
  (update-notifier:5751): hooks-DEBUG: not relevant: 'bla-data-center-client'
  (update-notifier:5751): hooks-DEBUG: investigating file 'bla-java8-repo'
  (update-notifier:5751): hooks-DEBUG: is_hook_relevant(): bla-java8-repo
  (update-notifier:5751): hooks-DEBUG: not relevant: 'bla-java8-repo'
  (update-notifier:5751): hooks-DEBUG: investigating file 'incomplete-language-support-gnome.note'
  (update-notifier:5751): hooks-DEBUG: is_hook_relevant(): incomplete-language-support-gnome.note
  (update-notifier:5751): hooks-DEBUG: not relevant: 'incomplete-language-support-gnome.note'
  ** (update-notifier:5751): DEBUG: tray_applet_ui_destroy: hook-notifier
  ** (update-notifier:5751): DEBUG: trayapplet_create()
  ** (update-notifier:5751): DEBUG: crashreport_check

  ```

  If i run the same with --force i get at least an icon for installing updates.
  I tried touching the relevant files like:
  sudo touch /var/lib/update-notifier/dpkg-run-stamp
  and 
  sudo touch /var/lib/update-notifier/user.d/bla-java8-repo
  but this doesent help either.

  Any Suggestions?

  Why is it that update-notifier sees all the Hooks a not relevant?
  How do i ensure that a Hook is relevant?

  P.S:

  Just for the record, we have no avahi running.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1376693/+subscriptions



More information about the foundations-bugs mailing list