Comment 3 for bug 1954564

Revision history for this message
Sergey Borovkov (serge-borovkov) wrote :

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'.