delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/08/17:42:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B47B3FA.1010101@cygwin.com>
Date: Fri, 08 Jan 2010 17:38:50 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Update problems
References: <web-28750510 AT remus DOT csulb DOT edu> <4B46A4C3 DOT 2000803 AT cygwin DOT com> <4B47986F DOT 2020609 AT t-online DOT de>
In-Reply-To: <4B47986F.2020609@t-online.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 01/08/2010 03:41 PM, Christian Franke wrote:
> Larry Hall (Cygwin) wrote:
>> On 01/07/2010 09:39 PM, David Gast wrote:
>>> There are two problems with updating cygwin.
>>>
>>> 1. If you run setup.exe from bash, bash cannot be updated
>>> because the file is in use.
>>
>> Sure. This is the reason 'setup.exe' exists. It's a Windows
>> "feature" that keeps you from replacing a file that's in use.
>> 'setup.exe' was created to provide a native Windows program
>> to avoid the problem of something like 'setup.exe' needing to
>> update files that are in use by it. If it were possible to
>> replace files in use with the same ease as on Linux, say,
>> then 'setup.exe' would never be needed since things like
>> rpm, yum, and apt, to name a few, could be used directly
>> to install and update Cygwin.
>
> Cygwin 1.7 actually allows to replace an executable which is still in use:
> http://cygwin.com/ml/cygwin/2009-12/msg00423.html

But this is of no help here.  The fact that Cygwin has this feature internally
won't make 'setup.exe' use it.  If someone wants to offer a patch for 
'setup.exe'
to make it be able to be run from a Cygwin shell, I'm sure it will be 
thoughtfully
considered.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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