Closed p5pRT closed 20 years ago
This morning while reading perl5-porters\, I noticed a note about a new version of File::Copy as well as a note about an update to CPAN. When I started up CPAN\, cpan tells me to install Bundle::CPAN to get the latest. When I do that\, CPAN downloads a new version of Perl 5.6 to install. As you can see below\, I already have that version. I even did a diff between the version CPAN is downloading and the version from which I did the install. The only differences are those pod doc nits that I am turning in as time permits.
I decided to skip building the bundle and just do a build on CPAN. No good - that too attempts to rebuild CPAN. Here's why:
$ cpan Undefined value assigned to typeglob at (eval 9) line 12. Warning [/home/lwv26/.inputrc line 2]: Invalid variable `show-all-if-ambiguous'
cpan shell -- CPAN exploration and modules installation (v1.52) ReadLine support enabled
cpan> i /File::Copy/ Going to read /home/lwv26/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Going to read /home/lwv26/.cpan/sources/modules/02packages.details.txt.gz Scanning cache /home/lwv26/.cpan/build for sizes
There's a new CPAN.pm version (v1.53) available! [Current version is v1.52] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running...
Going to read /home/lwv26/.cpan/sources/modules/03modlist.data.gz Module id = File::Copy DESCRIPTION Copying files or filehandles CPAN_USERID GSAR (Gurusamy Sarathy \gsar@​ActiveState\.com) CPAN_VERSION 2.03 CPAN_FILE GSAR/perl-5.6.0.tar.gz DSLI_STATUS adpf (alpha\,developer\,perl\,functions) MANPAGE File::Copy - Copy files or filehandles INST_FILE /vol/lwv26ldatae/lib/perl5/site_perl/5.6.0/File/Copy.pm INST_VERSION 2.0
cpan>
However\, when I check the INST_FILE\, I see:
$File::Copy::VERSION = '2.0'; $File::Copy::Too_Big = 1024 * 1024 * 2;
sub VERSION { # Version of File::Copy return $File::Copy::VERSION; }
Here's an update on my CPAN problem. For some reason\, something installed an ancient version of File::Copy in my $install_prefix/lib/site_perl/5.6.0 directory \, while perl itself installed the newer version of File::Copy in the $install_prefix/lib/5.6.0 directory.
I have no idea what package installed the older version in that directory. Anyone have any ideas on how to figure it out? -- Larry W. Virden \mailto​:lvirden@​cas\.org \<URL: http://www.purl.org/NET/lvirden/> Unless explicitly stated to the contrary\, nothing in this posting should be construed as representing my employer's opinions. ->\<-
The problem came from the fact that perl 5.6.0 had a new naming style for the perl distribution so that it didn't match anymore to the hardcoded regular expression that recognizes perl distributions. The fix came with CPAN.pm version 1.53\, the RE had to be updated.
Migrated from rt.perl.org#2671 (status was 'resolved')
Searchable as RT2671$