[Bug 1927994] Re: /usr/lib/update-notifier/backend_helper.py:FileNotFoundError:/usr/lib/update-notifier/backend_helper.py at 166:show_updates:call:__init__:_execute_child

Brian Murray 1927994 at bugs.launchpad.net
Thu May 27 15:18:53 UTC 2021


** Tags removed: rls-ii-incoming
** Tags added: rls-ii-notifixing

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

Title:
  /usr/lib/update-notifier/backend_helper.py:FileNotFoundError:/usr/lib
  /update-
  notifier/backend_helper.py at 166:show_updates:call:__init__:_execute_child

Status in update-notifier package in Ubuntu:
  In Progress

Bug description:
  update-notifier-common depends on update-manager-core and update-
  notifier depends on update-manager | update-manager-gnome. However,
  calling "backend_helper.py show_updates" from update-notifier-common
  will crash w/o update-manager.

  (focal-amd64)root at impulse:/home/bdmurray/tmp# /usr/bin/python3 /usr/lib/update-notifier/backend_helper.py show_updates
  Traceback (most recent call last):
    File "/usr/lib/update-notifier/backend_helper.py", line 166, in <module>
      res = f(**f_kwargs)
    File "/usr/lib/update-notifier/backend_helper.py", line 22, in show_updates
      res = subprocess.call(cmd)
    File "/usr/lib/python3.8/subprocess.py", line 340, in call
      with Popen(*popenargs, **kwargs) as p:
    File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'update-manager'

  [Errors Bucket]
  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-notifier.  This problem was most recently seen with package version 3.192.36, the problem page at https://errors.ubuntu.com/problem/0d32a54a459e849834245732febb0b408adddecc contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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



More information about the foundations-bugs mailing list