This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Upgrade woes ("file in use")
On Tue, 10 Mar 2009, Nuzhna Pomoshch <yay@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@panix.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/