[CentOS] yum quit working in CentOS 5.4 x86_64

David McGuffey davidmcguffey at verizon.net
Sat Dec 12 20:56:16 UTC 2009


Have been running 5.4 x86_64 for a couple of months now.  Every once in
a while, I would get a notice that updates were available.

It appears that about 3 weeks ago, yum stopped notifying me of updates.
Over that time, I've manually done a 'yum update' from a command line,
with an output that there are no updates.

I know this cannot be true, because I watch the 'centOS-announce Digest'
messages come through and see that there are updates for my
installation.

I tried 'yum clean all' followed by another 'yum update' and still no
updates are listed as available.

I have the priorities plugin installed and here is the output I get:

[root at desk ~]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: ftp.lug.udel.edu
 * base: mirror.rackspace.com
 * centosplus: mirrors.netdna.com
 * extras: ftp.lug.udel.edu
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.adams.net
598 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update
[root at desk ~]# 

Here is the contents of CentOS-Base.repo:

[root at desk yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try
the 
# remarked out baseurl= line instead.
#
#

[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/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=1

#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/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=1

#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/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=1

#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/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=1

#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/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=2

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=
$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=2
[root at desk yum.repos.d]# 

What is wrong?

DaveM




More information about the CentOS mailing list