israel.garcia at cimex.com.cu
2008-Apr-16 00:50 UTC
[CentOS] reinstall perl packages in Centos5
Hi, I'm running a CentOS5 email server with mailscanner/postfix/spamassassin.. but it seems I made something with perl that now I get this error when compile ANY package using perl: Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 394. Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 395. Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 396. Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 411. Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 421. Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.8/ExtUtils/Liblist/Kid.pm line 433. Compilation failed in require at /usr/lib/perl5/5.8.8/ExtUtils/Liblist.pm line 7. Compilation failed in require at /usr/lib/perl5/5.8.8/ExtUtils/MM.pm line 8. Compilation failed in require at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 42. Compilation failed in require at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. So, I tried to reinstall perl-5.8.8 package and nothing.. my question is: How can I Reinstall all perl packages using yum in CentOS5? Thanks for your time Regards Israel. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080415/cde299d0/attachment-0001.html>
wrote on Tue, 15 Apr 2008 19:50:11 -0500:> How can I Reinstall all perl packages using yum in CentOS5?Did this problem happen after MailScanner installation or before? Unfortunately, MailScanner forces the installation of a lot of Perl packages, even if they already exist or there are ones from CentOS or other repo's. I suggest installing all required perl packages via yum and *not* install MailScanner with the provided install script. I always just install the single MailScanner rpm that gets provided in the "rpm.tar.gz" file for Red Hat. That helps to avoid this. There's almost no package in that tarballs that cannot be instaleld via centos or rpmforge repos. As for reinstalling all the packages, "rpm -qa|grep perl" will give you a list of the installed packages. I'm not sure what the best way would be to remove or reinstall them as there might be a lot of dependencies. Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com