Dom0 update reports error on older kernel removal

I am getting the following error message on the Qubes Update GUI tool output. How may I resolve it:

Checking for available updates for dom0...
Using sys-whonix as UpdateVM for Dom0
Checking for dom0 updates...
Available updates: 
Fedora 37 - x86_64                              6.4 kB/s | 5.6 kB     00:00    
Fedora 37 - x86_64 - Updates                    8.0 kB/s | 5.5 kB     00:00    
Qubes Host Repository (updates)                 4.4 kB/s | 2.7 kB     00:00    

kernel.x86_64                               1000:6.12.37-1.qubes.fc37 qubes-dom0-current
kernel-devel.x86_64                         1000:6.12.37-1.qubes.fc37 qubes-dom0-current
kernel-latest.x86_64                        1000:6.15.6-1.qubes.fc37  qubes-dom0-current
kernel-latest-devel.x86_64                  1000:6.15.6-1.qubes.fc37  qubes-dom0-current
kernel-latest-modules.x86_64                1000:6.15.6-1.qubes.fc37  qubes-dom0-current
kernel-latest-qubes-vm.x86_64               1000:6.15.6-1.qubes.fc37  qubes-dom0-current
kernel-modules.x86_64                       1000:6.12.37-1.qubes.fc37 qubes-dom0-current
kernel-qubes-vm.x86_64                      1000:6.12.37-1.qubes.fc37 qubes-dom0-current
qubes-core-dom0-linux.x86_64                4.2.36-1.fc37             qubes-dom0-current
qubes-core-dom0-linux-kernel-install.x86_64 4.2.36-1.fc37             qubes-dom0-current
There are dom0 updates available
Using sys-whonix as UpdateVM for Dom0
Downloading updates. This may take a while...
Fedora 37 - x86_64                              987 kB/s |  70 MB     01:12    
Fedora 37 - x86_64 - Updates                    1.1 MB/s |  43 MB     00:39    
Qubes Host Repository (updates)                 394 kB/s | 5.6 MB     00:14    
Last metadata expiration check: 0:00:07 ago on Tue Jul 22 05:26:47 2025.
Dependencies resolved.
===================================================================================================
 Package                                Arch    Version                   Repository           Size
===================================================================================================
Installing:
 kernel                                 x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-current   13 M
 kernel-devel                           x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-current   15 M
 kernel-latest                          x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-current   14 M
 kernel-latest-devel                    x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-current   15 M
 kernel-latest-modules                  x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-current   87 M
 kernel-latest-qubes-vm                 x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-current   20 M
 kernel-modules                         x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-current   84 M
 kernel-qubes-vm                        x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-current   19 M
Upgrading:
 qubes-core-dom0-linux                  x86_64  4.2.36-1.fc37             qubes-dom0-current  148 k
 qubes-core-dom0-linux-kernel-install   x86_64  4.2.36-1.fc37             qubes-dom0-current   15 k
Removing:
 kernel                                 x86_64  1000:6.12.21-1.qubes.fc37 @System              42 M
 kernel-devel                           x86_64  1000:6.12.21-1.qubes.fc37 @System              69 M
 kernel-latest                          x86_64  1000:6.13.7-1.qubes.fc37  @System              42 M
 kernel-latest-devel                    x86_64  1000:6.13.7-1.qubes.fc37  @System              70 M
 kernel-latest-modules                  x86_64  1000:6.13.7-1.qubes.fc37  @System             509 M
 kernel-latest-qubes-vm                 x86_64  1000:6.12.9-1.qubes.fc37  @System             520 M
 kernel-latest-qubes-vm                 x86_64  1000:6.13.7-1.qubes.fc37  @System             520 M
 kernel-modules                         x86_64  1000:6.12.21-1.qubes.fc37 @System             508 M
 kernel-qubes-vm                        x86_64  1000:6.12.21-1.qubes.fc37 @System             520 M

Transaction Summary
===================================================================================================
Install  8 Packages
Upgrade  2 Packages
Remove   9 Packages

