X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
Subject:  Re: cpan can't find its own tempfile
Date:  Thu, 14 Jan 2010 15:42:50 -0500
Lines: 36
Message-ID:  <4evuk51aq6adm27dv2uq1fji9ic0rb3u8d@4ax.com>
References:  <ldluk5pico2cqi47o0vc54npjptsuu9cdk@4ax.com> <4B4F75F9.9010300@x-ray.at>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> Andrew Schulman schrieb:
> > I'm trying to use cpan (perl 5.10.1-2) to install Spreadsheet::Read.
> > When I try, I get a whole bunch of errors like e.g.
> >
> > Warning: expected file
> > [/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012]
> > doesn't exist
> >
> > Error while trying to rename
> > '/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012' to
> > '/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz': No such file
> > or directoryLockfile removed.
> >
> > And indeed, the file 01mailrc.txt.gz.tmp6012 doesn't exist:
> >
> > $ ls -l /home/ASchulma/.cpan/sources/authors
> > total 5
> > -rw-r-----+ 1 ASchulma Domain Users 779 2010-01-14 12:28 01mailrc.txt.tmp6012
> > -rw-r-----+ 1 ASchulma Domain Users 388 2010-01-14 12:28 01mailrc.txt.tmp6012.gz
> >
> > It seems that cpan is trying to find 01mailrc.txt.gz.tmp6012, when
> > what it really wants is 01mailrc.txt.tmp6012.gz; or vice versa.
> >
> > cygcheck -srv output is attached.
> 
> This is a known problem when none of your CPAN download methods
> (LWP, curl, wget, ...) work or your proxy is wrong or your mirror 
> setting is wrong.

OK.  Any suggestions on how I can figure out which of those is the problem?
I'm not sure about LWP, but wget and curl both work from the command line,
without a proxy.  Wrong mirror?  How would I fix that?  Maybe it was set
wrong during the automatic initial setup-- how do I clear that?

Thanks,
Andrew.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

