Description of problem: When attempting to get around a kernel problem, I tried booting to rescue mode and installing an alternative kernel. The RPM installation did not succeed. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. rpm -ivh kernel-blah.rpm 2. 3. Actual results: Lots of errors about /mnt/sysimage/var/lib/rpm/Basenames, even though that file was present. Expected results: Kernel RPM should be installed into the chroot system. Additional info:
Your invocation looks incorrect. Either chroot /mnt/sysimage then install using rpm -ivh or outside chroot rpm --root /mnt/sysimage -ivh /path/to/kernel.
I did the former (chroot first then rom -ivh) - that's what didn't work.
I've just used fc6t2 pxelinux images to do the following: 1) cp /mnt/source/<RAWHIDE-KERNEL>.rpm /mnt/sysimage/root 2) chroot /mnt/sysimage 3) rpm -ivh /root/<RAWHIDE-KERNEL>.rpm Worked fine rpm -q kernel rpm -e <OLD KERNEL> ctrl-D to exit chroot 1) rpm -ivh --oldpackage --root /mnt/sysimage \ /mnt/source/Fedora/RPMS/<FC6T2-KERNEL>.rpm Worked fine for me. If you can reproduce please reopen with full steps and fully transcribed error messages.