On Fri, Jun 23, 2006 at 07:54:14AM -0700, Ed Morrison enlightened us:
On 23/06/06, Ed Morrison edward.morrison@gmail.com wrote:
I've hosed my CPAN installation and need to get CPAN.pm back. What do
I
need to install via yum to get it back?
[wmcdonald@willspc ~]$ rpm -qf `slocate CPAN.pm` perl-5.8.5-24.RHEL4
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Will:
Thanks for the reply. Unfortunately that is not working for me:
[root@mcn ~]# rpm -qf `slocate CPAN.pm` perl-5.8.5-24.RHEL4 error: file perl-5.8.5-24.RHEL4: No such file or directory
Although Perl-5.8.5-24 is installed: [root@mcn ~]# rpm -q perl-5.8.5-24.RHEL4 perl-5.8.5-24.RHEL4
Any other thoughts?
Yes, the command was merely "rpm -qf `slocate CPAN.pm`" and the answer was that file is in the perl-5.8.5-24.RHEL4.
The unspoken suggestion was to reinstall that RPM.