update-manager crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'lsb_release'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Triaged
|
Low
|
Unassigned |
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:/
ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: update-manager 1:22.04.19 [origin: unknown]
ProcVersionSign
Uname: Linux 6.5.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckM
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 14 12:46:01 2024
ExecutablePath: /usr/bin/
ExecutableTimes
GsettingsChanges:
b'com.
b'com.
b'com.
b'com.
b'com.
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
Feb 14 12:45:58 clean-jammy-amd64 gnome-calculato
Feb 14 12:45:58 clean-jammy-amd64 gnome-calculato
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcCwd: /home/bdmurray
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/
PythonArgs: ['/usr/
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
tags: | removed: need-duplicate-check |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: foundations-todo removed: rls-jj-incoming |
Changed in update-manager (Ubuntu Jammy): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in update-manager (Ubuntu Jammy): | |
milestone: | none → jammy-updates |
The Traceback in the Error Tracker is slightly different but that's just because of how it was called.
Traceback (most recent call last): do-release- upgrade" , line 133, in <module> (useDevelopment Release= options. devel_release, python3/ dist-packages/ UpdateManager/ Core/MetaReleas e.py", line 106, in __init__ current_ dist_name = get_dist() python3/ dist-packages/ UpdateManager/ Core/utils. py", line 220, in get_dist "lsb_release" , "-c", "-s"], stdout=PIPE, python3. 10/subprocess. py", line 971, in __init__ _execute_ child(args, executable, preexec_fn, close_fds, python3. 10/subprocess. py", line 1863, in _execute_child _type(errno_ num, err_msg, err_filename)
File "/usr/bin/
m = MetaReleaseCore
File "/usr/lib/
self.
File "/usr/lib/
p = Popen([
File "/usr/lib/
self.
File "/usr/lib/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'lsb_release'