delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/06/15:20:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-id: <4A524E3E.9040206@verizon.net>
Date: Mon, 06 Jul 2009 12:19:26 -0700
From: Jerry DeLisle <jvdelisle AT verizon DOT net>
User-Agent: Thunderbird 2.0.0.21 (X11/20090320)
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash initialization w/cygwin-1.7 on NT4
References: <4A517753 DOT 6000800 AT verizon DOT net> <4A517B99 DOT 9090303 AT gmail DOT com> <20090706043216 DOT GA7958 AT ednor DOT casa DOT cgf DOT cx> <20090706152114 DOT GA14932 AT ednor DOT casa DOT cgf DOT cx> <4A522DA6 DOT 2090200 AT verizon DOT net> <20090706171515 DOT GC20446 AT ednor DOT casa DOT cgf DOT cx> <4A523A9C DOT 1040308 AT verizon DOT net> <20090706181022 DOT GA20867 AT ednor DOT casa DOT cgf DOT cx>
In-reply-to: <20090706181022.GA20867@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Christopher Faylor wrote:
> On Mon, Jul 06, 2009 at 10:55:40AM -0700, Jerry DeLisle wrote:
>> Christopher Faylor wrote:
>> --- snip ---
>>>> I will try the manual process you suggested after I figure out how to get the 
>>>> snapshot and when it is available.
>> Bare in mind that I am using the broken environment to do this.
> 
> The fact that I could duplicate the problem means that I'm in the same
> state as you.
> 
>> I managed to extract the snapshot and replace the cygwin1.dll while not
>> running any cygwin apps.  Restarting a shell seems to function as
>> before, uninitialized.
>>
>> I then go to /etc/postinstall to find the scripts.  They are all
>> suffixed with .done.  Are these the scripts I should attempt to run?
> 
> Yes.
> 
> You need to do something like:
> 
> c:
> cd \cygwin\etc
> for %f in (*.done) do sh ./%f
> 
OK, I have it fixed as follows:

1. Do clean install of cygwin-1.7 selecting bash one revision back.

2. Replace cygwin1.dll with the snapshot of today.

3. Start cygwin shell from desktop icon.

4. cd /etc/postinstall

5. PATH=/bin

6. for filename in ./*.done; do /bin/sh $filename; done;

7. exit

8. restart cygwin shell from desktop icon, all appears well.

Thanks Christopher and Dave for your help.

Best regards,

Jerry

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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