X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Andrew Schulman 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: <4B4F75F9 DOT 9010300 AT x-ray DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 > 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