Total download size: 267 M
DNF will only download packages for the transaction.
Downloading Packages:
[MIRROR] kernel-devel-6.12.37-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-devel-6.12.37-1.qubes.fc37.x86_64.rpm (IP: 147.75.80.249)
[MIRROR] kernel-6.12.37-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-6.12.37-1.qubes.fc37.x86_64.rpm (IP: 147.75.80.249)
[MIRROR] kernel-latest-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 147.75.80.249)
(1/10): kernel-latest-6.15.6-1.qubes.fc37.x86_6 250 kB/s |  14 MB     00:56    
(2/10): kernel-6.12.37-1.qubes.fc37.x86_64.rpm  223 kB/s |  13 MB     01:01    
(3/10): kernel-devel-6.12.37-1.qubes.fc37.x86_6 194 kB/s |  15 MB     01:19    
(4/10): kernel-latest-devel-6.15.6-1.qubes.fc37  61 kB/s |  15 MB     04:16    
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://yum.qubes-os.org/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://yum.qubes-os.org/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 147.75.80.249)
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm (IP: 147.75.80.249)
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://ftp.acc.umu.se/mirror/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 194.71.11.163)
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://yum.qubes-os.org/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://ftp.acc.umu.se/mirror/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 194.71.11.163)
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://ftp.acc.umu.se/mirror/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm (IP: 194.71.11.163)
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://ftp.halifax.rwth-aachen.de/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 137.226.34.46)
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://ftp.halifax.rwth-aachen.de/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 137.226.34.46)
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.dotsrc.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 130.225.254.116)
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Status code: 404 for https://mirrors.dotsrc.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm (IP: 130.225.254.116)
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (6): Couldn't resolve host name for https://mirror.hackingand.coffee/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm [Could not resolve host: mirror.hackingand.coffee]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (6): Couldn't resolve host name for https://mirror.hackingand.coffee/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [Could not resolve host: mirror.hackingand.coffee]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://yum.qubes-os.org/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.ukfast.co.uk/sites/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.ukfast.co.uk/sites/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://qubesos-mirror.applied-privacy.net/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [SSL connection timeout]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://ftp.halifax.rwth-aachen.de/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [SSL connection timeout]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://qubesos-mirror.applied-privacy.net/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [SSL connection timeout]
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://yum.qubes-os.org/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.gigenet.com/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [Connection time-out]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (6): Couldn't resolve host name for https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [Could not resolve host: mirror.linux.pizza]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.dotsrc.org/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [SSL connection timeout]
[MIRROR] kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.ukfast.co.uk/sites/qubes-os.org/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-qubes-vm-6.15.6-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://quantum-mirror.hu/mirrors/pub/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-latest-modules-6.15.6-1.qubes.fc37.x86_64.rpm [SSL connection timeout]
[MIRROR] kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm: Curl error (28): Timeout was reached for https://mirrors.gigenet.com/qubes/repo/yum/r4.2/current/host/fc37/rpm/kernel-modules-6.12.37-1.qubes.fc37.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(5/10): kernel-latest-qubes-vm-6.15.6-1.qubes.f  28 kB/s |  20 MB     12:14    
(6/10): kernel-qubes-vm-6.12.37-1.qubes.fc37.x8 1.2 MB/s |  19 MB     00:16    
(7/10): qubes-core-dom0-linux-4.2.36-1.fc37.x86 452 kB/s | 148 kB     00:00    
(8/10): qubes-core-dom0-linux-kernel-install-4.  51 kB/s |  15 kB     00:00    
(9/10): kernel-latest-modules-6.15.6-1.qubes.fc 114 kB/s |  87 MB     12:58    
(10/10): kernel-modules-6.12.37-1.qubes.fc37.x8 157 kB/s |  84 MB     09:06    
--------------------------------------------------------------------------------
Total                                           319 kB/s | 267 MB     14:19     
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Qubes OS Repository for Dom0                    2.9 MB/s | 3.0 kB     00:00    
Qubes OS Repository for Dom0                     27 MB/s | 404 kB     00:00    
Last metadata expiration check: 0:00:01 ago on Tue 22 Jul 2025 08:41:24 AM +03.

