| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B577929.2010008@x-ray.at> |
| Date: | Wed, 20 Jan 2010 22:44:09 +0100 |
| From: | Reini Urban <rurban AT x-ray DOT at> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cpan can't find its own tempfile |
| References: | <ldluk5pico2cqi47o0vc54npjptsuu9cdk AT 4ax DOT com> <4B4F75F9 DOT 9010300 AT x-ray DOT at> <4evuk51aq6adm27dv2uq1fji9ic0rb3u8d AT 4ax DOT com> |
| In-Reply-To: | <4evuk51aq6adm27dv2uq1fji9ic0rb3u8d@4ax.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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:
>> 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?
Sorry, I was busy.
Can you send me my our /home/ASchulma/.cpan/CPAN/MyConfig.pm to me only,
so I can check which method is failing for you.
You can disable failing download methods with the key:
'dontload_hash' => { q[Net::FTP]=>q[1] },
I disabled Net::FTP for me.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |