[TriLUG] CentOS 5.4 + Yum Madness

Ron Kelley rkelleyrtp at gmail.com
Tue Mar 16 09:00:53 EDT 2010


Send the output of your /etc/yum.repos.d files



On Mar 16, 2010, at 8:58 AM, Brian Weaver wrote:

> No it's there, yum is just being difficult. Check out the following output
> 
> [root at localhost ~]# yum list '*' | grep kernel
> kernel.i686                             2.6.18-164.11.1.el5.centos.plus
> kernel-doc.noarch                       2.6.18-164.11.1.el5.centos.plus
> kernel-headers.i386                     2.6.18-164.11.1.el5.centos.plus
> yum-kernel-module.noarch                1.1.16-14.el5.centos.1        updates   
> [root at localhost ~]# cd /var/cache/yum/
> [root at localhost yum]# ls
> addons  base  centosplus  contrib  extras  timedhosts.txt  updates
> [root at localhost yum]# cd centosplus/
> [root at localhost centosplus]# ls
> cachecookie  mirrorlist.txt  packages  primary.xml.gz  primary.xml.gz.sqlite  repomd.xml
> [root at localhost centosplus]# strings primary.xml.gz.sqlite | grep kernel-devel
> kernel-devel5
> kernel-devel
> kernel-devel
> kernel-develw
> kernel-develEQ02.6.18128.1.10.el5.centos.plus
> kernel-devel-i686EQ02.6.18128.1.10.el5.centos.plus
> 2dcf1251d94e0e7e1582523f0d5219d291515effkernel-develi6862.6.180128.1.10.el5.centos.plusDevelopment package for building kernel modules to match the kernel.This package provides kernel headers and makefiles sufficient to build modules
> RPMS/kernel-devel-2.6.18-128.1.10.el5.centos.plus.i686.rpmsha
> kernel-devel-i686EQ02.6.18164.el5.plus
> kernel-develEQ02.6.18164.el5.plus
> c510dace6f82a866df8e48a3d5e71b5ec6e98be8kernel-develi6862.6.180164.el5.plusDevelopment package for building kernel modules to match the kernel.This package provides k
> .
> .
> .
> .
> 
> 
> The output provides a good 229 lines of matches.  I don't know why yum will not make it available, but it's there.
> 
> -- Brian 
> 
> 
> 
> On Mar 15, 2010, at 6:39 PM, Lance A. Brown wrote:
> 
>> Brian Weaver said the following on 3/15/2010 5:41 PM:
>>> [root at localhost yum]# yum clean all
>>> Loaded plugins: fastestmirror
>>> Cleaning up Everything
>>> Cleaning up list of fastest mirrors
>>> [root at localhost yum]# yum list | grep -i kernel
>>> kernel.i686                             2.6.18-164.11.1.el5.centos.plus
>>> kernel-doc.noarch                       2.6.18-164.11.1.el5.centos.plus
>>> kernel-headers.i386                     2.6.18-164.11.1.el5.centos.plus
>>> yum-kernel-module.noarch                1.1.16-14.el5.centos.1        updates
>> 
>> So you're using a CentOSplus kernel.  I've got the same kernel installed
>> on a server at home and see this when I run 'yum list available kernel\*'
>> 
>> circle:lance ~ $ sudo yum list available kernel\*
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>> * epel: serverbeach1.fedoraproject.org
>> * base: mirror.skiplink.com
>> * updates: mirror.atlanticmetro.net
>> * extras: mirror.ubiquityservers.com
>> * centosplus: ftp.linux.ncsu.edu
>> * addons: ftp.lug.udel.edu
>> Available Packages
>> kernel.i686              2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-PAE.i686          2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-PAE-devel.i686    2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-debug.i686        2.6.18-164.11.1.el5               updates
>> kernel-debug-devel.i686  2.6.18-164.11.1.el5               updates
>> kernel-devel.i686        2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-doc.noarch        2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-headers.i386      2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-xen.i686          2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-xen-devel.i686    2.6.18-164.11.1.el5.centos.plus   centosplus
>> 
>> You might manually check the centosplus mirror your machine is pulling
>> from.  It might be out of date or something.
>> 
>> --[Lance]
>> 
>> -- 
>> GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
>> CACert.org Assurer
>> --
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
> 
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions

Thanks,

-Ron
rkelleyrtp at gmail.com




More information about the TriLUG mailing list