Bug 202588 - Unable to install RPMs in rescue mode
Summary: Unable to install RPMs in rescue mode
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda   
(Show other bugs)
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2006-08-15 11:59 UTC by Adam Huffman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-08-15 17:41:38 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Adam Huffman 2006-08-15 11:59:34 UTC
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
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:

Comment 1 Paul Nasrat 2006-08-15 14:38:33 UTC
Your invocation looks incorrect.

Either chroot /mnt/sysimage then install using rpm -ivh or outside chroot rpm
--root /mnt/sysimage -ivh /path/to/kernel.

Comment 2 Adam Huffman 2006-08-15 15:57:36 UTC
I did the former (chroot first then rom -ivh) - that's what didn't work.

Comment 3 Paul Nasrat 2006-08-15 17:41:38 UTC
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 \

Worked fine for me.  If you can reproduce please reopen with full steps and
fully transcribed error messages.

Note You need to log in before you can comment on or make changes to this bug.