X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MISSING_HEADERS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Date: Tue, 10 Mar 2009 16:24:04 -0500 (CDT) From: Tim McDaniel cc: cygwin AT cygwin DOT com Subject: Re: Upgrade woes ("file in use") In-Reply-To: <417118.17356.qm@web111104.mail.gq1.yahoo.com> Message-ID: References: <417118 DOT 17356 DOT qm AT web111104 DOT mail DOT gq1 DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Tue, 10 Mar 2009, Nuzhna Pomoshch wrote: > During a recent upgrade of about a dozen packages, I saw > the Cygwin setup window progress normally ("deleting > package xyz..."), and then up popped a window that said: > > "In-use files detected" > > "Unable to extract /etc/postinstall/bash.sh -- the file is > in use. Please stop all Cygwin processes and select > 'Retry,' or select 'Continue' to go on anyway (you will > need to reboot)." > > I didn't have any Cygwin processes running There can be processes running that you can't see easily. I use Process Explorer, from , which now redirects to . Perhaps the default Task Manager works OK for this purpose. Anyway, on my current system, even if I have closed all Bash windows and Emacs windows and and and, it is still running ssh-agent.exe. Also, in XP Control Panel - Administrative Tools - Services, it shows services CYGWIN sshd CYGWIN syslog-ng When upgrading, I make a point of killing ssh-agent.exe via Process Explorer, and then stopping the two services via Control Panel. -- Tim McDaniel, tmcd AT panix DOT com -- 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/