[NBLUG/talk] Re Installing kernel RPM update
forHarryH at hotmail.com
Mon Jan 12 17:29:00 PST 2004
Mark, et al,
I did the rpm -q kernel and found 11 kernels. The one on the bottom of the
list is the 2.4.20-27.7 that needs the rpm -e and -ivh treatment. The next
one up is the current running one: 2.4.20-24-7. The rest work up to the
original of 2.4.7-10. I assume that it is alright to keep the 2.4.20-24.7
as back up to 2.4.20-27-7 and give the rest of the kernels the rpm -e
----- Original Message -----
From: "Mark Street" <jet at sonic.net>
To: <talk at nblug.org>
Sent: Monday, January 12, 2004 8:18 AM
Subject: Re: [NBLUG/talk] Re Installing kernel RPM update
> Just to be safe. Let's see what RPM has to say about what kernel versions
> 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
> 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
> 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
> > the fact that this version is already partially installed. I am
> > running on kernel-2.4.20-24.7 and have a boot diskette for it in case.
> > 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
> > 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
> > 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
> talk mailing list
> talk at nblug.org
More information about the talk