Re: [CentOS] Re: Subject: yum update did not update kernel on one box

2008-05-07 Thread Ralph Angenendt
Lanny Marcus wrote:
 Scott: Great! If I can locate kernel-headers-2.6.18-53.1.14.el5 and
 kernel-2.6.18-53.1.14.el5 I can use the rpm -e command to remove them
 and then yum update again and that should update the kernel in her box.
 How do I locate them? 

Why locate them? rpm -e takes the package *name*, not the package
itself.

Ralph


pgpnIwOUTFR22.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Subject: yum update did not update kernel on one box

2008-05-06 Thread Scott Silva
on 5-6-2008 2:49 PM [EMAIL PROTECTED] spake the 
following:

On 5/6/08, Ralph Angenendt ra+centos AT br-online.de wrote:

Lanny Marcus wrote:

If there is some place I can check in a yum database or RPM database on
her box, to verify the kernel version that's really installed (probably
the original one), please let me know where that is. Thanks much! Lanny

rpm -qa kernel*


[EMAIL PROTECTED] ~]$ rpm -qa kernel*
kernel-headers-2.6.18-53.1.14.el5
kernel-2.6.18-8.el5
kernel-2.6.18-53.1.14.el5
[EMAIL PROTECTED] ~]$ uname -a
Linux compaq1300.HOMELAN 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT
2007 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$

Ralph: Thank you for the rpm command and the syntax! That confirms
what I have been seeing the past few days, that no updates are
available! The kernel-headers for the latest kernel is there, along
with the latest kernel. However, it is not shown in the GRUB menu when
I boot the box, and, the box boots the old kernel. My knowledge of
Linux, obviously, is very limited. How can I correct this, so the box
will boot the latest kernel? TIA! Lanny
It sounds like the last kernel upgrade didn't finish the %post% scripts. The 
easiest thing to try would be to rpm -e the new kernel and try a yum upgrade 
again.
Another thing to check... Is there a symlink from /boot/grub/menu.lst to 
/boot/grub/grub.conf?
I have had that on my systems since time began and maybe it is a requirement 
for things to work right. Just a guess.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Subject: yum update did not update kernel on one box

2008-05-06 Thread Lanny Marcus
On Tue, 2008-05-06 at 15:41 -0700, Scott Silva wrote:
 on 5-6-2008 2:49 PM [EMAIL PROTECTED] spake the 
 following:
snip
  [EMAIL PROTECTED] ~]$ rpm -qa kernel*
  kernel-headers-2.6.18-53.1.14.el5
  kernel-2.6.18-8.el5
  kernel-2.6.18-53.1.14.el5
  [EMAIL PROTECTED] ~]$ uname -a
  Linux compaq1300.HOMELAN 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT
  2007 i686 i686 i386 GNU/Linux
  [EMAIL PROTECTED] ~]$
snip
 It sounds like the last kernel upgrade didn't finish the %post% scripts. The 
 easiest thing to try would be to rpm -e the new kernel and try a yum upgrade 
 again.
 Another thing to check... Is there a symlink from /boot/grub/menu.lst to 
 /boot/grub/grub.conf?
 I have had that on my systems since time began and maybe it is a requirement 
 for things to work right. Just a guess.

Scott: Great! If I can locate kernel-headers-2.6.18-53.1.14.el5 and
kernel-2.6.18-53.1.14.el5 I can use the rpm -e command to remove them
and then yum update again and that should update the kernel in her box.
How do I locate them? Practicing on my box (wife is using her box) and
rpm -qi shows a lot of information about the files but doesn't show
where they are located. TIA, Lanny

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos