[CentOS] Upgrade perl; package conflict

Johnny Hughes johnny at centos.org
Sun Jun 29 18:13:21 UTC 2008


Gregory P. Ennis wrote:
>> It looks like some perl thing is trying to keep the perl at the OLD level.
>>
>> (you have plenty of rf packages, which is rpmforge ... those are 
>> NON-CentOS pacakges. I am not saying those are the problem, just 
>> pointing out your original statement is in error where you list only one 
>> NON-CentOS package)
>>
>> First, do you have x86_64 and i386 perl installed ... if so, do you need 
>> them?
>>
>> This should tell you if you have both versions installed:
>> rpm -q perl
>>
>> Maybe try this (all one line):
>>
>> yum --disablerepo=\* --enablerepo=updates --enablerepo=base 
>> --enablerepo=extras upgrade perl
>>
>>
> Johhny,
> 
> You are correct about my leaving out rpmforge... sorry for the
> oversight.
> 
> Here are the results of your advice :
> 
> [root at Mail yum.repos.d]# rpm -q perl
> perl-5.8.8-10.el5_0.2
> perl-5.8.8-10.el5_0.2
> 
> 
> [root at Mail yum.repos.d]# yum --disablerepo=\* --enablerepo=updates
> --enablerepo=base --enablerepo=extras upgrade perl
> Loading "protectbase" plugin
> Loading "fastestmirror" plugin
> Loading "downloadonly" plugin
> Loading "allowdowngrade" plugin
> Loading "changelog" plugin
> Loading "priorities" plugin
> Loading "kernel-module" plugin
> Loading "tsflags" plugin
> Loading "fedorakmod" plugin
> Loading "skip-broken" plugin
> Loading mirror speeds from cached hostfile
>  * base: mirror.steadfast.net
>  * updates: mirror.steadfast.net
>  * extras: mirror.sanctuaryhost.com
> Excluding Packages from CentOS-5 - Base
> Finished
> Excluding Packages from CentOS-5 - Updates
> Finished
> 0 packages excluded due to repository protections
> 3 packages excluded due to repository priority protections
> Setting up Upgrade Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package perl.x86_64 4:5.8.8-10.el5_2.3 set to be updated
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository
> Size
> =============================================================================
> Updating:
>  perl                    x86_64     4:5.8.8-10.el5_2.3  updates
> 12 M
> 
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update       1 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 12 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> 
> 
> Transaction Check Error:
>   file /usr/lib/perl5/5.8.8/pod/perldiag.pod from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/c2ph.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/cpan.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/dprofpp.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/enc2xs.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/find2perl.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/h2ph.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/h2xs.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/instmodsh.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/libnetcfg.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/perlbug.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/perlcc.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/perldiag.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/perlivp.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/piconv.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pl2pm.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pod2html.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pod2latex.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pod2man.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pod2text.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pod2usage.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/podchecker.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/podselect.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/prove.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/psed.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/pstruct.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/s2p.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/splain.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
>   file /usr/share/man/man1/xsubpp.1.gz from install of
> perl-5.8.8-10.el5_2.3 conflicts with file from package
> perl-5.8.8-10.el5_0.2
> 
> Error Summary
> -------------
> 
> It looks like I have two packages installed
> 
> ie 
> [root at Mail yum.repos.d]# rpm -q perl
> perl-5.8.8-10.el5_0.2
> perl-5.8.8-10.el5_0.2
> 
> Any ideas ?
> 
> Thanks again for your help!!!

is it possible that you have extras set at a different priority than 
base ... you also have the protectbase installed along with priorities 
(not recommended).

You should have these settings for [extras], [base] and [updates] 
sections in CentOS-Base.repo:

priority=1
protect=1

You should also (after properly configuring your repo files), use 
yum-priorities and remove yum-protectbase.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20080629/265aaa30/signature.bin


More information about the CentOS mailing list