[CentOS] yum updates

Johnny Hughes mailing-lists at hughesjr.com
Tue Aug 8 17:26:55 UTC 2006


On Tue, 2006-08-08 at 13:08 -0400, Bowie Bailey wrote:
> 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.
> 

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.
-------------- 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/461a4b52/attachment.sig>


More information about the CentOS mailing list