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: Upgrade woes ("file in use")




----------------------------------------
> Date: Wed, 11 Mar 2009 12:00:56 +0000
> From: reliable sources
> To: cygwin@cygwin.com
> Subject: Re: Upgrade woes ("file in use")
>
> Nuzhna Pomoshch wrote:
>
>> "In-use files detected"
>>
>> "Unable to extract /etc/postinstall/bash.sh -- the file is
>> in use.
>
> This is thoroughly bizarre. Nothing should be opening that file except
> setup.exe itself (either when creating it or when invoking bash to run it
> after installation is complete). It sounds very much like BLODA interference:
> your on-access anti-virus scanner may have kept an open handle on it after
> setup.exe had closed its own. It's known to occasionally happen with some AVs.
>
>> So I rebooted the machine (definitely no Cygwin processes
>> running now), and the same thing happened.
>
> That just makes it seem even more likely that it's something else installed
> in your system that is interfering.
>

I used to have this problem with building c++ apps
and ld couldn't over write the exe. I used the
sysinternals handles to determine it
was TeaTimer...


>> Now, I no longer have bash (as well as many other cygwin
>> programs). Nothing looks unusual on the machine to me.
>>
>> Can someone tell me what happened (and just as important,
>> how to repair the Cygwin installation)?
>
> Simplest thing to do would be to re-run through setup.exe with everything
> set to 'reinstall', but you'll need to find out what's interfering and disable
> it first. If you need to do an emergency repair to get up and running, you
> should be able to get at least somewhere by copying 'sh.exe' to 'bash.exe' in
> the cygwin bin dir using DOS or windows explorer.
>
> cheers,
> DaveK
>
>
> --
> 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/
>

_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_022009

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