Leapp preupgrade and Multiple devel kernels Installed

I’m following the migration instructions for CentOS 7 to AlmaLinux 8 at
Migrate COS7 AL8
and I’ve hit a stopper in the preupgrade step. The Inhibitor stage in the report file says

Risk Factor: high (inhibitor)
Title: Multiple devel kernels installed
Summary: DNF cannot produce a valid upgrade transaction when multiple kernel-devel packages are installed.
Remediation: [hint] Remove all but one kernel-devel packages before running Leapp again.
[command] yum -y remove kernel-devel-3.10.0-1160.118.1.el7 kernel-devel-3.10.0-1160.114.2.el7
Key: 8ceea81afbbb1a329b7d82ca7212b21509e5b256

I did in fact have three kernels but I used yum to remove the old two, did a full reboot but got the same message. I did a grub2-mkconfig to make sure that the removals got known and it shows in

> rpm -qa kernel
kernel-3.10.0-1160.119.1.el7.x86_64

So just the one kernel. When I boot though I do see a larg(ish) list of boot options even though I’ve always use yum upgrade with an option of only three.
I can not seem get past this inhibitor. Search on the web and here in the forum did not turn up anything definitive, perhaps I’m just missing the key post. Any assistance appreciated.

That shows only the packages that have name ‘kernel’. No different from rpm -q kernel. Try:

rpm -qa kernel\*

and/or

yum list installed kernel\*

Well DUH! [slaps own forehead] Your way shows the kernel-devel lines for the 118 and 114. Hokay, back to the keyboard.

I removed the remaining specific kernel elements for versions 1160.118
and 1160.114 and all was well with the preupgrade. Still a lot of medium risk stuff to look through as expected but only one stopper that can be removed per the instructions.

Many thanks for the poke in the eye (so to speak). I shudda caught that myself.