Francis.Montagnac@inria.fr wrote:
On Sun, 11 Aug 2024 10:30:14 -0700 Dave Close wrote:
# dnf -y reinstall kernel-core-6.10.3-200.fc40.x86_64
So, what happened to kernel 6.10.3-200? RPM -V says the package is complete but the files are not there!
The missing files are ghost files (for RPM, see: rpm -Vv kernel-core-6.10.3-200.fc40.x86_64 ) and are normally build in posttrans.
Thanks. I had never tried -Vv before. But rpm -qf (on another machine) says the kernel is part of this package so I was surprised that the package is installed but the file is not present.
It seems that a reinstall do not apply the posstrans script.
Can you run it manually:
/bin/kernel-install add 6.10.3-200.fc40.x86_64 \ /lib/modules/6.10.3-200.fc40.x86_64/vmlinuz
Yes, but the file is still not present. Of course, I could copy it from another machine but I'd really like to understand the problem.
# /bin/kernel-install add 6.10.3-200.fc40.x86_64 \ /lib/modules/6.10.3-200.fc40.x86_64/vmlinuz dkms: running auto installation service for kernel 6.10.3-200.fc40.x86_64 dkms: autoinstall for kernel 6.10.3-200.fc40.x86_64 Done.
# rpm -Vv kernel-core-6.10.3-200.fc40.x86_64 missing g /boot/.vmlinuz-6.10.3-200.fc40.x86_64.hmac missing g /boot/System.map-6.10.3-200.fc40.x86_64 missing g /boot/config-6.10.3-200.fc40.x86_64 missing g /boot/initramfs-6.10.3-200.fc40.x86_64.img ......... g /boot/symvers-6.10.3-200.fc40.x86_64.xz missing g /boot/vmlinuz-6.10.3-200.fc40.x86_64 ......... /lib/modules ......... /lib/modules/6.10.3-200.fc40.x86_64 ......... /lib/modules/6.10.3-200.fc40.x86_64/.vmlinuz.hmac ......... /lib/modules/6.10.3-200.fc40.x86_64/System.map ......... /lib/modules/6.10.3-200.fc40.x86_64/config ......... /lib/modules/6.10.3-200.fc40.x86_64/modules.builtin ......... /lib/modules/6.10.3-200.fc40.x86_64/modules.builtin.modinfo ......... /lib/modules/6.10.3-200.fc40.x86_64/symvers.xz ......... /lib/modules/6.10.3-200.fc40.x86_64/vmlinuz ......... /usr/share/licenses/kernel-core ......... l /usr/share/licenses/kernel-core/COPYING-6.10.3-200.fc40