Hello,
I was looking into migrating from 9 to 10 on my VPS instance with this guide: ELevate Quickstart Guide | AlmaLinux Wiki
On the preupgrade step I get following error:
Following errors occurred and the upgrade cannot continue:
1. Actor: scan_source_kernel
Message: Unable to obtain kernel information of the booted kernel: no package is providing the booted kernel release returned by uname.
Looking into /var/log/leapp/leapp-preupgrade.log:
2026-01-04 13:49:46.861 INFO PID: 11468 leapp.workflow.FactsCollection: Executing actor scan_source_kernel
2026-01-04 13:49:47.59 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: External command has started: ['rpm', '-q', '--whatprovides', 'kernel-uname-r']
2026-01-04 13:49:47.140 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: no package provides kernel-uname-r
2026-01-04 13:49:47.143 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: Command ['rpm', '-q', '--whatprovides', 'kernel-uname-r'] failed with exit code 1.
2026-01-04 13:49:47.146 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: External command has finished: ['rpm', '-q', '--whatprovides', 'kernel-uname-r']
2026-01-04 13:49:47.147 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: External command has started: ['rpm', '-q', '--whatprovides', 'kernel-rt-uname-r']
2026-01-04 13:49:47.162 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: no package provides kernel-rt-uname-r
2026-01-04 13:49:47.163 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: Command ['rpm', '-q', '--whatprovides', 'kernel-rt-uname-r'] failed with exit code 1.
2026-01-04 13:49:47.220 DEBUG PID: 15273 leapp.workflow.FactsCollection.scan_source_kernel: External command has finished: ['rpm', '-q', '--whatprovides', 'kernel-rt-uname-r']
uname -r returns:
6.1.159-1.el9.elrepo.x86_64
The issue seems to be that the script isn’t also checking for kernel-lt-uname-r:
sudo rpm -q --whatprovides kernel-lt-uname-r
kernel-lt-core-6.1.159-1.el9.elrepo.x86_64
How can I proceed from here ? Thank you.