[elrepo] Centos 6 - Kernel update using EL5 instead of EL6
Manuel Wolfshant
wolfy at nobugconsulting.ro
Fri Apr 8 22:21:03 EDT 2016
On 04/09/2016 03:09 AM, Jason Whiteman wrote:
> elrepo.repo grep for el5 is blank.
>
> Looking for el5 in all files in yum.repos.d:
>
> /etc/yum.repos.d/rpmforge.repo.EL5:baseurl =
> http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
> /etc/yum.repos.d/rpmforge.repo.EL5:mirrorlist =
> http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
> /etc/yum.repos.d/rpmforge.repo.EL5:baseurl =
> http://apt.sw.be/redhat/el5/en/$basearch/extras
> /etc/yum.repos.d/rpmforge.repo.EL5:mirrorlist =
> http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
> /etc/yum.repos.d/rpmforge.repo.EL5:baseurl =
> http://apt.sw.be/redhat/el5/en/$basearch/testing
> /etc/yum.repos.d/rpmforge.repo.EL5:mirrorlist =
> http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-testing
>
> grep el5 in yum.conf returns blank
>
>
You did not come back to the list with the output of "yum repolist
elrepo-kernel", as asked by Steve. Please provide that info as well
> ius-release-1.0-14.ius.centos6.noarch
> epel-release-6-8.noarch
> elrepo-release-6-6.el6.elrepo.noarch
> centos-release-scl-7-2.el6.centos.noarch
> centos-release-6-7.el6.centos.12.3.x86_64
> centos-release-scl-rh-2-1.el6.centos.noarch
>
These lines show that rpmforge was not properly installed anyway so
you'd better get rid of /etc/yum.repos.d/*rpmforge*. rpmforge is
notoriously incompatible with other repos ( notably epel ) and can only
lead to issues if its repo definition file is not amended properly.
> On Fri, Apr 8, 2016 at 4:33 PM, Steve Tindall <s10dal at elrepo.org
> <mailto:s10dal at elrepo.org>> wrote:
>
> On 04/08/2016 04:55 PM, Jason Whiteman wrote:
>
> Any idea why kernel-lt is using el5? I'd like to update to a
> later
> elrepo kernel.
>
> uname -r output:
>
> 2.6.32-573.22.1.el6.x86_64
>
> Yum install output:
>
> # yum --enablerepo=elrepo-kernel install kernel-lt
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Setting up Install Process
> Loading mirror speeds from cached hostfile
>
> ...
>
> * elrepo-kernel: reflector.westga.edu
> <http://reflector.westga.edu> <http://reflector.westga.edu>
>
> ...
>
> Error: Package: kernel-lt-3.2.79-1.el5.elrepo.x86_64
> (elrepo-kernel)
>
> ...
>
> Yes, that does look odd.
>
> The mirror used by yum (reflector.westga.edu
> <http://reflector.westga.edu>) for the elrepo-kernel channel does
> not include any el5 packages in the el6 channel. On a local EL6
> system, yum selects the correct kernel-lt for installation.
>
> Unless I missed something obvious, it looks like there may be a
> local yum configuration issue on your end. Please run:
>
> # grep el5 /etc/yum.repos.d/elrepo.repo
>
> (If that draws a blank, then run:
> # grep el5 /etc/yum.repos.d/*
> # grep el5 /etc/yum.conf )
>
> # yum repolist elrepo-kernel
>
> .. and post the output.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20160409/dad892e7/attachment.html>
More information about the elrepo
mailing list