Comment 1 for bug 1931621

Revision history for this message
Brian Murray (brian-murray) wrote :

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.