@waveform,
I've tested on both aws and gcp, by installing the flash-kernel update first, then installing the linux-generic kernel. Here's the apt-get output:
$ apt-get install --yes kernel-testing--linux--full--generic Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libnuma1 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: firmware-sof-signed linux-firmware linux-headers-6.2.0-18 linux-headers-6.2.0-18-generic linux-headers-generic linux-image-6.2.0-18-generic linux-image-generic linux-modules-6.2.0-18-generic linux-modules-extra-6.2.0-18-generic wireless-regdb Suggested packages: fdutils linux-doc | linux-source-6.2.0 linux-tools The following NEW packages will be installed: firmware-sof-signed linux-firmware linux-generic linux-headers-6.2.0-18 linux-headers-6.2.0-18-generic linux-headers-generic linux-image-6.2.0-18-generic linux-image-generic linux-modules-6.2.0-18-generic linux-modules-extra-6.2.0-18-generic wireless-regdb 0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded. Need to get 428 MB of archives. After this operation, 1821 MB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 firmware-sof-signed all 2.2.4-1 [651 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-firmware all 20230323.gitbcdcfbcf-0ubuntu1 [281 MB] Get:3 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-modules-6.2.0-18-generic arm64 6.2.0-18.18 [28.0 MB] Get:4 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-image-6.2.0-18-generic arm64 6.2.0-18.18 [20.0 MB] Get:5 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 wireless-regdb all 2022.06.06-0ubuntu1 [10.3 kB] Get:6 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-modules-extra-6.2.0-18-generic arm64 6.2.0-18.18 [82.0 MB] Get:7 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-image-generic arm64 6.2.0.18.18 [7936 B] Get:8 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-headers-6.2.0-18 all 6.2.0-18.18 [13.1 MB] Get:9 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-headers-6.2.0-18-generic arm64 6.2.0-18.18 [2924 kB] Get:10 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-headers-generic arm64 6.2.0.18.18 [7844 B] Get:11 http://ports.ubuntu.com/ubuntu-ports lunar/main arm64 linux-generic arm64 6.2.0.18.18 [1704 B] Fetched 428 MB in 5s (78.2 MB/s) Selecting previously unselected package firmware-sof-signed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 68792 files and directories currently installed.) Preparing to unpack .../00-firmware-sof-signed_2.2.4-1_all.deb ... Unpacking firmware-sof-signed (2.2.4-1) ... Selecting previously unselected package linux-firmware. Preparing to unpack .../01-linux-firmware_20230323.gitbcdcfbcf-0ubuntu1_all.deb ... Unpacking linux-firmware (20230323.gitbcdcfbcf-0ubuntu1) ... Selecting previously unselected package linux-modules-6.2.0-18-generic. Preparing to unpack .../02-linux-modules-6.2.0-18-generic_6.2.0-18.18_arm64.deb ... Unpacking linux-modules-6.2.0-18-generic (6.2.0-18.18) ... Selecting previously unselected package linux-image-6.2.0-18-generic. Preparing to unpack .../03-linux-image-6.2.0-18-generic_6.2.0-18.18_arm64.deb ... Unpacking linux-image-6.2.0-18-generic (6.2.0-18.18) ... Selecting previously unselected package wireless-regdb. Preparing to unpack .../04-wireless-regdb_2022.06.06-0ubuntu1_all.deb ... Unpacking wireless-regdb (2022.06.06-0ubuntu1) ... Selecting previously unselected package linux-modules-extra-6.2.0-18-generic. Preparing to unpack .../05-linux-modules-extra-6.2.0-18-generic_6.2.0-18.18_arm64.deb ... Unpacking linux-modules-extra-6.2.0-18-generic (6.2.0-18.18) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../06-linux-image-generic_6.2.0.18.18_arm64.deb ... Unpacking linux-image-generic (6.2.0.18.18) ... Selecting previously unselected package linux-headers-6.2.0-18. Preparing to unpack .../07-linux-headers-6.2.0-18_6.2.0-18.18_all.deb ... Unpacking linux-headers-6.2.0-18 (6.2.0-18.18) ... Selecting previously unselected package linux-headers-6.2.0-18-generic. Preparing to unpack .../08-linux-headers-6.2.0-18-generic_6.2.0-18.18_arm64.deb ... Unpacking linux-headers-6.2.0-18-generic (6.2.0-18.18) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../09-linux-headers-generic_6.2.0.18.18_arm64.deb ... Unpacking linux-headers-generic (6.2.0.18.18) ... Selecting previously unselected package linux-generic. Preparing to unpack .../10-linux-generic_6.2.0.18.18_arm64.deb ... Unpacking linux-generic (6.2.0.18.18) ... Setting up linux-firmware (20230323.gitbcdcfbcf-0ubuntu1) ... update-initramfs: Generating /boot/initrd.img-5.19.0-1010-gcp flash-kernel: deferring update (trigger activated) Setting up linux-modules-6.2.0-18-generic (6.2.0-18.18) ... Setting up firmware-sof-signed (2.2.4-1) ... Setting up wireless-regdb (2022.06.06-0ubuntu1) ... Setting up linux-headers-6.2.0-18 (6.2.0-18.18) ... Setting up linux-image-6.2.0-18-generic (6.2.0-18.18) ... I: /boot/vmlinuz is now a symlink to vmlinuz-6.2.0-18-generic I: /boot/initrd.img is now a symlink to initrd.img-6.2.0-18-generic Setting up linux-modules-extra-6.2.0-18-generic (6.2.0-18.18) ... Setting up linux-headers-6.2.0-18-generic (6.2.0-18.18) ... Setting up linux-image-generic (6.2.0.18.18) ... Setting up linux-headers-generic (6.2.0.18.18) ... Setting up linux-generic (6.2.0.18.18) ... Processing triggers for man-db (2.11.2-1) ... Processing triggers for flash-kernel (3.106ubuntu14~ppa1) ... flash-kernel: requested kernel 6.2.0-18-generic is in state triggers-pending. flash-kernel: quitting cleanly, anticipating a future run Processing triggers for linux-image-6.2.0-18-generic (6.2.0-18.18) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.2.0-18-generic flash-kernel: deferring update (trigger activated) /etc/kernel/postinst.d/zz-flash-kernel: flash-kernel: deferring update (trigger activated) /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/40-force-partuuid.cfg' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... GRUB_FORCE_PARTUUID is set, will attempt initrdless boot Found linux image: /boot/vmlinuz-6.2.0-18-generic Found initrd image: /boot/initrd.img-6.2.0-18-generic Found linux image: /boot/vmlinuz-5.19.0-1010-gcp Found initrd image: /boot/initrd.img-5.19.0-1010-gcp Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done Processing triggers for flash-kernel (3.106ubuntu14~ppa1) ... System running in EFI mode, skipping.
Pending kernel upgrade!
Running kernel version: 5.19.0-1010-gcp
Diagnostics: The currently running kernel version is not the expected kernel version 6.2.0-18-generic.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. [Return]
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
@waveform,
I've tested on both aws and gcp, by installing the flash-kernel update first, then installing the linux-generic kernel. Here's the apt-get output:
$ apt-get install --yes kernel- testing- -linux- -full-- generic sof-signed linux-firmware linux-headers- 6.2.0-18 headers- 6.2.0-18- generic linux-headers- generic image-6. 2.0-18- generic linux-image-generic modules- 6.2.0-18- generic linux-modules- extra-6. 2.0-18- generic sof-signed linux-firmware linux-generic linux-headers- 6.2.0-18 headers- 6.2.0-18- generic linux-headers- generic image-6. 2.0-18- generic linux-image-generic modules- 6.2.0-18- generic linux-modules- extra-6. 2.0-18- generic ports.ubuntu. com/ubuntu- ports lunar/main arm64 firmware-sof-signed all 2.2.4-1 [651 kB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-firmware all 20230323. gitbcdcfbcf- 0ubuntu1 [281 MB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-modules- 6.2.0-18- generic arm64 6.2.0-18.18 [28.0 MB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-image- 6.2.0-18- generic arm64 6.2.0-18.18 [20.0 MB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 wireless-regdb all 2022.06.06-0ubuntu1 [10.3 kB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-modules- extra-6. 2.0-18- generic arm64 6.2.0-18.18 [82.0 MB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-image-generic arm64 6.2.0.18.18 [7936 B] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-headers- 6.2.0-18 all 6.2.0-18.18 [13.1 MB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-headers- 6.2.0-18- generic arm64 6.2.0-18.18 [2924 kB] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-headers- generic arm64 6.2.0.18.18 [7844 B] ports.ubuntu. com/ubuntu- ports lunar/main arm64 linux-generic arm64 6.2.0.18.18 [1704 B] sof-signed. firmware- sof-signed_ 2.2.4-1_ all.deb ... linux-firmware_ 20230323. gitbcdcfbcf- 0ubuntu1_ all.deb ... gitbcdcfbcf- 0ubuntu1) ... 6.2.0-18- generic. linux-modules- 6.2.0-18- generic_ 6.2.0-18. 18_arm64. deb ... 6.2.0-18- generic (6.2.0-18.18) ... 6.2.0-18- generic. linux-image- 6.2.0-18- generic_ 6.2.0-18. 18_arm64. deb ... 6.2.0-18- generic (6.2.0-18.18) ... wireless- regdb_2022. 06.06-0ubuntu1_ all.deb ... 06-0ubuntu1) ... extra-6. 2.0-18- generic. linux-modules- extra-6. 2.0-18- generic_ 6.2.0-18. 18_arm64. deb ... extra-6. 2.0-18- generic (6.2.0-18.18) ... generic. linux-image- generic_ 6.2.0.18. 18_arm64. deb ... 6.2.0-18. linux-headers- 6.2.0-18_ 6.2.0-18. 18_all. deb ... 6.2.0-18 (6.2.0-18.18) ... 6.2.0-18- generic. linux-headers- 6.2.0-18- generic_ 6.2.0-18. 18_arm64. deb ... 6.2.0-18- generic (6.2.0-18.18) ... generic. linux-headers- generic_ 6.2.0.18. 18_arm64. deb ... generic (6.2.0.18.18) ... linux-generic_ 6.2.0.18. 18_arm64. deb ... gitbcdcfbcf- 0ubuntu1) ... img-5.19. 0-1010- gcp 6.2.0-18- generic (6.2.0-18.18) ... 06-0ubuntu1) ... 6.2.0-18 (6.2.0-18.18) ... 6.2.0-18- generic (6.2.0-18.18) ... 6.2.0-18- generic img-6.2. 0-18-generic extra-6. 2.0-18- generic (6.2.0-18.18) ... 6.2.0-18- generic (6.2.0-18.18) ... generic (6.2.0.18.18) ... ppa1) ... 6.2.0-18- generic (6.2.0-18.18) ... postinst. d/initramfs- tools: img-6.2. 0-18-generic postinst. d/zz-flash- kernel: postinst. d/zz-update- grub: grub.d/ 40-force- partuuid. cfg' grub.d/ 50-cloudimg- settings. cfg' grub.d/ init-select. cfg' 6.2.0-18- generic img-6.2. 0-18-generic 5.19.0- 1010-gcp img-5.19. 0-1010- gcp OS_PROBER documentation entry. ppa1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libnuma1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
firmware-
linux-
linux-
linux-
wireless-regdb
Suggested packages:
fdutils linux-doc | linux-source-6.2.0 linux-tools
The following NEW packages will be installed:
firmware-
linux-
linux-
linux-
wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
Need to get 428 MB of archives.
After this operation, 1821 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Fetched 428 MB in 5s (78.2 MB/s)
Selecting previously unselected package firmware-
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 68792 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking firmware-sof-signed (2.2.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../01-
Unpacking linux-firmware (20230323.
Selecting previously unselected package linux-modules-
Preparing to unpack .../02-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../03-
Unpacking linux-image-
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../04-
Unpacking wireless-regdb (2022.06.
Selecting previously unselected package linux-modules-
Preparing to unpack .../05-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../06-
Unpacking linux-image-generic (6.2.0.18.18) ...
Selecting previously unselected package linux-headers-
Preparing to unpack .../07-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../08-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../09-
Unpacking linux-headers-
Selecting previously unselected package linux-generic.
Preparing to unpack .../10-
Unpacking linux-generic (6.2.0.18.18) ...
Setting up linux-firmware (20230323.
update-initramfs: Generating /boot/initrd.
flash-kernel: deferring update (trigger activated)
Setting up linux-modules-
Setting up firmware-sof-signed (2.2.4-1) ...
Setting up wireless-regdb (2022.06.
Setting up linux-headers-
Setting up linux-image-
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Setting up linux-modules-
Setting up linux-headers-
Setting up linux-image-generic (6.2.0.18.18) ...
Setting up linux-headers-
Setting up linux-generic (6.2.0.18.18) ...
Processing triggers for man-db (2.11.2-1) ...
Processing triggers for flash-kernel (3.106ubuntu14~
flash-kernel: requested kernel 6.2.0-18-generic is in state triggers-pending.
flash-kernel: quitting cleanly, anticipating a future run
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
flash-kernel: deferring update (trigger activated)
/etc/kernel/
flash-kernel: deferring update (trigger activated)
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Sourcing file `/etc/default/
Sourcing file `/etc/default/
Generating grub configuration file ...
GRUB_FORCE_PARTUUID is set, will attempt initrdless boot
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for flash-kernel (3.106ubuntu14~
System running in EFI mode, skipping.
Pending kernel upgrade!
Running kernel version:
5.19.0-1010-gcp
Diagnostics:
The currently running kernel version is not the expected kernel version 6.2.0-18-generic.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. [Return]
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.