[CentOS] Upgrade perl; package conflict

Sun Jun 29 16:19:52 UTC 2008
Johnny Hughes <johnny at centos.org>

Gregory P. Ennis wrote:
> On Sun, 2008-06-29 at 16:46 +0100, Karanbir Singh wrote:
>> Gregory P. Ennis wrote:
>>> I am still having this same problem.  The only non-CentOS package I have
>>> installed is Astro::Time via cpan.  I have looked at the bug report but
>>> am not sure what to do next.  I have two x86_64 units that still have
>>> the problem.
>> Make sure the Extras repo is enabled on the machine, the upgrade should 
>> go through fine.
>>
>>
> 
> Here is what I am getting:
> 
> rpmforge                  100% |=========================| 1.1 kB
> 00:00
> base                      100% |=========================| 1.1 kB
> 00:00
> updates                   100% |=========================|  951 B
> 00:00
> centosplus                100% |=========================|  951 B
> 00:00
> addons                    100% |=========================|  951 B
> 00:00
> extras                    100% |=========================| 1.1 kB
> 00:00
> Excluding Packages from CentOS-5 - Base
> Finished
> Excluding Packages from CentOS-5 - Updates
> Finished
> Reducing CentOS-5 - Plus to included packages only
> Finished
> 0 packages excluded due to repository protections
> 275 packages excluded due to repository priority protections
> Setting up Update Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package perl-Gtk2.x86_64 0:1.183-1.el5.rf set to be updated
> ---> Package perl-Perl-Tidy.noarch 0:20071205-1.el5.rf set to be updated
> ---> Package perl.x86_64 4:5.8.8-10.el5_2.3 set to be updated
> ---> Package perl-Glib.x86_64 0:1.183-1.el5.rf set to be updated
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository
> Size
> =============================================================================
> Installing:
>  perl-Perl-Tidy          noarch     20071205-1.el5.rf  rpmforge
> 423 k
>      replacing  perl-Tidy.noarch 20071205-1.el5.rf
> 
> Updating:
>  perl                    x86_64     4:5.8.8-10.el5_2.3  updates
> 12 M
>  perl-Glib               x86_64     1.183-1.el5.rf   rpmforge
> 653 k
>  perl-Gtk2               x86_64     1.183-1.el5.rf   rpmforge
> 3.9 M
> 
> Transaction Summary
> =============================================================================
> Install      1 Package(s)
> Update       3 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 17 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
> 

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



-------------- 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/88bd8f3a/attachment-0005.sig>