this error occurs when having somehow "exotic" linux-image-* package names - even thoug dpkg-deb can build them and dpkg is installing them without compaints, they lead to an error here.
A custom built mainline kernel without special naming can be installed without triggering the bug described here!
likely its the regular expression in Line 86 of kerneldetection.py that I am right now unable to improve...
the goal would probably be either to improve the expression to be able to deal with all legal package names, or give an error/exception that the kernel name/version could not be parsed.
confirming my guess:
this error occurs when having somehow "exotic" linux-image-* package names - even thoug dpkg-deb can build them and dpkg is installing them without compaints, they lead to an error here.
A custom built mainline kernel without special naming can be installed without triggering the bug described here!
likely its the regular expression in Line 86 of kerneldetection.py that I am right now unable to improve...
the goal would probably be either to improve the expression to be able to deal with all legal package names, or give an error/exception that the kernel name/version could not be parsed.