Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 25 Sep 2003 08:46:23 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Wardman_Michael AT emc DOT com cc: cygwin AT cygwin DOT com Subject: Re: Don't seem to be able to use CPAN after recent Cygwin updates (maybe) In-Reply-To: <382C684D2347FA4DADFC2D3EA70268F1010CF1ED@ausy1mx2.corp.emc.com> Message-ID: References: <382C684D2347FA4DADFC2D3EA70268F1010CF1ED AT ausy1mx2 DOT corp DOT emc DOT com> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 25 Sep 2003 Wardman_Michael AT emc DOT com 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/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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/