I am trying to update my cluster servers to a newer kernel. As the csgfs stuff is not updated for 2.6.9-34.0.2.EL yet, I have to use 2.6.9-34.0.1.EL. If I specify to update the cluster packages, yum will automatically find the proper kernel package to meet the dependency. The problem is that I also need the kernel-smp-devel package installed so that I can build a new AoE driver. It doesn't get installed via dependencies and I can't figure out how to install it manually. Hints anyone? How can I install kernel-smp-devel-2.6.9-34.0.1.EL via yum? Can I grab the rpm from somewhere and do a local install? Thanks, -- Bowie
On Tue, 2006-08-08 at 11:56 -0400, Bowie Bailey wrote:> I am trying to update my cluster servers to a newer kernel. As the > csgfs stuff is not updated for 2.6.9-34.0.2.EL yet, I have to use > 2.6.9-34.0.1.EL. > > If I specify to update the cluster packages, yum will automatically > find the proper kernel package to meet the dependency. The problem is > that I also need the kernel-smp-devel package installed so that I can > build a new AoE driver. It doesn't get installed via dependencies and > I can't figure out how to install it manually. > > Hints anyone? > > How can I install kernel-smp-devel-2.6.9-34.0.1.EL via yum? Can I > grab the rpm from somewhere and do a local install?It is in the updates repo for your arch: http://mirror.centos.org/centos/4/updates/i386/RPMS/kernel-smp-devel-2.6.9-34.0.1.EL.i686.rpm or http://mirror.centos.org/centos/4/updates/x86_64/RPMS/kernel-smp-devel-2.6.9-34.0.1.EL.x86_64.rpm Once downladed install like this: rpm -ivh kernel-smp-devel-2.6.9-34.0.1.EL.i686.rpm or rpm -ivh kernel-smp-devel-2.6.9-34.0.1.EL.x86_64.rpm (or you can remove the package with rpm -e kernel-smp-devel ... then yum install kernel-smp-devel-2.6.9-34.0.1.EL.i686 or yum install kernel-smp-devel-2.6.9-34.0.1.EL.x86_64 ) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060808/e5b6e6e0/attachment-0002.sig>
Bowie Bailey wrote:> I am trying to update my cluster servers to a newer kernel. As the > csgfs stuff is not updated for 2.6.9-34.0.2.EL yet, I have to use > 2.6.9-34.0.1.EL. > > If I specify to update the cluster packages, yum will automatically > find the proper kernel package to meet the dependency. The problem is > that I also need the kernel-smp-devel package installed so that I can > build a new AoE driver. It doesn't get installed via dependencies and > I can't figure out how to install it manually. > > Hints anyone? > > How can I install kernel-smp-devel-2.6.9-34.0.1.EL via yum? Can I > grab the rpm from somewhere and do a local install?Replying to myself... I was able to find the rpm by using the websites referenced in the repo. I can update everything else using yum and then install this one package manually and things should work fine. This still leaves me with a question, though. If I can find the rpm by looking in the repo, why can't yum find it? Does it refuse to show old packages even when the version is specified? # ls kernel* kernel-smp-devel-2.6.9-34.0.1.EL.i686.rpm # # yum info kernel-smp-devel-2.6.9-34.0.1.EL Setting up repositories Reading repository metadata in from local files # -- Bowie
Johnny Hughes wrote:> > On Tue, 2006-08-08 at 11:56 -0400, Bowie Bailey wrote: > > > > How can I install kernel-smp-devel-2.6.9-34.0.1.EL via yum? Can I > > grab the rpm from somewhere and do a local install? > > It is in the updates repo for your arch: > >http://mirror.centos.org/centos/4/updates/i386/RPMS/kernel-smp-devel-2.6.9-3 4.0.1.EL.i686.rpm> > or > >http://mirror.centos.org/centos/4/updates/x86_64/RPMS/kernel-smp-devel-2.6.9 -34.0.1.EL.x86_64.rpm> > Once downladed install like this: > > rpm -ivh kernel-smp-devel-2.6.9-34.0.1.EL.i686.rpm > > or > > rpm -ivh kernel-smp-devel-2.6.9-34.0.1.EL.x86_64.rpm > > (or you can remove the package with rpm -e kernel-smp-devel ... then > > yum install kernel-smp-devel-2.6.9-34.0.1.EL.i686 > > or > > yum install kernel-smp-devel-2.6.9-34.0.1.EL.x86_64 )I found the updates repo shortly after sending the first email. I followed your second suggestion and was able to have "yum install" see it after removing the old package. Why is the "rpm -e" required? It seems like I should be able to do "yum update" and specify the package version as long as it is newer than what is currently installed. -- Bowie
Johnny Hughes wrote:> On Tue, 2006-08-08 at 13:08 -0400, Bowie Bailey wrote: > > Johnny Hughes wrote: > > > > > > (or you can remove the package with rpm -e kernel-smp-devel ... then > > > > > > yum install kernel-smp-devel-2.6.9-34.0.1.EL.i686 > > > > > > or > > > > > > yum install kernel-smp-devel-2.6.9-34.0.1.EL.x86_64 ) > > > > I found the updates repo shortly after sending the first email. I > > followed your second suggestion and was able to have "yum install" see > > it after removing the old package. > > > > Why is the "rpm -e" required? It seems like I should be able to do > > "yum update" and specify the package version as long as it is newer > > than what is currently installed. > > > > Yum has no option to install an older file on top of a newer file > > An update probably installed the 34.0.2.EL-xxxx-devel file ... so 34.0.1 > will never install instead of the newer one.The installed package was older. I have already removed the package on the system I was working with, but here is an example from another one that is identical except for being x86_64 instead of i686. # yum info installed kernel-smp-devel Installed Packages Name : kernel-smp-devel Arch : x86_64 Version: 2.6.9 Release: 34.EL Size : 11 M Repo : installed # yum update kernel-smp-devel-2.6.9-34.0.1.EL Setting up Update Process Setting up repositories Reading repository metadata in from local files Could not find update match for kernel-smp-devel-2.6.9-34.0.1.EL No Packages marked for Update/Obsoletion I have verified that the package does exist in the repo: kernel-smp-devel-2.6.9-34.0.1.EL.x86_64.rpm It looks like a "yum update" will only update to the newest package version. -- Bowie
Johnny Hughes wrote:> On Tue, 2006-08-08 at 14:42 -0400, Bowie Bailey wrote: > > Johnny Hughes wrote: > > > > > > Yum has no option to install an older file on top of a newer file > > > > > > An update probably installed the 34.0.2.EL-xxxx-devel file ... so34.0.1> > > will never install instead of the newer one. > > > > The installed package was older. I have already removed the package > > on the system I was working with, but here is an example from another > > one that is identical except for being x86_64 instead of i686. > > > > # yum info installed kernel-smp-devel > > Installed Packages > > Name : kernel-smp-devel > > Arch : x86_64 > > Version: 2.6.9 > > Release: 34.EL > > Size : 11 M > > Repo : installed > > > > # yum update kernel-smp-devel-2.6.9-34.0.1.EL > > Setting up Update Process > > Setting up repositories > > Reading repository metadata in from local files > > Could not find update match for kernel-smp-devel-2.6.9-34.0.1.EL > > No Packages marked for Update/Obsoletion > > > > I have verified that the package does exist in the repo: > > > > kernel-smp-devel-2.6.9-34.0.1.EL.x86_64.rpm > > > > It looks like a "yum update" will only update to the newest package > > version. > > yum install should install a newer ... but not necessarily the newest > package (I think) :)Based on the example I gave and other testing I have done, I believe that I am correct. I was unable to find any syntax that would let me select a newer-but-not-newest version for an update. -- Bowie