The issue is the ValueError string content changed or was never correct.
*** ValueError: package linux-headers-4.6.1-040601-lowlatency does not exist
vs.
try: supported_kernel = apport.packaging.is_distro_package(kernel_package)
except ValueError as e:
if str(e) == 'package does not exist': supported_kernel = False
The issue is the ValueError string content changed or was never correct.
*** ValueError: package linux-headers- 4.6.1-040601- lowlatency does not exist
vs.
try:
supported_ kernel = apport. packaging. is_distro_ package( kernel_ package)
supported_ kernel = False
except ValueError as e:
if str(e) == 'package does not exist':