Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

CPAN is not getting package info from its urllist

by shagbark (Acolyte)
on Mar 01, 2015 at 17:43 UTC ( [id://1118294]=perlquestion: print w/replies, xml ) Need Help??

shagbark has asked for the wisdom of the Perl Monks concerning the following question:

I have two installations of Cygwin (32 bit and 64 bit), and one installation of perl in each.

I'm trying to install Types::Serialiser in the 32-bit Cygwin. CPAN says:

cpan> i Types::Serialiser CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Wed, 22 Jan 2014 18:00:00 GMT Updating database file ... Done!No objects found of any type for argument Types::Serialiser cpan> o conf urllist urllist 0 [www.cpan.org/] 1 [mirror.nyi.net/pub/CPAN/] 2 [mirrors.ccs.neu.edu/CPAN/] 3 [httpupdate8.cpanel.net/CPAN/] 4 [www.cpan.org/]

But in 64-bit Cygwin, CPAN says:

cpan[5]> i Types::Serialiser Reading '/home/shagbark/.cpan/Metadata' Database was generated on Sun, 01 Mar 2015 11:53:20 GMT Module id = Types::Serialiser CPAN_USERID MLEHMANN (Marc Lehmann <schmorp@schmorp.de>) CPAN_VERSION 1.0 CPAN_FILE M/ML/MLEHMANN/Types-Serialiser-1.0.tar.gz UPLOAD_DATE 2013-11-30 MANPAGE Types::Serialiser - simple data types for common seri +alisation formats INST_FILE /usr/lib/perl5/site_perl/5.14/Types/Serialiser.pm INST_VERSION 1.0 cpan[7]> o conf urllist urllist 0 [www.cpan.org/] 1 [mirror.nyi.net/pub/CPAN/] 2 [mirrors.ccs.neu.edu/CPAN/] 3 [httpupdate8.cpanel.net/CPAN/]

(I had to remove the leading http and ftp from the links to get past perlmonks' spam filter.)

Version numbers on many modules (including CPAN) are different between the two installs, even though both have the same urllist. Where are they getting their info on CPAN packages, if it isn't from the urllist?

UPDATE: Fixed by

cpan> reload index

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1118294]
Approved by AppleFritter
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-16 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found