Hello Gerd, by following your instruction, I searched in my build folder
one of the kernels that have not been successfully erased, and then I
retrieved the scripts of the kernel-core package, (uploaded at
https://paste.centos.org/view/ac440ce5 )
Should I proceed with just the command
/bin/kernel-install remove 6.6.4-100.fc39.1.x86_64 || exit $?
or with the complete block from 11 to 15 line?
============
/bin/kernel-install remove 6.6.4-100.fc39.1.x86_64 || exit $?
if [ -x /usr/sbin/weak-modules ]
then
/usr/sbin/weak-modules --remove-kernel 6.6.4-100.fc39.1.x86_64 ||
exit $?
fi