public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe)
@ 2003-09-25  7:18 Wardman_Michael
  2003-09-25  7:30 ` Gerrit P. Haase
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wardman_Michael @ 2003-09-25  7:18 UTC (permalink / raw)
  To: cygwin

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.
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

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe)
  2003-09-25  7:18 Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe) Wardman_Michael
@ 2003-09-25  7:30 ` Gerrit P. Haase
  2003-09-25 12:52 ` Don't seem to be able to use CPAN after recent Cygwin updates (maybe) Igor Pechtchanski
  2003-09-25 16:53 ` David Christensen
  2 siblings, 0 replies; 4+ messages in thread
From: Gerrit P. Haase @ 2003-09-25  7:30 UTC (permalink / raw)
  To: Wardman_Michael; +Cc: cygwin

Hallo Michael,

you wrote:

> 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]
[...]

Looks like network problems.

> (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.
> 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.

You didn't told me which version of cygwin `uname -svr` and which
version of perl `perl -V` (capital V) you're using now.
Please *attach* also the output of cygcheck -svr to your reply.


Gerrit
-- 
=^..^=


--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Don't seem to be able to use CPAN after recent Cygwin updates (maybe)
  2003-09-25  7:18 Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe) Wardman_Michael
  2003-09-25  7:30 ` Gerrit P. Haase
@ 2003-09-25 12:52 ` Igor Pechtchanski
  2003-09-25 16:53 ` David Christensen
  2 siblings, 0 replies; 4+ messages in thread
From: Igor Pechtchanski @ 2003-09-25 12:52 UTC (permalink / raw)
  To: Wardman_Michael; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Don't seem to be able to use CPAN after recent Cygwin updates (maybe)
  2003-09-25  7:18 Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe) Wardman_Michael
  2003-09-25  7:30 ` Gerrit P. Haase
  2003-09-25 12:52 ` Don't seem to be able to use CPAN after recent Cygwin updates (maybe) Igor Pechtchanski
@ 2003-09-25 16:53 ` David Christensen
  2 siblings, 0 replies; 4+ messages in thread
From: David Christensen @ 2003-09-25 16:53 UTC (permalink / raw)
  To: cygwin

cygwin@cygwin.com:

Wardman_Michael wrote:
> 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 ...

Does your environment have FTP_PASSIVE set?

    dpchrist@w2k30g:~$ cat .bash_profile | grep FTP
    export FTP_PASSIVE=1


HTH,

David


--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-25 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25  7:18 Don't seem to be able to use CPAN after recent Cygwin updates (ma ybe) Wardman_Michael
2003-09-25  7:30 ` Gerrit P. Haase
2003-09-25 12:52 ` Don't seem to be able to use CPAN after recent Cygwin updates (maybe) Igor Pechtchanski
2003-09-25 16:53 ` David Christensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).