I'm having the same problem as Valent Turkovic. I have the following /etc/yum.repos.d/CentOS-Base.repo (mind the line-wraps): [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch$basearch&repo=updates baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch$basearch&repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 I have missed any fixes for this since the suggestion to comment the mirrorlist line and uncomment the baseurl line (which doesn't work. Thanks in advance. -- Bob Taylor
On Feb 18, 2008 9:52 AM, Bob Taylor <bob8221 at gmail.com> wrote:> I'm having the same problem as Valent Turkovic. I have the > following /etc/yum.repos.d/CentOS-Base.repo (mind the line-wraps):Would you post the output of: uname -mr rpm -qa | grep ^kernel | sort I just want to make sure you indeed do not have the latest kernel. Akemi
Hm. I just noticed http://mirror.centos.org/centos/5/updates/i386/RPMS/ kernel listings are i686.rpm. Could my problem be this is confusing yum as I use i386 and this is the i386 directory? Doesn't make sense since no one else seems to have this. Of course their are most likely few running Pentium II's. Searching for answers in the dark. Shouldn't yum update kernel work update just the kernel* rpms? -- Bob Taylor
It seems everybody is out of ideas why yum is not updating the kernel. The following kernels are installed in /boot: vmlinuz-2.6.18-8.1.14.el5 vmlinuz-2.6.18-8.el5 I originally installed CentOS 5.0 via CD. Yum automatically updated to 5.1 including kernel-2.6.18-8.1.14.el5. I have traced the kernels from kernel-2.6.18-8.el5 to kernel-2.6.18-8.1.14.el5. Yum stopped updating at this point. kernel-2.6.18-8.1.14.el5 was installed Oct 10, 2007 according to yum.log. It seems I installed rpmforge.repo around October 13, 2007. The installation included two files. rpmforge.repo and mirrors-rpmforge. The contents of rpmforge.repo is: # Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag # URL: http://rpmforge.net/ [rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag #baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 priority = 99 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 Other than the priority is not needed, does any of the previous ring a bell? Still frustrated. I received the following this morning: /etc/cron.daily/yum.cron: Error: Cannot find a valid baseurl for repo: base Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was [Errno 14] HTTP Error 505: DNS lookup error Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was [Errno 14] HTTP Error 506: Failure To Connect To Web Server Has CentOS.org changed their url? -- Bob Taylor
I'll lookand see, doesn't hurt. Which repos did you have installed? -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Thu Feb 28 02:32:20 2008 Subject: RE: [CentOS] Yum not updating kernel On Wed, 2008-02-27 at 15:27 -0500, Ross S. W. Walker wrote: [big snip]> I'd be interested in seeing a complete /var/log/yum.log file > and the date of the last successful yum update.I have attached both yum.log files. Possible dates of interest are: Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5 Oct 24 05:43:29 Updated: kernel-headers.i386 2.6.18-8.1.15.el5 Dec 03 11:10:12 Updated: kernel-headers.i386 2.6.18-53.1.4.el5 I wonder if you can find a culprit? -- Bob Taylor ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080228/1d8a408b/attachment.html>
Bob Taylor
2008-Mar-02 01:12 UTC
[CentOS] What wrote to /etc/rpm/platform! Was: Yum not updating kernel
Thought I should start a new thread since the subject has changed. It seems I have lost some email. I logged out Tuesday night and couldn't log back in. I had some unexpected problems reinstalling and also some commitments. Finally back! Whew! I *hate* reinstalls! Anaconda is not the problem in modifying /etc/rpm/platform As I install packages I will check the platform file. -- Bob Taylor
Seemingly Similar Threads
- problems installing parted tool
- Yum updates packages for other arch too
- centosplus + priority plugin
- YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet
- No installed updated kernels via yum