Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Wardman_Michael@emc.com
cc: cygwin@cygwin.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: <Pine.GSO.4.56.0309250837330.3193@slinky.cs.nyu.edu>
References: <382C684D2347FA4DADFC2D3EA70268F1010CF1ED@ausy1mx2.corp.emc.com>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 25 Sep 2003 Wardman_Michael@emc.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

