You should do:
# rpm -qa | grep ^perl
to see which perl packages are installed. You must have some.

Your rpm -V command isn't quite right either, but I don't think we really need to do that.

I don't know about removing CPAN modules. Steve, would that really be necessary? You wouldn't want to go too far in that direction, because you might cripple yum in the process.

I'd simply try installing the perl packages you're missing with yum. Here are the perl packages I have on my QMT:
perl-5.8.8-27.el5
perl-Archive-Tar-1.30-1.fc6
perl-Compress-Raw-Zlib-2.003-1.el5.rf
perl-Compress-Zlib-1.42-1.fc6
perl-Crypt-OpenSSL-Bignum-0.04-1.el5.rf
perl-Crypt-OpenSSL-RSA-0.25-1.el5.rf
perl-DBD-MySQL-3.0007-2.el5
perl-DBI-1.52-2.el5
perl-Digest-HMAC-1.01-15
perl-Digest-SHA1-2.11-1.2.1
perl-Digest-SHA-5.45-1.el5.rf
perl-Encode-Detect-1.01-1.el5.rf
perl-Error-0.17012-1.el5.rf
perl-Geography-Countries-1.4-2.2.el5.rf
perl-HTML-Parser-3.55-1.fc6
perl-HTML-Tagset-3.10-2.1.1
perl-IO-Compress-Base-2.003-1.el5.rf
perl-IO-Compress-Zlib-2.003-1.el5.rf
perl-IO-Socket-INET6-2.51-2.fc6
perl-IO-Socket-SSL-1.01-1.fc6
perl-IO-Zlib-1.04-4.2.1
perl-IP-Country-2.24-1.el5.rf
perl-libwww-perl-5.805-1.1.1
perl-Mail-DKIM-0.30.1-1.el5.rf
perl-Mail-DomainKeys-1.0-1.el5.rf
perl-Mail-SPF-2.005-1.el5.rf
perl-Mail-SPF-Query-1.999.1-2.el5.rf
perl-MailTools-2.02-1.el5.rf
perl-NetAddr-IP-4.007-1.el5.rf
perl-Net-CIDR-0.10-8
perl-Net-CIDR-Lite-0.15-8
perl-Net-DNS-0.59-3.el5
perl-Net-Ident-1.20-1.2.el5.rf
perl-Net-IP-1.25-2.fc6
perl-Net-SSLeay-1.30-4.fc6
perl-Razor-Agent-2.84-1.el5.rf
perl-rrdtool-1.4.2-1.el5.rf
perl-Socket6-0.19-3.fc6
perl-String-CRC32-1.4-2.fc6
perl-Sys-Hostname-Long-1.2-8
perl-TimeDate-1.16-5.el5
perl-URI-1.35-3
perl-version-0.74-1.el5.rf

Since you've updated recently, you should already have the rpmforge repo installed, but it probably is not enabled. Your yum command should look like this:
# yum --enablerepo=rpmforge install perl perl-Archive-Tar (...)
Use each package name that you're missing, short of the version stuff.

I expect that will take care of things. Please report back your results.

--
-Eric 'shubes'

On 10/28/2010 06:27 AM, Francisco Paco Peralta wrote:
I did the following:

[r...@mail ~]# rpm -V perl*
package perlpkginstalledviayum is not installed

Also:

[r...@mail ~]# rpm -qa | grep perl*
[r...@mail ~]#


It seems non of my perl modules are installed via rpm.

Is there an easy way of uninstalling the cpan installed modules and
replacing them with the rpm based?
Any guidance would be greatly appreciated.

Francisco "Paco" Peralta


------------------------------------------------------------------------
*From:* Francisco Paco Peralta <[email protected]>
*To:* [email protected]
*Sent:* Tue, October 26, 2010 10:42:02 AM
*Subject:* Re: [qmailtoaster] Re: Clamav update trouble

Well, I won't have to worry about using pastebin, here is the results:

[r...@mail ~]# rpm -V perl
[r...@mail ~]#

Thanks for the help.
Francisco "Paco" Peralta


------------------------------------------------------------------------
*From:* Steve Huff <[email protected]>
*To:* [email protected]
*Sent:* Tue, October 26, 2010 9:57:58 AM
*Subjec t:* Re: [qmailtoaster] Re: Clamav update trouble


On Oct 25, 2010, at 5:51 PM, Eric Shubert wrote:

 > Perhaps a perl expert here (Steve maybe?) might help with how to
straighten things out. I'm not real strong with CPAN.


hi! i have been (a bit belatedly) following this thread.

Paco, please run `rpm -V perl` (as root) and capture the output. if the
output is, say, 10 lines or fewer, then please post it to the list; if
it's longer, please stick it up on a pastebin somewhere and send us a link.

my first guess as to what is wrong is that by using the CPAN shell you
have clobbered some element of the system perl package, and now it is
misbehaving.

on a system with package management (e.g. RHEL/CentOS, Debian, Ubuntu,
Gentoo, Solaris, *BSD, etc.) you should not use the CPAN shell ever, fo
r any reason, at all, no matter what it says in a wiki or a README (and
if you know enough to know when you can disregard that statement, more
power to you :) ).

-shuff

--
If this were played upon a stage now, I could condemn it as an
improbable fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9 E61D AD54 0251 8477 B706)






---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to