Perl updates via yum

Dave Mitchell davem at iabyn.com
Wed Nov 14 11:48:26 UTC 2007


On Tue, Nov 13, 2007 at 03:35:53PM -0800, Geoffrey Leach wrote:
> On 11/13/07 08:55:15, Jason Bertoch wrote:
> > 
> > Hi, I'm running Fedora 7 and this morning yum wanted to update 
> > several
> > Perl
> > packages.  After applying the update, I've been living a nightmare
> > with
> > mismatched version numbers.  It seems that someone may be working on
> > it because
> > another release became available, but there are still a number of
> > problems.  The
> > current version available is perl-5.8.8-26 which seems to be built 
> > for
> > the
> > 2.6.20-1.3002.fc6xen architecture.  Attempting to update any other
> > modules via
> > CPAN throws the following error.  Any ideas on when this will be
> > fixed, or how I
> > can repair it myself?  My mail system relies heavily on Perl and it's
> > down as a
> > result.
> > 
> > Error:  Errno architecture (i386-linux-thread-
> > multi-2.6.20-1.3001.fc6xen)
> > does
> > not match executable architecture (i386-linux-thread-
> > multi-2.6.20-1.3002.fc6xen)
> > at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
> 
> I've done the same thing without experiencing problems. 
> 
> %rpm -q perl
> perl-5.8.8-26.fc7
> 
> perl -V 
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>   Platform:
>     osname=linux, osvers=2.6.20-1.3002.fc6xen, archname=i386-linux-
> thread-multi
>     uname='linux xenbuilder1.fedora.redhat.com 2.6.20-1.3002.fc6xen #1 
> smp mon aug 13 14:21:21 edt 2007 i686 athlon i386 gnulinux '
> ...
> 
> Perhaps a reinstall of perl?
> 
> FWIW, I'm experiencing a different problem with CPAN, started without 
> any obvious connection to anything, and before the update.

The OP's problem seems to be that architecture has got the kernel name
included in it for some reason, ie

archname=i386-linux-thread-multi-2.6.20-1.3001.fc6xen)
    instead of
archname=i386-linux-thread-multi

which is very wrong, and will break CPAN modules on every kernel update.

Jason, what does perl -V show you?


-- 
My Dad used to say 'always fight fire with fire', which is probably why
he got thrown out of the fire brigade.




More information about the fedora-list mailing list