delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/23/03:13:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 23 Jun 2005 03:12:45 -0400 (EDT)
From: Jason Pyeron <jpyeron AT pdinc DOT us>
To: cygwin AT cygwin DOT com
cc: RPM Package Manager <rpm-list AT redhat DOT com>
Subject: Re: setup alternatives using RPM
In-Reply-To: <42B98BA3.8BA2F700@dessent.net>
Message-ID: <Pine.LNX.4.62.0506230309420.9788@ns.pyerotechnics.com>
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0506221129150 DOT 9788 AT ns DOT pyerotechnics DOT com> <42B98BA3 DOT 8BA2F700 AT dessent DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

On Wed, 22 Jun 2005, Brian Dessent wrote:

> <snip> This means you
> won't be able to install/remove any of those packages with rpm because
> it's impossible to replace in-use files under Windows and rpm does not
> know how to do it the windows-way.


http://www.thescarms.com/vbasic/FilesInUse.asp

so the cygwin rpm needs to be patched to use MOVEFILE_DELAY_UNTIL_REBOOT.

The MoveFileEx function with the MOVEFILE_DELAY_UNTIL_REBOOT flag lets you 
move, replace, or delete files and directories currently being used.



-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (410) 808-6646 (c)             Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

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