On Thu, 25 Sep 2003 [EMAIL PROTECTED] wrote: > Hello all > > I used to be able to use CPAN (only a week or so ago) but now it seems to > time out. I thought it might be a network / firewall type thing but I can > use ncftp ok. See below ... > > $ cpan Perl::Tokenizer > CPAN: Storable loaded ok > Going to read /home/wardmm/.cpan/Metadata > Database was generated on Tue, 23 Sep 2003 00:45:53 GMT > Going to read /home/wardmm/.cpan/sources/authors/01mailrc.txt.gz > CPAN: Compress::Zlib loaded ok > CPAN: LWP::UserAgent loaded ok > Fetching with LWP: > ftp://ftp.planetmirror.com/pub/perl/CPAN/modules/02packages.details.txt.gz > LWP failed with code[400] message[FTP return code 000] > Fetching with Net::FTP: > ftp://ftp.planetmirror.com/pub/perl/CPAN/modules/02packages.details.txt.gz > Couldn't fetch 02packages.details.txt.gz from ftp.planetmirror.com > Fetching with LWP: > ftp://cpan.nas.nasa.gov/pub/perl/CPAN/modules/02packages.details.txt.gz > LWP failed with code[400] message[FTP return code 000] > Fetching with Net::FTP: > ftp://cpan.nas.nasa.gov/pub/perl/CPAN/modules/02packages.details.txt.gz > Couldn't fetch 02packages.details.txt.gz from cpan.nas.nasa.gov > Fetching with LWP: > ftp://cpan.llarian.net/pub/CPAN/modules/02packages.details.txt.gz > > (and so on --- had to can it) > > (but i can get the file ok ... ?? ) > > $ ncftpget > ftp://ftp.planetmirror.com/pub/perl/CPAN/modules/02packages.details.txt.gz > Who are you? > You have a user id number of 4012, but no username associated with it.
I don't know if this is the source of your CPAN problems, but doesn't this look significant in itself? This shows that your /etc/passwd and /etc/group are not up to date. > 02packages.details.txt.gz: 237.34 kB 3.11 kB/s > > Does anyone have an idea what is going on here? Or what I could try? > I'm a long-term cygwin user but I don't really know what's going on > underneath. > > Thanks > ~ Wardy You can rebuild your /etc/passwd and /etc/group by running for f in passwd group; do mv /etc/$f{,-bak} && mk$f -lc > /etc/$f; done Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/