kernel.x86_64                               1000:6.12.37-1.qubes.fc37 qubes-dom0-cached
kernel-devel.x86_64                         1000:6.12.37-1.qubes.fc37 qubes-dom0-cached
kernel-latest.x86_64                        1000:6.15.6-1.qubes.fc37  qubes-dom0-cached
kernel-latest-devel.x86_64                  1000:6.15.6-1.qubes.fc37  qubes-dom0-cached
kernel-latest-modules.x86_64                1000:6.15.6-1.qubes.fc37  qubes-dom0-cached
kernel-latest-qubes-vm.x86_64               1000:6.15.6-1.qubes.fc37  qubes-dom0-cached
kernel-modules.x86_64                       1000:6.12.37-1.qubes.fc37 qubes-dom0-cached
kernel-qubes-vm.x86_64                      1000:6.12.37-1.qubes.fc37 qubes-dom0-cached
qubes-core-dom0-linux.x86_64                4.2.36-1.fc37             qubes-dom0-cached
qubes-core-dom0-linux-kernel-install.x86_64 4.2.36-1.fc37             qubes-dom0-cached
Qubes OS Repository for Dom0                    2.9 MB/s | 3.0 kB     00:00    
Dependencies resolved.
===================================================================================================
 Package                                Arch    Version                   Repository           Size
===================================================================================================
Installing:
 kernel                                 x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-cached    13 M
 kernel-devel                           x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-cached    15 M
 kernel-latest                          x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-cached    14 M
 kernel-latest-devel                    x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-cached    15 M
 kernel-latest-modules                  x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-cached    87 M
 kernel-latest-qubes-vm                 x86_64  1000:6.15.6-1.qubes.fc37  qubes-dom0-cached    20 M
 kernel-modules                         x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-cached    84 M
 kernel-qubes-vm                        x86_64  1000:6.12.37-1.qubes.fc37 qubes-dom0-cached    19 M
Upgrading:
 qubes-core-dom0-linux                  x86_64  4.2.36-1.fc37             qubes-dom0-cached   144 k
 qubes-core-dom0-linux-kernel-install   x86_64  4.2.36-1.fc37             qubes-dom0-cached    11 k
Removing:
 kernel                                 x86_64  1000:6.12.21-1.qubes.fc37 @qubes-dom0-cached   42 M
 kernel-devel                           x86_64  1000:6.12.21-1.qubes.fc37 @qubes-dom0-cached   69 M
 kernel-latest                          x86_64  1000:6.13.7-1.qubes.fc37  @qubes-dom0-cached   42 M
 kernel-latest-devel                    x86_64  1000:6.13.7-1.qubes.fc37  @qubes-dom0-cached   70 M
 kernel-latest-modules                  x86_64  1000:6.13.7-1.qubes.fc37  @qubes-dom0-cached  509 M
 kernel-latest-qubes-vm                 x86_64  1000:6.12.9-1.qubes.fc37  @@System            520 M
 kernel-latest-qubes-vm                 x86_64  1000:6.13.7-1.qubes.fc37  @qubes-dom0-cached  520 M
 kernel-modules                         x86_64  1000:6.12.21-1.qubes.fc37 @qubes-dom0-cached  508 M
 kernel-qubes-vm                        x86_64  1000:6.12.21-1.qubes.fc37 @qubes-dom0-cached  520 M

Transaction Summary
===================================================================================================
Install  8 Packages
Upgrade  2 Packages
Remove   9 Packages

