[CentOS] CentOSPlus Perl Upgrade
johnny at centos.org
Wed Sep 12 11:53:36 UTC 2007
Nick Webb wrote:
> Hey All,
> I'm trying to upgrade to perl 5.8.8 via CentOSPlus, but am having no
> luck. Here is what I have done.
> # yum list | grep perl
> . . .
> perl.i386 3:5.8.5-12.1 installed
> . . .
> Created /etc/yum.repos.d/CentOS-Base.repo with:
> #additional packages that extend functionality of existing packages
> name=CentOS-$releasever - Plus
> exclude=kernel kernel-devel kernel-smp-* kernel-hugemem* kernel-largesmp*
> Then tried:
> # sudo yum --enablerepo=centosplus upgrade perl
> Setting up Upgrade Process
> Setting up repositories
> Reading repository metadata in from local files
> Excluding Packages in global exclude list
> Excluding Packages from CentOS-4 - Plus
> Could not find update match for perl
> No Packages marked for Update/Obsoletion
> What am I missing?
Since the Base and Updates repos are:
And since the CentOSPlus repo is:
You will need to set perl (and any other items you want from CentOSPlus
to overwrite base and/or updates repo) to exclude= in the base repo and
the updates repo.
HOWEVER ... the perl in CentOSPlus is part of the CentOS Web Stack ...
and you need to use all the pieces of that together if you want to use
any of it ... see this guide:
> Actually, looking at the "yum list" output, it looks like the current
> version installed is of the i386 architecture, while this machine is
> x86_64? Is that the problem? If so is it safe to install the i386
> package? Is there an easy way to do this via yum?
It depends ... you can use i386 or x86_64 or both. Adding this:
to a file called ~/.rpmmacros will allow you to do:
rpm -qa | sort
and see what i[3,4,5,6]86 and x86_64 packages are installed.
> # uname -a
> Linux dev 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 09:40:21 EST 2007
> x86_64 x86_64 x86_64 GNU/Linux
You need a newer kernel :D
> I'm begining to think the previous admin made some poor decisions on
> this server...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20070912/dc5f1ec9/signature.bin
More information about the CentOS