OK, tracking down this stacktrace I found the problem:
it appears that kerneldetection.py fails when I have a custom built mainline package installed.
that would make this a bug in "ubuntu-drivers-common"
It appears to be irrelevant that I am *running* the standard Ubuntu generic kernel - the error occurs when I just have this kernel package installed, and it goes away when I remove it!
Maybe it doesnt happen with all custom packages, i have a slightly special name: linux-image-5.17.9-hs-custom-2022-05-22-a - I assumed when dpkg-deb can build it, this name is fine.
OK, tracking down this stacktrace I found the problem:
it appears that kerneldetection.py fails when I have a custom built mainline package installed. drivers- common"
that would make this a bug in "ubuntu-
It appears to be irrelevant that I am *running* the standard Ubuntu generic kernel - the error occurs when I just have this kernel package installed, and it goes away when I remove it!
Maybe it doesnt happen with all custom packages, i have a slightly special name: linux-image- 5.17.9- hs-custom- 2022-05- 22-a - I assumed when dpkg-deb can build it, this name is fine.
Might add more detail later...