Total size: 267 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : qubes-core-dom0-linux-kernel-install-4.2.36-1.fc37    1/21 
  Installing       : kernel-modules-1000:6.12.37-1.qubes.fc37.x86_64       2/21 
  Running scriptlet: kernel-modules-1000:6.12.37-1.qubes.fc37.x86_64       2/21 
  Installing       : kernel-latest-modules-1000:6.15.6-1.qubes.fc37.x86    3/21 
  Running scriptlet: kernel-latest-modules-1000:6.15.6-1.qubes.fc37.x86    3/21 
  Installing       : kernel-latest-devel-1000:6.15.6-1.qubes.fc37.x86_6    4/21 
  Running scriptlet: kernel-latest-devel-1000:6.15.6-1.qubes.fc37.x86_6    4/21 
  Installing       : kernel-devel-1000:6.12.37-1.qubes.fc37.x86_64         5/21 
  Running scriptlet: kernel-devel-1000:6.12.37-1.qubes.fc37.x86_64         5/21 
  Installing       : kernel-qubes-vm-1000:6.12.37-1.qubes.fc37.x86_64      6/21 
  Running scriptlet: kernel-qubes-vm-1000:6.12.37-1.qubes.fc37.x86_64      6/21 
--> Building files for 6.12.37-1.qubes.fc37.x86_64 in /var/lib/qubes/vm-kernels/6.12.37-1.fc37
---> Generating modules.img
Creating regular file /var/tmp/tmp.5mrDxBJdIQ/modules.img
resize2fs 1.46.5 (30-Dec-2021)
--> Done.

  Installing       : kernel-latest-qubes-vm-1000:6.15.6-1.qubes.fc37.x8    7/21 
  Running scriptlet: kernel-latest-qubes-vm-1000:6.15.6-1.qubes.fc37.x8    7/21 
--> Building files for 6.15.6-1.qubes.fc37.x86_64 in /var/lib/qubes/vm-kernels/6.15.6-1.fc37
---> Generating modules.img
Creating regular file /var/tmp/tmp.YuIxGhkAnQ/modules.img
resize2fs 1.46.5 (30-Dec-2021)
--> Done.

  Installing       : kernel-latest-1000:6.15.6-1.qubes.fc37.x86_64         8/21 
  Installing       : kernel-1000:6.12.37-1.qubes.fc37.x86_64               9/21 
  Running scriptlet: qubes-core-dom0-linux-4.2.36-1.fc37.x86_64           10/21 
  Upgrading        : qubes-core-dom0-linux-4.2.36-1.fc37.x86_64           10/21 
  Running scriptlet: qubes-core-dom0-linux-4.2.36-1.fc37.x86_64           10/21 
  Running scriptlet: kernel-qubes-vm-1000:6.12.21-1.qubes.fc37.x86_64     11/21 
please wait... ......................................................................................................................................................................................................................................................................................................................................................................................

  Erasing          : kernel-qubes-vm-1000:6.12.21-1.qubes.fc37.x86_64     11/21 
  Running scriptlet: kernel-latest-qubes-vm-1000:6.13.7-1.qubes.fc37.x8   12/21 
please wait... ......................................................................................................................................................................................................................................................................................................................................................................................

  Erasing          : kernel-latest-qubes-vm-1000:6.13.7-1.qubes.fc37.x8   12/21 
  Running scriptlet: kernel-latest-1000:6.13.7-1.qubes.fc37.x86_64        13/21 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.15.6-1.qubes.fc37.x86_64
Found linux image: /boot/vmlinuz-6.15.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.14.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.14.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.37-1.qubes.fc37.x86_64
Found linux image: /boot/vmlinuz-6.12.35-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.35-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.25-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.25-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.21-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.21-1.qubes.fc37.x86_64.img
Adding boot menu entry for UEFI Firmware Settings ...
done

  Erasing          : kernel-latest-1000:6.13.7-1.qubes.fc37.x86_64        13/21 
warning: file vmlinuz-6.13.7-1.qubes.fc37.x86_64: remove failed: No such file or directory
warning: file config-6.13.7-1.qubes.fc37.x86_64: remove failed: No such file or directory
warning: file System.map-6.13.7-1.qubes.fc37.x86_64: remove failed: No such file or directory

  Running scriptlet: kernel-1000:6.12.21-1.qubes.fc37.x86_64              14/21 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.15.6-1.qubes.fc37.x86_64
