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@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
I am having the same issue
[lazyliberal@centos ~]$ uname -mr 2.6.18-53.el5 x86_64
[lazyliberal@centos ~]$ rpm -qa | grep ^kernel | sort kernel-2.6.18-53.el5 kernel-devel-2.6.18-53.1.4.el5 kernel-devel-2.6.18-8.1.14.el5 kernel-headers-2.6.18-53.1.4.el5
On Feb 18, 2008 1:10 PM, Akemi Yagi amyagi@gmail.com wrote:
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
On Feb 18, 2008 2:40 PM, Ed Donahue liberaled@gmail.com wrote:
I am having the same issue
[lazyliberal@centos ~]$ uname -mr 2.6.18-53.el5 x86_64
[lazyliberal@centos ~]$ rpm -qa | grep ^kernel | sort kernel-2.6.18-53.el5 kernel-devel-2.6.18-53.1.4.el5 kernel-devel-2.6.18-8.1.14.el5 kernel-headers-2.6.18-53.1.4.el5
First make sure you do not have any line like:
exclude=kernel -OR- exclude=kernel*
in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo
Then try updating the kernel by:
yum -d5 update kernel
Does the output show any hint?
Akemi
output
[root@centos ~]# yum -d5 update kernel Loading "skip-broken" plugin Loading "installonlyn" plugin Loading "priorities" plugin Loading "fastestmirror" plugin Loading "kmod" plugin Loading "kernel-module" plugin Running "config" handler for "skip-broken" plugin Running "config" handler for "installonlyn" plugin Running "config" handler for "priorities" plugin Running "init" handler for "fastestmirror" plugin Running "init" handler for "kmod" plugin Loading Fedora Extras kernel module support. Yum Version: 3.0.5 COMMAND: yum -d5 Installroot: / Ext Commands:
kernel Setting up Update Process Setting up repositories Running "postreposetup" handler for "fastestmirror" plugin Loading mirror speeds from cached hostfile Reading repository metadata in from local files Setting up Package Sacks Running "exclude" handler for "priorities" plugin
<--list of packages-->
588 packages excluded due to repository priority protections Reading Local RPMDB Building updates object Could not find update match for kernel No Packages marked for Update/Obsoletion
I think this started after I did an upgrade from 5 to 5.1 via dvd install.
On Feb 18, 2008 7:31 PM, Akemi Yagi amyagi@gmail.com wrote:
First make sure you do not have any line like:
exclude=kernel -OR- exclude=kernel*
in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo
Then try updating the kernel by:
yum -d5 update kernel
Does the output show any hint?
Akemi
On Feb 18, 2008 5:15 PM, Ed Donahue liberaled@gmail.com wrote:
output
Loading "kmod" plugin Loading "kernel-module" plugin
*Just as a test*, can you temporarily disable these two plugins to see if the new kernel is found by yum after that?
Akemi
[root@centos pluginconf.d]# yum -d5 update kernel Loading "skip-broken" plugin Loading "installonlyn" plugin Loading "priorities" plugin Loading "fastestmirror" plugin "kmod" plugin is disabled "kernel-module" plugin is disabled Running "config" handler for "skip-broken" plugin Running "config" handler for "installonlyn" plugin Running "config" handler for "priorities" plugin Running "init" handler for "fastestmirror" plugin Yum Version: 3.0.5 COMMAND: yum -d5 Installroot: / Ext Commands:
kernel ... 588 packages excluded due to repository priority protections Reading Local RPMDB Building updates object Could not find update match for kernel No Packages marked for Update/Obsoletion
On Feb 18, 2008 8:32 PM, Akemi Yagi amyagi@gmail.com wrote:
*Just as a test*, can you temporarily disable these two plugins to see if the new kernel is found by yum after that?
Akemi
On Feb 18, 2008 5:41 PM, Ed Donahue liberaled@gmail.com wrote:
[root@centos pluginconf.d]# yum -d5 update kernel
Loading "skip-broken" plugin Loading "installonlyn" plugin Loading "priorities" plugin Loading "fastestmirror" plugin "kmod" plugin is disabled "kernel-module" plugin is disabled
588 packages excluded due to repository priority protections Reading Local RPMDB Building updates object Could not find update match for kernel No Packages marked for Update/Obsoletion
Even with the two plugins disabled, yum still does not find the new kernel? OK, could you do the following?
yum install yum-repolist
Then run:
yum repolist
to list all the repos you have on your system and their status.
Akemi
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
yum install yum-repolist
Then run:
yum repolist
to list all the repos you have on your system and their status.
After running yum install yum-repolist yum repolist is:
Loading "skip-broken" plugin Loading "installonlyn" plugin Loading "downloadonly" plugin Loading "priorities" plugin Loading "repolist" plugin
repo id repo name status priority ======= ========= ====== ======== rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 99 base CentOS-5 - Base enabled 99 updates CentOS-5 - Updates enabled 99 c5-media CentOS-5 - Media disabled 99 centosplus CentOS-5 - Plus enabled 99 addons CentOS-5 - Addons enabled 99 extras CentOS-5 - Extras enabled 99
Looks OK to me. What the hell is our problem? All my updates are via yum. I received 1 updated kernel in September and none since.
On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
yum install yum-repolist
Then run:
yum repolist
to list all the repos you have on your system and their status.
After running yum install yum-repolist yum repolist is:
Loading "skip-broken" plugin Loading "installonlyn" plugin Loading "downloadonly" plugin Loading "priorities" plugin Loading "repolist" plugin
repo id repo name status priority ======= ========= ====== ======== rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 99 base CentOS-5 - Base enabled 99 updates CentOS-5 - Updates enabled 99 c5-media CentOS-5 - Media disabled 99 centosplus CentOS-5 - Plus enabled 99 addons CentOS-5 - Addons enabled 99 extras CentOS-5 - Extras enabled 99
Looks OK to me. What the hell is our problem? All my updates are via yum. I received 1 updated kernel in September and none since.
Coming in late on this thread, but...
1. Can you point your repo's at a different URL? 2. Have you tried a 'yum clean all' first? 3. Try disabling everything _but_ the update repo, doing yum clean and then yum update.
yum clean all yum --disablerepo=* --enablerepo=updates update
Ray
OK, that worked for me
yum clean all yum --disablerepo=* --enablerepo=updates update
Should this be done on a weekly/monthly basis? " yum clean all"
Or are my repos messed up?
repo id repo name status priority ======= ========= ====== ======== extras CentOS-5 - Extras enabled 1 base CentOS-5 - Base enabled 1 addons CentOS-5 - Addons enabled 1 c5-media CentOS-5 - Media disabled 2 centosplus CentOS-5 - Plus disabled 2 adobe-linux-i38 Adobe Systems Incorporated enabled 11 kbs-CentOS-Extr CentOS.Karan.Org-EL5 - Stable enabled 12 rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 15 updates CentOS-5 - Updates enabled 99 c5-testing CentOS-5 Testing disabled 99
I'm guessing updates should be priority 1 instead of 99?
Thank you for the help!!
On Feb 19, 2008 2:02 AM, Ray Van Dolson rayvd@bludgeon.org wrote:
Coming in late on this thread, but...
Can you point your repo's at a different URL?
Have you tried a 'yum clean all' first?
Try disabling everything _but_ the update repo, doing yum clean and then yum update.
yum clean all yum --disablerepo=* --enablerepo=updates update
Ray _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Feb 19, 2008 3:30 AM, Ed Donahue liberaled@gmail.com wrote:
repo id repo name status priority ======= ========= ====== ======== extras CentOS-5 - Extras enabled 1 base CentOS-5 - Base enabled 1 addons CentOS-5 - Addons enabled 1 c5-media CentOS-5 - Media disabled 2 centosplus CentOS-5 - Plus disabled 2 adobe-linux-i38 Adobe Systems Incorporated enabled 11 kbs-CentOS-Extr CentOS.Karan.Org-EL5 - Stable enabled 12 rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 15
updates CentOS-5 - Updates enabled 99 c5-testing CentOS-5 Testing disabled 99
I'm guessing updates should be priority 1 instead of 99?
Yes, updates should be set to 1.
Akemi
Ed Donahue wrote:
OK, that worked for me
yum clean all yum --disablerepo=\* --enablerepo=updates update
Should this be done on a weekly/monthly basis? " yum clean all"
Or are my repos messed up?
I run "yum clean headers" daily. I disabled the yum update daemon and use the following:
-=-=-=-=- #!/bin/sh # /etc/cron.daily/yum.cron
if [ -f /var/lock/subsys/yum ]; then /usr/bin/yum clean headers /usr/bin/yum -e 0 -d 0 -y update yum sleep 300 /usr/bin/yum -e 0 -d 0 -y update sleep 10 /usr/bin/yum clean headers fi -=-=-=-=-
The sleep commands are probably not necessary, but they make me feel better. Perhaps just a sync command would be enough, probably not even that is needed.
Actually I just remembered - the first sleep is necessary. Since I have several machines, I have staggered sleep values so they hit my local mirror at different times. I've found apache on my local mirror (low mem machine) sometimes locks up if they aren't staggered and all hit the repo at the same time.
If you are on dialup though, downloading headers may take awhile.
On Tue, 2008-02-19 at 04:59 -0800, Michael A. Peters wrote:
[snip]
-=-=-=-=- #!/bin/sh # /etc/cron.daily/yum.cron
if [ -f /var/lock/subsys/yum ]; then /usr/bin/yum clean headers /usr/bin/yum -e 0 -d 0 -y update yum sleep 300 /usr/bin/yum -e 0 -d 0 -y update sleep 10 /usr/bin/yum clean headers fi -=-=-=-=-
I commented out the clean headers and sleep lines. Stopped yum-updatesd and executed the script from the command line and it just sleeps (ie, ps aux "script" STAT=S). Curious.
On Tue, Feb 19, 2008 at 06:30:38AM -0500, Ed Donahue wrote:
OK, that worked for me
yum clean all yum --disablerepo=\* --enablerepo=updates update
Should this be done on a weekly/monthly basis? " yum clean all"
Or are my repos messed up?
repo id repo name status priority ======= ========= ====== ======== extras CentOS-5 - Extras enabled 1 base CentOS-5 - Base enabled 1 addons CentOS-5 - Addons enabled 1 c5-media CentOS-5 - Media disabled 2 centosplus CentOS-5 - Plus disabled 2 adobe-linux-i38 Adobe Systems Incorporated enabled 11 kbs-CentOS-Extr CentOS.Karan.Org-EL5 - Stable enabled 12 rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 15 updates CentOS-5 - Updates enabled 99 c5-testing CentOS-5 Testing disabled 99
I'm guessing updates should be priority 1 instead of 99?
No, you shouldn't need to run that really ever, but it can be helpful if yum gets "funky" (and it does seem to from time to time).
Also, yeah, your updates should be the same priority as the base.
Ray
On Mon, 2008-02-18 at 23:02 -0800, Ray Van Dolson wrote:
On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
[snip]
Coming in late on this thread, but...
Can you point your repo's at a different URL?
Have you tried a 'yum clean all' first?
Try disabling everything _but_ the update repo, doing yum clean and then yum update.
yum clean all yum --disablerepo=* --enablerepo=updates update
After running both commands I receive the following:
0 packages excluded due to repository priority protections No Packages marked for Update/Obsoletion
Still haven't found the problem! I have also put priority=1 in both base and updates. No help. So...if Ed's is working, why isn't mine? Is yum-updatesd the problem? Should I use Michael's script? This has become very frustrating!
Bob Taylor wrote:
On Mon, 2008-02-18 at 23:02 -0800, Ray Van Dolson wrote:
On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
[snip]
Coming in late on this thread, but...
Can you point your repo's at a different URL?
Have you tried a 'yum clean all' first?
Try disabling everything _but_ the update repo, doing yum clean and then yum update.
yum clean all yum --disablerepo=* --enablerepo=updates update
After running both commands I receive the following:
0 packages excluded due to repository priority protections No Packages marked for Update/Obsoletion
Still haven't found the problem! I have also put priority=1 in both base and updates. No help. So...if Ed's is working, why isn't mine? Is yum-updatesd the problem? Should I use Michael's script? This has become very frustrating!
sounds like the mirror you are updating from is not up to date.
We currently know that one mirror is bad:
http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
On Feb 19, 2008 1:58 PM, Johnny Hughes johnny@centos.org wrote:
Bob Taylor wrote:
sounds like the mirror you are updating from is not up to date.
We currently know that one mirror is bad:
http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
According to Bob's earlier post, he does not seem to have the fastestmirror plugin. So he probably does not have that file...
Bob, do a 'yum install yum-fastestmirror' and try again.
Akemi
On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
On Feb 19, 2008 1:58 PM, Johnny Hughes johnny@centos.org wrote:
Bob Taylor wrote:
sounds like the mirror you are updating from is not up to date.
We currently know that one mirror is bad:
http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
According to Bob's earlier post, he does not seem to have the fastestmirror plugin. So he probably does not have that file...
Bob, do a 'yum install yum-fastestmirror' and try again.
Did so. No help. FYI no timedhosts.txt in the rpm. I still think the problem lies in yum's message "Could not find update match for kernel".
On Tue, Feb 19, 2008 at 10:06 PM, Bob Taylor bob8221@gmail.com wrote:
On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
On Feb 19, 2008 1:58 PM, Johnny Hughes johnny@centos.org wrote:
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
According to Bob's earlier post, he does not seem to have the fastestmirror plugin. So he probably does not have that file...
Bob, do a 'yum install yum-fastestmirror' and try again.
Did so. No help. FYI no timedhosts.txt in the rpm. I still think the problem lies in yum's message "Could not find update match for kernel".
timedhosts.txt is NOT in the rpm. It is created when you run yum and contains the names of the mirror sites yum tried to access. Johnny wanted to know which site yum attempted to use. If you do not see this file even after yum was run, then something is amiss there.
Akemi
On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:
On Tue, Feb 19, 2008 at 10:06 PM, Bob Taylor bob8221@gmail.com wrote:
On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
On Feb 19, 2008 1:58 PM, Johnny Hughes johnny@centos.org wrote:
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
According to Bob's earlier post, he does not seem to have the fastestmirror plugin. So he probably does not have that file...
Bob, do a 'yum install yum-fastestmirror' and try again.
Did so. No help. FYI no timedhosts.txt in the rpm. I still think the problem lies in yum's message "Could not find update match for kernel".
timedhosts.txt is NOT in the rpm. It is created when you run yum and contains the names of the mirror sites yum tried to access. Johnny wanted to know which site yum attempted to use. If you do not see this file even after yum was run, then something is amiss there.
My bad! It's there. I was looking in the wrong directory and didn't notice until later. The file currently contains:
mirror.centos.org 1.90688800812
Shouldn't yum update kernel update all kernel rpms installed? Rpm -q kernel returns all kernel rpm's I have installed (ie kernel-2.6.18-8.el5 kernel-2.6.18-8.1.14.el5)
I tried this (yum update kernel) which reported: Could not find update match for kernel. How do I find what arch yum is using? This may be a clue why the kernel only is not being updated. This is what uname -rmpi returns:
uname -rmpi 2.6.18-8.1.14.el5 i686 i686 i386
Akemi
Thanks for staying with me, Akemi
On Wed, Feb 20, 2008 at 7:57 AM, Bob Taylor bob8221@gmail.com wrote:
On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:
My bad! It's there. I was looking in the wrong directory and didn't notice until later. The file currently contains:
mirror.centos.org 1.90688800812
Is this all you have in the timedhosts.txt file? That's odd. Maybe Johnny can help you here.
Akemi
Akemi Yagi wrote:
On Wed, Feb 20, 2008 at 7:57 AM, Bob Taylor bob8221@gmail.com wrote:
On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:
My bad! It's there. I was looking in the wrong directory and didn't notice until later. The file currently contains:
mirror.centos.org 1.90688800812
Is this all you have in the timedhosts.txt file? That's odd. Maybe Johnny can help you here.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
OK .. lets go at this a different way :)
what is the output of the following comamnd (put it all on one line if it wraps):
rpm -qa yum* sqlite* python* rpm* centos* | sort
On Wed, 2008-02-20 at 10:58 -0600, Johnny Hughes wrote:
[snip]
OK .. lets go at this a different way :)
what is the output of the following comamnd (put it all on one line if it wraps):
rpm -qa yum* sqlite* python* rpm* centos* | sort
centos-release-5-1.0.el5.centos.1 centos-release-notes-5.1.0-2 python-2.4.3-19.el5 python-devel-2.4.3-19.el5 python-elementtree-1.2.6-5 python-imaging-1.1.6-2.el5.rf python-ldap-2.2.0-2.1 python-numeric-23.7-2.2.2 python-sqlite-1.1.7-1.2.1 python-urlgrabber-3.1.0-2 rpm-4.4.2-47.el5 rpm-build-4.4.2-47.el5 rpm-devel-4.4.2-47.el5 rpmforge-release-0.3.6-1.el5.rf rpm-libs-4.4.2-47.el5 rpm-python-4.4.2-47.el5 sqlite-3.3.6-2 sqlite-devel-3.3.6-2 yum-3.0.5-1.el5.centos.5 yum-cron-0.6-1.el5.centos yum-downloadonly-1.0.4-3.el5.centos.2 yumex-2.0.3-2.el5.centos yum-fastestmirror-1.0.4-3.el5.centos.2 yum-metadata-parser-1.0-8.fc6 yum-priorities-1.0.4-3.el5.centos.2 yum-repolist-1.0.4-3.el5.centos.2 yum-skip-broken-1.0.4-3.el5.centos.2 yum-updatesd-3.0.5-1.el5.centos.5 yum-utils-1.0.4-3.el5.centos.2 yum-versionlock-1.0.4-3.el5.centos.2
On Wed, Feb 20, 2008 at 9:10 AM, Bob Taylor bob8221@gmail.com wrote:
On Wed, 2008-02-20 at 10:58 -0600, Johnny Hughes wrote:
[snip]
OK .. lets go at this a different way :)
what is the output of the following comamnd (put it all on one line if it wraps):
rpm -qa yum* sqlite* python* rpm* centos* | sort
yum-versionlock-1.0.4-3.el5.centos.2
Any chance you have the kernel listed in /etc/yum/pluginconf.d/versionlock.list and versionlock enabled??
Akemi
On Wed, 2008-02-20 at 09:28 -0800, Akemi Yagi wrote:
On Wed, Feb 20, 2008 at 9:10 AM, Bob Taylor bob8221@gmail.com wrote:
On Wed, 2008-02-20 at 10:58 -0600, Johnny Hughes wrote:
[snip]
OK .. lets go at this a different way :)
what is the output of the following comamnd (put it all on one line if it wraps):
rpm -qa yum* sqlite* python* rpm* centos* | sort
yum-versionlock-1.0.4-3.el5.centos.2
Any chance you have the kernel listed in /etc/yum/pluginconf.d/versionlock.list and versionlock enabled??
versionlock.list is disabled and there is no file versionlock.
On Tue, 2008-02-19 at 15:58 -0600, Johnny Hughes wrote:
Bob Taylor wrote:
[snip]
sounds like the mirror you are updating from is not up to date.
I *think* I'm using http://mirror.centos.org/centos/$releasever/updates/$basearch/
I have found that there is no kernel at rpmforge so I have commented out all mirror urls in /etc/yum.repos.d/CentOS-Base.repo file and disabled the rpmforge.repo file setting enabled=0. I have also set priority=1. This creates a problem updating the kernel if you have rpms from rpmforge. Is there a fix for this?
From what I gather from the message "Could not find update match for
kernel". This is my problem. Why can't it find this match. What match is yum looking for?
We currently know that one mirror is bad:
http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
Please look at the file "/var/cache/yum/timedhosts.txt" and see the first server from that list. If it is not a belnet.be mirror, please tell me which one it is, as it may be out of date.
I don't have this file.
On Feb 18, 2008 10:56 PM, Bob Taylor bob8221@gmail.com wrote:
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
repo id repo name status priority ======= ========= ====== ======== rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 99 base CentOS-5 - Base enabled 99 updates CentOS-5 - Updates enabled 99 c5-media CentOS-5 - Media disabled 99 centosplus CentOS-5 - Plus enabled 99 addons CentOS-5 - Addons enabled 99 extras CentOS-5 - Extras enabled 99
Looks OK to me. What the hell is our problem? All my updates are via yum. I received 1 updated kernel in September and none since.
In addition to what Ray Van Dolson suggested... you need to set up priorities according to:
http://wiki.centos.org/PackageManagement/Yum/Priorities
Akemi
Akemi Yagi wrote:
On Feb 18, 2008 10:56 PM, Bob Taylor bob8221@gmail.com wrote:
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
repo id repo name status priority ======= ========= ====== ======== rpmforge Red Hat Enterprise 5 - RPMforge.net enabled 99 base CentOS-5 - Base enabled 99 updates CentOS-5 - Updates enabled 99 c5-media CentOS-5 - Media disabled 99 centosplus CentOS-5 - Plus enabled 99 addons CentOS-5 - Addons enabled 99 extras CentOS-5 - Extras enabled 99
Looks OK to me. What the hell is our problem? All my updates are via yum. I received 1 updated kernel in September and none since.
In addition to what Ray Van Dolson suggested... you need to set up priorities according to:
Correct ... however, with updates and base both at 99, this should not be a problem. I see no reason why this will not work.
On Mon, 2008-02-18 at 16:31 -0800, Akemi Yagi wrote:
On Feb 18, 2008 2:40 PM, Ed Donahue liberaled@gmail.com wrote:
I am having the same issue
First make sure you do not have any line like:
exclude=kernel -OR- exclude=kernel*
I have no excludes
in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo
Then try updating the kernel by:
yum -d5 update kernel
Does the output show any hint?
yum -d5 update kernel Loading "skip-broken" plugin "versionlock" plugin is disabled Loading "installonlyn" plugin Loading "downloadonly" plugin Loading "priorities" plugin Running "config" handler for "skip-broken" plugin Running "config" handler for "installonlyn" plugin Running "config" handler for "downloadonly" plugin Running "config" handler for "priorities" plugin Yum Version: 3.0.5 COMMAND: yum -d5 Installroot: / Ext Commands:
kernel Setting up Update Process Setting up repositories rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 centosplus 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Running "postreposetup" handler for "downloadonly" plugin Reading repository metadata in from local files Setting up Package Sacks Running "exclude" handler for "priorities" plugin 0 packages excluded due to repository priority protections Reading Local RPMDB Building updates object Could not find update match for kernel No Packages marked for Update/Obsoletion
I see nothing other than the second to last line.
On Mon, 2008-02-18 at 10:10 -0800, Akemi Yagi wrote:
On Feb 18, 2008 9:52 AM, Bob Taylor bob8221@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
2.6.18-8.1.14.el5 i686
rpm -qa | grep ^kernel | sort
kernel-2.6.18-8.1.14.el5 kernel-2.6.18-8.el5 kernel-headers-2.6.18-53.1.13.el5.centos.plus
I manually added kernel-headers. BTW uname -a says:
uname -a Linux ann.qtpi.local 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 EDT 2007 i686 i686 i386 GNU/Linux
This doesn't look right.