delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/21/12:22:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <93c7930d0801171433o2bc0618do4f6a5edfa2edd372 AT mail DOT gmail DOT com> <93c7930d0801210612v45a3f30eqb46343421423e93d AT mail DOT gmail DOT com> <93c7930d0801210816g3e6e6043v2c7ad3eeab883495 AT mail DOT gmail DOT com> <93c7930d0801210847w1c98c207m871e1c0b22a02cce AT mail DOT gmail DOT com> <93c7930d0801210906q7a093a78ifdc852e489b5246a AT mail DOT gmail DOT com>
Subject: RE: setup.exe 2.573.2.2 is crashing in Windows XP
Date: Mon, 21 Jan 2008 17:21:16 -0000
Message-ID: <004001c85c52$07952e30$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <93c7930d0801210906q7a093a78ifdc852e489b5246a@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 21 January 2008 17:07, Jose Ramon Huerga wrote:

> Yes, the file bash.lst.gz seems to be wrong:
> 
> 
> $ ls -l /etc/setup/bash.lst.gz
> -rwxr-x---+ 1 jrhuerga Users 10 Jan 16 17:28 /etc/setup/bash.lst.gz
> 
> $ zcat /etc/setup/bash.lst.gz
> gzip: /etc/setup/bash.lst.gz: unexpected end of file

  Ok, let's try replacing it with a known good one; if setup.exe can't read
the list of files to remove during uninstall, it's no wonder it goes wrong!

  You'll need to find the correct saved bash installation tarball in your
local package storage directory, and then create a new list file.  For example
(YMMV):

/etc/setup $ bash --version
GNU bash, version 3.2.25(17)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

... I have version bash-3.2.25-17 installed (you can also find this out from
"cygcheck -c bash"), so I search for the package in my local packages dir
(which is C:\cygwin.src\):

/etc/setup $ find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'
/win/c/cygwin.src/http%3a%2f%2fftp.heanet.ie%2fpub%2fcygwin/release/bash/bash-
3.2.25-17.tar.bz2

  So, having found it, we need to generate a (plain, nonverbose, unadorned,
one filename per line) listing of its contents using "tar tjf" (plus the
previous find command in backticks to get the path correct), then pipe that
through gzip to create the new list file:

tar tjf `find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'` \
  | gzip > /etc/setup/bash.lst.gz

  Once you've done that, try zcat on it as before to verify that it's valid,
then try again with setup.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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