delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/25/20:17:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <421FCF35.8FB7F01D@dessent.net>
Date: Fri, 25 Feb 2005 17:21:57 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"
References: <0MKpV6-1D4XMu3JLa-0001jh AT mxeu1 DOT kundenserver DOT de> <421F1B6A DOT 10707 AT gtt-technologies DOT de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Stephan Petersen wrote:

> >>Please check the validity of the index file by comparing it to more
> >>than one CPAN mirror.
> >
> > Have you tried this?  E.g. configured CPAN to use another mirror and tried
> > again?
> 
> yes, it's the same for every CPAN mirror I've tried. I've deleted CPAN's
> config.pm and my .cpan directory several times now, it's the same after
> every reconfiguration.
> 
> Testing 02packages.details.txt.gz with gzip -t reports:
> gzip: 02packages.details.txt.gz: invalid compressed data--format violated
> 
> Same with 03modlist.data.gz.
> 
> I'm using cygwin on W2k with default text file type "DOS", in case
> that's relevant.

If you're using ftp mirrors try using a http mirror.  It could be that
some kind of gateway, proxy, or firewall sees ".txt" in the filename and
uses ascii mode for the ftp session, instead of binary.  As an
experiment, try getting both of the following links and see if one is
corrupt and the other not:

ftp://mirrors.kernel.org/pub/CPAN/modules/02packages.details.txt.gz
http://mirrors.kernel.org/pub/CPAN/modules/02packages.details.txt.gz

If there is a difference then switch to using a http mirror, or change
the ftp client that perl/cpan is using (e.g. Net::FTP, wget, curl, lftp,
etc.)

Brian

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019