[Bug 1180034] Re: backend_helper.py wants update-manager

Brian Murray brian at ubuntu.com
Wed May 22 23:19:14 UTC 2013


backend_helper.py is only called with show_updates by the tray applet
which should be going away in Saucy.

>From src/update.c:

// command, description, desktopfile, needs_pkexec
const char* actions[][4] = {
   { "/usr/lib/update-notifier/backend_helper.py show_updates",
     N_("Show updates"), 
     "/usr/share/applications/update-manager.desktop", 
     GINT_TO_POINTER(FALSE) },


** Changed in: update-notifier (Ubuntu)
   Importance: Medium => Low

** Changed in: update-notifier (Ubuntu)
       Status: New => Triaged

-- 
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/1180034

Title:
  backend_helper.py wants update-manager

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

Bug description:
  backend_helper.py uses update-manager to show updates:

  # show updates
  def show_updates():
      """ show updates using update-manager """
      cmd = ["update-manager", "--no-update"]
      res = subprocess.call(cmd)
      return (res == 0)

  However, backend_helper.py is shipped as a part of update-notifier-
  common and update-notifier-common does not depend on update-manager.

  Package: update-notifier-common
  Priority: optional
  Section: gnome
  Installed-Size: 2051
  Maintainer: Michael Vogt <michael.vogt at ubuntu.com>
  Architecture: all
  Source: update-notifier
  Version: 0.134
  Replaces: update-notifier (<< 0.75.1)
  Depends: python, python-apt (>= 0.6.12), python-debian, debconf, patch
  Pre-Depends: dpkg (>= 1.15.7.2)
  Recommends: libpam-modules (>= 1.0.1-9ubuntu3)

  So then we get crashes like -
  https://errors.ubuntu.com/problem/4bb20e02d1c3f2227f167b56a7e7792a016700c9

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




More information about the foundations-bugs mailing list