Found linux image: /boot/vmlinuz-6.15.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.14.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.14.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.37-1.qubes.fc37.x86_64
Found linux image: /boot/vmlinuz-6.12.35-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.35-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.25-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.25-1.qubes.fc37.x86_64.img
Adding boot menu entry for UEFI Firmware Settings ...
done

  Erasing          : kernel-1000:6.12.21-1.qubes.fc37.x86_64              14/21 
warning: file vmlinuz-6.12.21-1.qubes.fc37.x86_64: remove failed: No such file or directory
warning: file config-6.12.21-1.qubes.fc37.x86_64: remove failed: No such file or directory
warning: file System.map-6.12.21-1.qubes.fc37.x86_64: remove failed: No such file or directory

  Running scriptlet: qubes-core-dom0-linux-4.2.35-1.fc37.x86_64           15/21 
  Cleanup          : qubes-core-dom0-linux-4.2.35-1.fc37.x86_64           15/21 
  Cleanup          : qubes-core-dom0-linux-kernel-install-4.2.35-1.fc37   16/21 
  Erasing          : kernel-modules-1000:6.12.21-1.qubes.fc37.x86_64      17/21 
warning: file modules.softdep: remove failed: No such file or directory
warning: file modules.devname: remove failed: No such file or directory
warning: file modules.builtin.bin: remove failed: No such file or directory
warning: file modules.builtin.alias.bin: remove failed: No such file or directory

  Erasing          : kernel-latest-modules-1000:6.13.7-1.qubes.fc37.x86   18/21 
warning: file modules.softdep: remove failed: No such file or directory
warning: file modules.devname: remove failed: No such file or directory
warning: file modules.builtin.bin: remove failed: No such file or directory
warning: file modules.builtin.alias.bin: remove failed: No such file or directory

  Running scriptlet: kernel-latest-qubes-vm-1000:6.12.9-1.qubes.fc37.x8   19/21 
please wait... ......................................................................................................................................................................................................................................................................................................................................................................................
This kernel version is used by at least one VM, cannot remove
error: %preun(kernel-latest-qubes-vm-1000:6.12.9-1.qubes.fc37.x86_64) scriptlet failed, exit status 1

Error in PREUN scriptlet in rpm package kernel-latest-qubes-vm
  Erasing          : kernel-latest-devel-1000:6.13.7-1.qubes.fc37.x86_6   20/21 
error: kernel-latest-qubes-vm-1000:6.12.9-1.qubes.fc37.x86_64: erase failed

  Erasing          : kernel-devel-1000:6.12.21-1.qubes.fc37.x86_64        21/21 
  Running scriptlet: kernel-latest-1000:6.15.6-1.qubes.fc37.x86_64        21/21 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.15.6-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.6-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.15.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.14.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.14.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.37-1.qubes.fc37.x86_64
Found linux image: /boot/vmlinuz-6.12.35-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.35-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.25-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.25-1.qubes.fc37.x86_64.img
Adding boot menu entry for UEFI Firmware Settings ...
done

  Running scriptlet: kernel-1000:6.12.37-1.qubes.fc37.x86_64              21/21 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.15.6-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.6-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.15.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.15.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.14.4-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.14.4-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.37-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.37-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.35-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.35-1.qubes.fc37.x86_64.img
