This morning, I did "yum update" on my wife's box. It did not update the kernel. I ran the command again, and there is a response that no updates are available. Her box is a Compaq Evo D300v Celeron. During the past couple of days, when I did "yum update", on my daughters box and mine (Dell Dimensions), the kernel was updated and in the GRUB menus now, there are two (2) Linux kernels to choose from, as well as the Win XP option, since these are all dual boot boxes. How can I update the kernel on the Compaq Evo so it has an up to date kernel? TIA!
Michael Simpson
2008-May-02 13:52 UTC
[CentOS] "yum update" did not update kernel on one box
On 5/2/08, Lanny Marcus <lannyma at gmail.com> wrote:> This morning, I did "yum update" on my wife's box. It did not update the > kernel. I ran the command again, and there is a response that no updates > are available. Her box is a Compaq Evo D300v Celeron. During the past > couple of days, when I did "yum update", on my daughters box and mine > (Dell Dimensions), the kernel was updated and in the GRUB menus now, > there are two (2) Linux kernels to choose from, as well as the Win XP > option, since these are all dual boot boxes. How can I update the kernel > on the Compaq Evo so it has an up to date kernel? TIA! >Hi there When this happens i do a "yum clean all" then do the update again. That usually sorts it . mike
On Fri, 2008-05-02 at 08:39 -0500, Lanny Marcus wrote:> This morning, I did "yum update" on my wife's box. It did not update the > kernel. I ran the command again, and there is a response that no updates > are available.Check /etc/yum.conf and see if there's an exclude=kernel line Regards, Erek Dyskant
On 02 May 2008, Michael Simpson mikie.simpson at gmail.com wrote:> > ______________________________________________________________________ > On 5/2/08, Lanny Marcus <lannyma at gmail.com> wrote: > > This morning, I did "yum update" on my wife's box. It did not update the > > kernel. I ran the command again, and there is a response that no updates > > are available. Her box is a Compaq Evo D300v Celeron. During the past > > couple of days, when I did "yum update", on my daughters box and mine > > (Dell Dimensions), the kernel was updated and in the GRUB menus now, > > there are two (2) Linux kernels to choose from, as well as the Win XP > > option, since these are all dual boot boxes. How can I update the kernel > > on the Compaq Evo so it has an up to date kernel? TIA! > > When this happens i do a "yum clean all" then do the update again. > That usually sorts it .Mike: Thank you. I tried the 2 commands you suggested, but no joy. Results are below. Lanny [root at compaq1300 ~]# yum clean all Loading "priorities" plugin Loading "installonlyn" plugin Cleaning up Everything [root at compaq1300 ~]# yum update Loading "priorities" plugin Loading "installonlyn" plugin Setting up Update Process Setting up repositories adobe-linux-i386 100% |=========================| 951 B 00:00 google 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 10 kB 00:00 ################################################## 17/17 primary.xml.gz 100% |=========================| 2.6 kB 00:00 ################################################## 4/4 primary.xml.gz 100% |=========================| 2.4 MB 01:56 ################################################## 6747/6747 primary.xml.gz 100% |=========================| 834 kB 00:18 ################################################## 2400/2400 primary.xml.gz 100% |=========================| 230 kB 00:03 ################################################## 463/463 primary.xml.gz 100% |=========================| 157 B 00:00 primary.xml.gz 100% |=========================| 104 kB 00:00 ################################################## 361/361 259 packages excluded due to repository priority protections No Packages marked for Update/Obsoletion [root at compaq1300 ~]#
On 02 May 2008, Erek Dyskant erek at blumenthals.com wrote:> > ______________________________________________________________________> On Fri, 2008-05-02 at 08:39 -0500, Lanny Marcus wrote: > > This morning, I did "yum update" on my wife's box. It did not update the > > kernel. I ran the command again, and there is a response that no updates > > are available. > > Check /etc/yum.conf and see if there's an exclude=kernel lineErek: Thank you. I looked at the /etc/yum.conf file. There is no line that says exclude=kernel Lanny
lannyma at gmail.com
2008-May-07 10:27 UTC
[CentOS] "yum update" did not update kernel on one box
On 5/7/08, Ralph Angenendt <ra+cento AT br-online.de> wrote:> 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.Yes. I woke up about 430 this morning and I realized that rpm can locate the file by itself. :-) However, I want to learn how to use find that Mark (mhr) mentioned! [lanny at compaq1300 ~]$ su - Password: [root at compaq1300 ~]# rpm -e kernel-headers-2.6.18-53.1.14.el5 [root at compaq1300 ~]# rpm -e kernel-2.6.18-53.1.14.el5 [root at compaq1300 ~]# yum update Loading "priorities" plugin Loading "installonlyn" plugin Setting up Update Process Setting up repositories Reading repository metadata in from local files 263 packages excluded due to repository priority protections Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for kernel to pack into transaction set. kernel-2.6.18-53.1.14.el5 100% |=========================| 258 kB 00:03 ---> Package kernel.i686 0:2.6.18-53.1.14.el5 set to be installed --> Running transaction check Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: kernel i686 2.6.18-53.1.14.el5 updates 13 M Transaction Summary ============================================================================Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 13 M Is this ok [y/N]: y Downloading Packages: (1/1): kernel-2.6.18-53.1 100% |=========================| 13 MB 03:36 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: kernel ######################### [1/1] Installed: kernel.i686 0:2.6.18-53.1.14.el5 Complete! [root at compaq1300 ~]# exit Notice that: I was able to remove both files, with rpm -e without any problem and I was able to run yum update, and it installed the new kernel, but not the kernel-header file. [lanny at compaq1300 ~]$ 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 [lanny at compaq1300 ~]$ After rebooting the box, it is still on the original kernel, rather than on the new kernel. I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that correct or not? Probably very close to solving this now! Thanks much to everyone who has contributed ideas! Lanny
Maybe Matching Threads
- Partioning Error: Dual Boot, WinXP & CentOS5, 27 GB Free space; my error is?
- Subject: Re: "yum update" did not update kernel on one box
- Interim RPMs for vmsplice() issue
- OT: SMART warning on hard drive, same warning for 2 1 /2 years
- DVD reader: Hardware problem or OS glitch?