Comment 12 for bug 1817559

Revision history for this message
Ivan Zorin (iaz) wrote : Re: update-manager ignores its own settings completely

> what you call 'notification' seems to be in fact the application itself opening (you still didn't include any screenshot showing a notification so let's assume it's a vocabulary error)

If it's not about notifying user about updates by showing window with related info, why it's called `update-*notifier*' then?

> copy the log there

Here you go:

$ killall update-notifier
$ update-notifier --debug-updates
(update-notifier:6221): update-DEBUG: update_check()
(update-notifier:6221): update-DEBUG: /usr/lib/update-notifier/apt-check returned 6 (security: 6)
(update-notifier:6221): update-DEBUG: is_package_system_locked: /usr/lib/update-notifier/package-system-lockedreturned 0
(update-notifier:6221): update-DEBUG: interval_days: 14
(update-notifier:6221): update-DEBUG: last_launch: 1551322900 (Thu Feb 28 06:01:40 2019
)
(update-notifier:6221): update-DEBUG: security updates, auto-launching
/usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Dbusmenu was imported without specifying a version first. Use gi.require_version('Dbusmenu', '0.4') before import to ensure that the right version gets loaded.
  from gi.repository import Dbusmenu, Unity
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Unity was imported without specifying a version first. Use gi.require_version('Unity', '7.0') before import to ensure that the right version gets loaded.
  from gi.repository import Dbusmenu, Unity

So, my humble understanding is that, according to current user' settings, this value:

> interval_days: 14

must be 0 or -1 or anything other value (like 36500 - I guess that it will be enough) which would make `update-manager' and `update-notifier' both inactive.

Should I mark this report as invalid now and create a new one related to `update-notifier' package at this time?