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

Message-Id: <200502260103.j1Q13jal001698@delorie.com>
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
From: "David Christensen" <dpchrist AT holgerdanske DOT com>
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"
Date: Fri, 25 Feb 2005 17:03:33 -0800
MIME-Version: 1.0
In-Reply-To: <421F0A9C.7050308@gtt-technologies.de>
X-IsSubscribed: yes

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.

Hmmm...  I dunno.  I run Win XP Pro with Cygwin in DOS mode, and my CPAN seems
to work.  It also worked when I ran Win2k Pro.


I'd move the entire C:\cygwin tree aside, reinstall Cygwin base and the relevant
Perl packages, and give CPAN another try.  (Note that when I wipe and reinstall
Cygwin, I don't try to do anything about Cygwin Registry entries and it seems to
come out okay.)  If CPAN barfs again, then it's probably something other than
Cygwin.  If it works, then it probably was your old Cygwin installation and your
problem is solved.


David


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