[NBLUG/talk] Re Installing kernel RPM update
Mark Street
jet at sonic.net
Mon Jan 12 08:19:00 PST 2004
Just to be safe. Let's see what RPM has to say about what kernel versions you
have installed. We trust that the machine crashed when the new kernel was
being installed and the whole package was not completed.
Do an rpm -q kernel
tell us the output.
If it shows you have two or more kernel's installed ... which it will....
I would do an: rpm -e kernel-2.4.20-27.7....rpm Then do an:
rpm -ivh kernel-2.4.20-27.7....rpm
If you feel daring....
NOTE, I do not recommend this when you don't know exactly what you are
doing.... but I have done it before.
Do an rpm -ivh --force kernel-2.4.20-27.7....rpm
This will overwrite the partially installed kernel and not complain that some
of the files already exist. rpm should automatically UPdate grub.conf for
you, check and see if it does after you do the install.
There are a couple of options to rpm that can get you into trouble and --force
is one of them. I won't say the other one....
On Sunday 11 January 2004 22:10, HarryH wrote:
> Thanks for replying. I tried rpm -ivh kernel-2.4.20-27.7 and it gave me
> the multiple screen messages about file conflicts. I assume this is due to
> the fact that this version is already partially installed. I am currently
> running on kernel-2.4.20-24.7 and have a boot diskette for it in case. This
> is what I plan to do:
> 1. Do rpm -e kernel-2.4.20-27.7 to back out the damaged version.
> 2. Do rpm -ivh kernel-2.4.20-27.7 to reinstall it.
> 3. Update grub.conf to ADD the new kernel specs in addition to the older
> ones in case of an error.
> 4. Reboot to test.
>
> I have read where RH says I do not need the kernel-headers & docs unless I
> want to modify/compile the kernel - no thanks at this stage of my Linux
> career. Also, I understand rpm will let force " --force[!=0x74] the
> install but I am concerned that it may break something given the current,
> partial install of the desired kernel.
--
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E 2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc
More information about the talk
mailing list