Re: SETUP: In-use files have been replaced

2005-10-23 Thread Yitzchak Scott-Thoennes
On Wed, Oct 19, 2005 at 08:15:14PM +0100, Chris Taylor wrote: Herb Martin wrote: Eric Blake wrote: Herb Martin wrote: So what is the method to teach Setup that the file has been updated. Have you tried simply uninstalling the Cygwin package? If you installed the new one into another

Re: SETUP: In-use files have been replaced

2005-10-23 Thread Chris Taylor
Yitzchak Scott-Thoennes wrote: On Wed, Oct 19, 2005 at 08:15:14PM +0100, Chris Taylor wrote: Herb Martin wrote: Eric Blake wrote: Herb Martin wrote: So what is the method to teach Setup that the file has been updated. Have you tried simply uninstalling the Cygwin package? If you

Re: SETUP: In-use files have been replaced

2005-10-23 Thread Yitzchak Scott-Thoennes
On Mon, Oct 24, 2005 at 12:34:30AM +0100, Chris Taylor wrote: Yitzchak Scott-Thoennes wrote: On Wed, Oct 19, 2005 at 08:15:14PM +0100, Chris Taylor wrote: If you reinstalled all of exim, you don't really need the cygwin version.. So you want to edit the /etc/setup/installed.db and give it an

Re: SETUP: In-use files have been replaced

2005-10-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Herb Martin on 10/18/2005 5:53 PM: The context of the discussion was in use files requiring a reboot to complete the update so (obviously) I mean: Would it be considered a bug if all CygWin services, shells, and apps are shutdown

RE: SETUP: In-use files have been replaced

2005-10-19 Thread Williams, Gerald S \(Jerry\)
Eric Blake wrote: I believe you are referring to the recent question about whether cygwin services must be stopped during a WINDOWS upgrade, My mistake. Thanks for the script. gsw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

RE: SETUP: In-use files have been replaced

2005-10-19 Thread Williams, Gerald S \(Jerry\)
Eric Blake wrote: Setup requires a reboot only when Windows reports that a file that was being replaced was in use at the time. Therefore, if setup requires a reboot, then you didn't properly shut down all cygwin services, shells, and apps. Probably true 99.9% of the time, although couldn't

Re: SETUP: In-use files have been replaced

2005-10-19 Thread Rolf Campbell
Herb Martin wrote: I didn't install Exim 4.54 into another location; someone else mentioned an alternate locationa and I (perhaps incorrectly) mentioned that I had downloaded and compiled it FROM another location. The make install was run normally and the specially compiled (make options) is in

Re: SETUP: In-use files have been replaced

2005-10-19 Thread Chris Taylor
Herb Martin wrote: Eric Blake wrote: Herb Martin wrote: So what is the method to teach Setup that the file has been updated. Have you tried simply uninstalling the Cygwin package? If you installed the new one into another location, you presumably don't need or want the other one. For

RE: SETUP: In-use files have been replaced

2005-10-19 Thread Herb Martin
Chris Taylor All I wish to do is make Setup aware of this if it is possible. For now, I must (carefully) ensure that setup doesn't overwrite my good version with the default. If you reinstalled all of exim, you don't really need the cygwin version.. So you want to edit the

Re: SETUP: In-use files have been replaced

2005-10-19 Thread Chris Taylor
Herb Martin wrote: Chris Taylor All I wish to do is make Setup aware of this if it is possible. For now, I must (carefully) ensure that setup doesn't overwrite my good version with the default. If you reinstalled all of exim, you don't really need the cygwin version.. So you want to edit

Re: SETUP: In-use files have been replaced

2005-10-18 Thread Eric Blake
Every time I update the cygwin package, I get a warning that in-use files have been replaced and that I should reboot. I assume this is caused by a Cygwin service, although at one point somebody on this list (I think it was Corinna) said that SETUP stops these services automatically. So I'm

Re: SETUP: In-use files have been replaced

2005-10-18 Thread Eric Blake
I use this handy little script on my machine to help me stop (and restart) all services: It would help if I didn't paste it wrong (I was using a nested case in my version, to special case one of my own services that is not a cygwin standard, and didn't completely strip the nested case before

RE: SETUP: In-use files have been replaced

2005-10-18 Thread Williams, Gerald S \(Jerry\)
Eric Blake wrote: Your situation isn't normal because you didn't stop all cygwin services. While the idea has been tossed around on this list that it would be nice if setup.exe could stop services for you, to date, it does not. Therefore, IT IS UP TO YOU to stop services beforehand.

RE: SETUP: In-use files have been replaced

2005-10-18 Thread Eric Blake
Your situation isn't normal because you didn't stop all cygwin services. While the idea has been tossed around on this list that it would be nice if setup.exe could stop services for you, to date, it does not. Therefore, IT IS UP TO YOU to stop services beforehand. Thanks. I

cygrunsrv --list Access is denied (Was: Re: SETUP: In-use files have been replaced)

2005-10-18 Thread Rolf Campbell
Eric Blake wrote: I use this handy little script on my machine to help me stop (and restart) all services: $ cat serv #!/bin/bash usage='serv: manage cygwin services during cygwin upgrades usage: serv {--help|--stop|--start}' case $# in 1) case $1 in --help|-h) echo $usage; exit 0 ;;

Re: cygrunsrv --list Access is denied (Was: Re: SETUP: In-use files have been replaced)

2005-10-18 Thread Brian Dessent
Rolf Campbell wrote: Every time I try to list services using cygrunsrv, I get an error: $ cygrunsrv --list cygrunsrv: Error enumerating services: OpenService: Win32 error 5: Access is denied. That means that there is some service that you do not have access to. When cygrunsrv goes to try

RE: SETUP: In-use files have been replaced

2005-10-18 Thread Herb Martin
Eric Blake wrote: Your situation isn't normal because you didn't stop all cygwin services. While the idea has been tossed around on this list that it would be nice if setup.exe could stop services for you, to date, it does not. Therefore, IT IS UP TO YOU to stop services

Re: SETUP: In-use files have been replaced

2005-10-18 Thread Brian Dessent
Herb Martin wrote: Wouldn't we also need to stop all Shells or any other CygWin process? Yes, of course. And: If there are not CygWin processes (services, shells, other apps) is it considered a bug if Setup cannot complete the update? What do you mean cannot complete the update? Setup

RE: SETUP: In-use files have been replaced

2005-10-18 Thread Herb Martin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent Sent: Tuesday, October 18, 2005 5:48 PM To: cygwin@cygwin.com Subject: Re: SETUP: In-use files have been replaced Herb Martin wrote: Wouldn't we also need to stop all Shells or any