[Bug 2053174] Re: update-manager crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'lsb_release'
Brian Murray
2053174 at bugs.launchpad.net
Wed Feb 14 22:14:59 UTC 2024
I'm flagging this because while it's easy to say those systems are
borked we should think about how this code happen and if there is a more
resilient approach to figuring out what release the system is running.
Maybe like what was done in this commit.
commit d2634ad1b1022b76a4defd99738eb1652860cf70
Author: Benjamin Drung <benjamin.drung at canonical.com>
Date: Mon Feb 13 14:12:47 2023 +0100
Replace lsb_release call with reading /etc/os-release directly
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2053174
Title:
update-manager crashed with FileNotFoundError in _execute_child():
[Errno 2] No such file or directory: 'lsb_release'
Status in update-manager package in Ubuntu:
New
Bug description:
I removed the lsb_release binary to recreate a crash I'd seen in the
Error Tracker, so that we have a Launchpad bug to track this.
https://errors.ubuntu.com/problem/cb53b24a4527ac41429086509360e3b6b049c74f
ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: update-manager 1:22.04.19 [origin: unknown]
ProcVersionSignature: Ubuntu 6.5.0-17.17~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 14 12:46:01 2024
ExecutablePath: /usr/bin/update-manager
ExecutableTimestamp: 1706278231
GsettingsChanges:
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'launch-count' b'7'
b'com.ubuntu.update-manager' b'launch-time' b'int64 1707943561'
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-width' b'593'
InstallationDate: Installed on 2023-11-02 (104 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
InterpreterPath: /usr/bin/python3.10
JournalErrors:
Feb 14 12:45:58 clean-jammy-amd64 gnome-calculato[10382]: search-provider.vala:140: Failed to spawn Calculator: Child process killed by signal 9
Feb 14 12:45:58 clean-jammy-amd64 gnome-calculato[10382]: search-provider.vala:140: Failed to spawn Calculator: Child process killed by signal 9
Feb 14 12:45:58 clean-jammy-amd64 gnome-calculato[10382]: search-provider.vala:140: Failed to spawn Calculator: Child process killed by signal 9
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager
ProcCwd: /home/bdmurray
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonArgs: ['/usr/bin/update-manager']
PythonDetails: N/A
SourcePackage: update-manager
Title: update-manager crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'lsb_release'
UpgradeStatus: Upgraded to None on 2024-02-14 (0 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2053174/+subscriptions
More information about the foundations-bugs
mailing list