delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/10/16:24:22

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 <tmcd AT panix DOT com>
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: <Pine.NEB.4.64.0903101615580.14491@panix1.panix.com>
References: <417118 DOT 17356 DOT qm AT web111104 DOT mail DOT gq1 DOT yahoo DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
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 Tue, 10 Mar 2009, Nuzhna Pomoshch <yay AT I remembered!>
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 <http://www.sysinternals.com/>, which now
redirects to
<http://technet.microsoft.com/en-us/sysinternals/default.aspx>.
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/

- Raw text -


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