On my VMs based on (up-to-date) Debian 11 template (no matter if Standalone or AppVM) I am getting this when using apt install xxx
:
The currently running kernel version is 6.4.8-1.qubes.fc32.x86_64 which is not the expected kernel version 5.10.0-26-amd64.
Kernel in Qube Manager is set to default (6.4.8-1.fc32) (current)
$ uname -r
6.4.8-1.qubes.fc32.x86_64
“Expected” kernel is however set in
# cat /etc/apt/apt.conf.d/01autoremove-kernels
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
APT::LastInstalledKernel "5.10.0-26-amd64";
If I do not obey and try to manually edit the file and put there actual version, issue persists.
Installed kernel packages:
$ dpkg --list | grep linux-image
rc linux-image-5.10.0-10-amd64 5.10.84-1 amd64 Linux 5.10 for 64-bit PCs (signed)
rc linux-image-5.10.0-19-amd64 5.10.149-2 amd64 Linux 5.10 for 64-bit PCs (signed)
rc linux-image-5.10.0-20-amd64 5.10.158-2 amd64 Linux 5.10 for 64-bit PCs (signed)
rc linux-image-5.10.0-21-amd64 5.10.162-1 amd64 Linux 5.10 for 64-bit PCs (signed)
rc linux-image-5.10.0-22-amd64 5.10.178-3 amd64 Linux 5.10 for 64-bit PCs (signed)
rc linux-image-5.10.0-23-amd64 5.10.179-3 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-5.10.0-25-amd64 5.10.191-1 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-5.10.0-26-amd64 5.10.197-1 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-amd64
Does anybody have idea, where is the issue or what debugging steps should follow?