On Mon, August 1, 2005 9:37 am, Dave Gutteridge said:>
> While trying to get my SD card reader to work with CentOS, it was
> recommended to me that I update to the centosplus kernel.
> I attempted to do so using yum, as was recommended, but I
> encountered the following error:
>
> [root at localhost ~]# yum --enablerepo=centosplus update kernel
> Repository update already added, not adding again
> Error getting repository data for centosplus, repository not found
>
> So I checked the internet for answers, and it seemed that my
> /etc/yum.repos.d/CentOS-Base.repo file might not point to the right
> place. However, when I compared my centosplus entry in
> /etc/yum.repos.d/CentOS-Base.repo to examples on the net, it seemed to
> be correct:
>
> #additional packages that extend functionality of existing packages
> [centosplus]
> name=CentOS-$releasever - Plus
> baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
> gpgcheck=1
> enabled=0
>
> Why can I not access the repository and install centosplus?
That is correct. What do you get with the command:
yum --enablerepo=centosplus list | grep centosplus
It should give you an output similar to this:
dmapi.i386 2.2.1-1 centosplus
dmapi-devel.i386 2.2.1-1 centosplus
jfsutils.i386 1.1.7-2 centosplus
kernel.i686 2.6.9-11.106.unsupport centosplus
kernel.i586 2.6.9-11.106.unsupport centosplus
kernel-devel.i586 2.6.9-11.106.unsupport centosplus
kernel-devel.i686 2.6.9-11.106.unsupport centosplus
kernel-hugemem.i686 2.6.9-11.106.unsupport centosplus
kernel-hugemem-devel.i686 2.6.9-11.106.unsupport centosplus
kernel-smp.i586 2.6.9-11.106.unsupport centosplus
kernel-smp-devel.i586 2.6.9-11.106.unsupport centosplus
php-bcmath.i386 5.0.4-2.centos4 centosplus
php-dba.i386 5.0.4-2.centos4 centosplus
php-soap.i386 5.0.4-2.centos4 centosplus
php-xml.i386 5.0.4-2.centos4 centosplus
reiserfs-utils.i386 2:3.6.19-2 centosplus
xfsdump.i386 2.2.25-1 centosplus
xfsprogs.i386 2.6.25-1 centosplus
xfsprogs-devel.i386 2.6.25-1 centosplus
(you should have some other items, as I have some centosplus items
installed and installed items don't show up in this list)
If that doesn't work, what is the output of the command:
rpm -q yum centos-yumconf centos-release
--
Johnny Hughes
<http://www.HughesJR.com/>