[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
Launchpad Bug Tracker
1927994 at bugs.launchpad.net
Fri Jun 25 16:27:59 UTC 2021
This bug was fixed in the package update-notifier - 3.192.45
---------------
update-notifier (3.192.45) impish; urgency=medium
* Use the ayatana variant of the indicators since they are better
maintained and Debian transitioned, we are doing the same
for Ubuntu now
[ Brian Murray ]
* data/backend_helper.py: only call update-manager if it is installed on the
system. (LP: #1927994)
-- Sebastien Bacher <seb128 at ubuntu.com> Fri, 25 Jun 2021 11:06:31
+0200
** Changed in: update-notifier (Ubuntu)
Status: In Progress => Fix Released
--
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:
Fix Released
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