[lug] Reconfiguring CPAN ftp sites

Shannon Johnston nunar at nunar.com
Thu Oct 24 14:53:46 MDT 2002


I ran into the exact same thing earlier today.
I don't know how to get it to ask the questions again but I managed to
get it to work with:

perl -MCPAN -e shell

cpan> o conf urllist push ftp://archive.progeny.com/CPAN/

This added that server to the list. I found if you do a 'pull' instead
of 'push', that server became the only server in the list. 

I then updated CPAN with the "install Bundle::CPAN"

exit then enter CPAN and it configures again.

Shannon Johnston



On Thu, 2002-10-24 at 14:45, Andrew R. Diederich wrote:
> Folks,
> 
> I was setting up CPAN so I could install the Date::Calc module.  Since it
> was the first time I was running it on this system, it asked lots of
> questions about what ftp servers I wanted, etc.  I started with
> ftp.cs.colorado.edu, since it's close.  
> 
> Anyway, I can't ftp to ftp.cs.colorado.edu, and I don't know how to
> reconfigure the CPAN stuff.  It made a ~/.cpan directory, but when I
> deleted that CPAN still knew my settings.  Where is the file so I can
> manually configure CPAN again, or, better yet, what's the command so I can
> force it to ask me questions again?
> 
> I'm using January Krud, so it's perl 5.6.  I couldn't find what I needed
> at the CPAN FAQ, btw.
> 
> Thanks for the help.
> 
> -- 
> Andrew Diederich 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug




More information about the LUG mailing list