Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <421FCF35.8FB7F01D@dessent.net> Date: Fri, 25 Feb 2005 17:21:57 -0800 From: Brian Dessent 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/