cygwin 1.5.22 - cpan core dumping on initial
Mon Jan 22 06:45:00 GMT 2007

> jake writes:
>> $ cpan
>> There seems to be running another CPAN process (pid 2064).  Contacting...
>> Other job not responding. Shall I overwrite the lockfile? (Y/N) [y]
> ...
>> Fetching with Net::FTP:
>> Segmentation fault (core dumped)
> I have occasionally seen a corrupt local cpan database cause this kind of
> error,
> and it looks like you had a cpan process not shut down cleanly earlier.  Try
> blowing away .cpan/Metadata, or even everything under .cpan.  Also, avoid
> sharing
> your .cpan directory among multiple versions of perl (e.g. ActiveState and
> cygwin, or local builds of perl and the stock cygwin perl.)

The problem seemed to have been a combination of:
 - spaces in pathnames in /usr/lib/perl5/5.8/CPAN/
 - not having the cygwin ftp, ncftp and ncftpget installed
 - the windows ftp program not working under cygwin
 - wget's failure to work with ssh-tunneled proxys

My solution was to re-install perl, inetutils, then hand-edit above
to use /usr/bin/ftp etc.

This is just for the record.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list