We tried building our custom kernel snap that would include this module, unfortunately, this error is encountered since last week when trying to build it.
apt-get download linux-firmware wireless-regdb linux-image-uc20-efi-generic linux-image-5.4.0-97-generic linux-modules-5.4.0-97-generic
E: Unable to locate package linux-image-5.4.0-97-generic
E: Couldn't find any package by glob 'linux-image-5.4.0-97-generic'
E: Couldn't find any package by regex 'linux-image-5.4.0-97-generic'
E: Can't select candidate version from package linux-modules-5.4.0-97-generic as it has no candidate
make: *** [Makefile.efi:33: prepare-kernel] Error 100
Trying previous commits in the repo does not help as well.
KIMGVER=$(apt-cache show linux-image-uc20-efi-generic | sed -n -e 's/^Version: \([^+]*\)\(+.*\)\?/\1/p'|sort -V|tail -1); \
echo "KIMGVER: $KIMGVER"; \
test -n "$KIMGVER" || ( echo "Unable to extract KIMGVER, exit"; false; ); \
if [ "$KIMGVER" != "5.4.0-96.109.1" ]; then \
echo "Version mismatch:\nInstalled: $KIMGVER Requested: 5.4.0-96.109.1"; \
false; \
fi
KIMGVER: 5.4.0-97.110.1
Version mismatch:
Installed: 5.4.0-97.110.1 Requested: 5.4.0-96.109.1
make: *** [Makefile.efi:53: version-check] Error 1
Failed to build 'kernel'.
We tried building our custom kernel snap that would include this module, unfortunately, this error is encountered since last week when trying to build it.
apt-get download linux-firmware wireless-regdb linux-image- uc20-efi- generic linux-image- 5.4.0-97- generic linux-modules- 5.4.0-97- generic 5.4.0-97- generic image-5. 4.0-97- generic' image-5. 4.0-97- generic' 5.4.0-97- generic as it has no candidate
E: Unable to locate package linux-image-
E: Couldn't find any package by glob 'linux-
E: Couldn't find any package by regex 'linux-
E: Can't select candidate version from package linux-modules-
make: *** [Makefile.efi:33: prepare-kernel] Error 100
Trying previous commits in the repo does not help as well.
KIMGVER=$(apt-cache show linux-image- uc20-efi- generic | sed -n -e 's/^Version: \([^+]* \)\(+.* \)\?/\1/ p'|sort -V|tail -1); \ \nInstalled: $KIMGVER Requested: 5.4.0-96.109.1"; \
echo "KIMGVER: $KIMGVER"; \
test -n "$KIMGVER" || ( echo "Unable to extract KIMGVER, exit"; false; ); \
if [ "$KIMGVER" != "5.4.0-96.109.1" ]; then \
echo "Version mismatch:
false; \
fi
KIMGVER: 5.4.0-97.110.1
Version mismatch:
Installed: 5.4.0-97.110.1 Requested: 5.4.0-96.109.1
make: *** [Makefile.efi:53: version-check] Error 1
Failed to build 'kernel'.