[Bug 1931621] Re: /usr/lib/update-notifier/apt_check.py:subprocess.CalledProcessError:get_distro:_get_info_from_os_release:/usr/lib/update-notifier/apt_check.py at 63:get_distro:_get_output_from_lsb_release:check_output:run

Brian Murray 1931621 at bugs.launchpad.net
Thu Jun 10 18:05:25 UTC 2021


Here's the Traceback:

Traceback (most recent call last):
  File "/usr/lib/update-notifier/apt-check", line 55, in get_distro
    return _get_info_from_os_release(key="UBUNTU_CODENAME")
  File "/usr/lib/update-notifier/apt-check", line 32, in _get_info_from_os_release
    raise Exception(
Exception: Could not find UBUNTU_CODENAME in /etc/os-release

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/update-notifier/apt-check", line 63, in <module>
    DISTRO = get_distro()
  File "/usr/lib/update-notifier/apt-check", line 60, in get_distro
    return _get_output_from_lsb_release("-c")
  File "/usr/lib/update-notifier/apt-check", line 47, in _get_output_from_lsb_release
    return subprocess.check_output(
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['lsb_release', '-c', '-s']' returned non-zero exit status 1.

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

Title:
  /usr/lib/update-
  notifier/apt_check.py:subprocess.CalledProcessError:get_distro:_get_info_from_os_release:/usr/lib
  /update-
  notifier/apt_check.py at 63:get_distro:_get_output_from_lsb_release:check_output:run

Status in update-notifier package in Ubuntu:
  New

Bug description:
  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.30.8, the problem page at https://errors.ubuntu.com/problem/4a420fb0aa23173e53e718729b33e8944f6f6ef0 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/1931621/+subscriptions



More information about the foundations-bugs mailing list