This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: setup.exe 2.573.2.2 is crashing in Windows XP


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]