[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@63:get_distro:_get_output_from_lsb_rele

2021-06-10 Thread Brian Murray
Looking at the code I guess raising an Exception here could be useful but it ends up preventing a flavor from using apt-check and that doesn't seem great. What would the negative consequences be of not raising and exception and having DISTRO be empty? -- You received this bug notification because

[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@63:get_distro:_get_output_from_lsb_rele

2021-06-10 Thread Lucas Albuquerque Medeiros de Moura
We use the distro information all over the code, for example, to perform the check if a package is from a security pocket or if it is an ESM package. We also use the distro to correctly select the ESM messages we will deliver to the user -- You received this bug notification because you are a me

[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@63:get_distro:_get_output_from_lsb_rele

2021-06-10 Thread Lucas Albuquerque Medeiros de Moura
Hi Brian, do you have any suggestions about what could be done here ? It seems that the problem occurred on both the /etc/os-release file and the lsb_release command. I don't think there is anything else we can do on that situation right ? -- You received this bug notification because you are a

[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@63:get_distro:_get_output_from_lsb_rele

2021-06-10 Thread Brian Murray
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( Exceptio