Found linux image: /boot/vmlinuz-6.12.25-1.qubes.fc37.x86_64
Found initrd image: /boot/initramfs-6.12.25-1.qubes.fc37.x86_64.img
Adding boot menu entry for UEFI Firmware Settings ...
done

  Running scriptlet: kernel-devel-1000:6.12.21-1.qubes.fc37.x86_64        21/21 
  Verifying        : kernel-1000:6.12.37-1.qubes.fc37.x86_64               1/21 
  Verifying        : kernel-devel-1000:6.12.37-1.qubes.fc37.x86_64         2/21 
  Verifying        : kernel-latest-1000:6.15.6-1.qubes.fc37.x86_64         3/21 
  Verifying        : kernel-latest-devel-1000:6.15.6-1.qubes.fc37.x86_6    4/21 
  Verifying        : kernel-latest-modules-1000:6.15.6-1.qubes.fc37.x86    5/21 
  Verifying        : kernel-latest-qubes-vm-1000:6.15.6-1.qubes.fc37.x8    6/21 
  Verifying        : kernel-modules-1000:6.12.37-1.qubes.fc37.x86_64       7/21 
  Verifying        : kernel-qubes-vm-1000:6.12.37-1.qubes.fc37.x86_64      8/21 
  Verifying        : qubes-core-dom0-linux-4.2.36-1.fc37.x86_64            9/21 
  Verifying        : qubes-core-dom0-linux-4.2.35-1.fc37.x86_64           10/21 
  Verifying        : qubes-core-dom0-linux-kernel-install-4.2.36-1.fc37   11/21 
  Verifying        : qubes-core-dom0-linux-kernel-install-4.2.35-1.fc37   12/21 
  Verifying        : kernel-1000:6.12.21-1.qubes.fc37.x86_64              13/21 
  Verifying        : kernel-devel-1000:6.12.21-1.qubes.fc37.x86_64        14/21 
  Verifying        : kernel-latest-1000:6.13.7-1.qubes.fc37.x86_64        15/21 
  Verifying        : kernel-latest-devel-1000:6.13.7-1.qubes.fc37.x86_6   16/21 
  Verifying        : kernel-latest-modules-1000:6.13.7-1.qubes.fc37.x86   17/21 
  Verifying        : kernel-latest-qubes-vm-1000:6.12.9-1.qubes.fc37.x8   18/21 
  Verifying        : kernel-latest-qubes-vm-1000:6.13.7-1.qubes.fc37.x8   19/21 
  Verifying        : kernel-modules-1000:6.12.21-1.qubes.fc37.x86_64      20/21 
Error: Transaction failed
  Verifying        : kernel-qubes-vm-1000:6.12.21-1.qubes.fc37.x86_64     21/21 

Upgraded:
  qubes-core-dom0-linux-4.2.36-1.fc37.x86_64                                    
  qubes-core-dom0-linux-kernel-install-4.2.36-1.fc37.x86_64                     
Installed:
  kernel-1000:6.12.37-1.qubes.fc37.x86_64                                       
  kernel-devel-1000:6.12.37-1.qubes.fc37.x86_64                                 
  kernel-latest-1000:6.15.6-1.qubes.fc37.x86_64                                 
  kernel-latest-devel-1000:6.15.6-1.qubes.fc37.x86_64                           
  kernel-latest-modules-1000:6.15.6-1.qubes.fc37.x86_64                         
  kernel-latest-qubes-vm-1000:6.15.6-1.qubes.fc37.x86_64                        
  kernel-modules-1000:6.12.37-1.qubes.fc37.x86_64                               
  kernel-qubes-vm-1000:6.12.37-1.qubes.fc37.x86_64                              
Removed:
  kernel-1000:6.12.21-1.qubes.fc37.x86_64                                       
  kernel-devel-1000:6.12.21-1.qubes.fc37.x86_64                                 
  kernel-latest-1000:6.13.7-1.qubes.fc37.x86_64                                 
  kernel-latest-devel-1000:6.13.7-1.qubes.fc37.x86_64                           
  kernel-latest-modules-1000:6.13.7-1.qubes.fc37.x86_64                         
  kernel-latest-qubes-vm-1000:6.13.7-1.qubes.fc37.x86_64                        
  kernel-modules-1000:6.12.21-1.qubes.fc37.x86_64                               
  kernel-qubes-vm-1000:6.12.21-1.qubes.fc37.x86_64                              
Failed:
  kernel-latest-qubes-vm-1000:6.12.9-1.qubes.fc37.x86_64                        

The error message describes the issue.

One of your qubes or templates is using an older kernel instead of the latest version.

Check which one in dom0 and change it via its settings:

qvm-ls -O name,kernel
2 Likes

Of course, one of the great advantages of Qubes is that it is possible to keep very old stuff around -including kernels- and to run it with reasonable safety, as long as it is not exposed to the internet or other threats…

…at least, I find it useful.

(But up-to-date is important for networked VMs, just like @DVM says!)