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'. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954564 Title: "linux-modules-extra" module missing in pc-kernel snap for 20/track Status in linux package in Ubuntu: Confirmed Bug description: See details here: https://forum.snapcraft.io/t/enable-kernel-module-for-rtw-8821/27812/6 tl;dr is that the linux-modules-extra module is missing, which is causing WiFi not to work on many amd64 based boards. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1954564/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp