delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/10/14:27:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 10 Jan 2010 14:27:29 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Update problems
Message-ID: <20100110192728.GC24855@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <web-28750510 AT remus DOT csulb DOT edu> <4B46A4C3 DOT 2000803 AT cygwin DOT com> <4B47986F DOT 2020609 AT t-online DOT de> <4B47B3FA DOT 1010101 AT cygwin DOT com> <4B47DBAE DOT 5000901 AT monai DOT ca> <20100109100941 DOT GL23992 AT calimero DOT vinschen DOT de> <4B4A1032 DOT 9030201 AT monai DOT ca>
MIME-Version: 1.0
In-Reply-To: <4B4A1032.9030201@monai.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Sun, Jan 10, 2010 at 09:36:50AM -0800, Steven Monai wrote:
>On 2010/01/09 2:09 AM, Corinna Vinschen wrote:
>>On Jan 8 17:28, Steven Monai wrote:
>>>Not to beat a dead hippo here, but if Cygwin allows in-use files to be
>>>replaced, then what is 'setup.exe' needed for?  (Aside from the initial
>>>bootstrap of Cygwin, of course.) Shouldn't it be possible to have
>>>proper package management---like dpkg, apt, rpm, yum, etc---from within
>>>Cygwin now?
>>
>>The most pressing problem is the replacement of the cygwin DLL itself.
>>It's like installing a new kernel in Linux.  However, in Linux you have
>>to reboot to use the new kernel, while Cygwin is just a DLL.  After the
>>rename and replace operation, existing processes will use the old DLL
>>while new processes will use the new DLL.  This is bound to break and
>>there's no clean way to do it, except to replace the Cygwin DLL while
>>no other Cygwin process is running.
>
>Could a Cygwin-specific package manager treat the cygwin DLL as a
>special case?  Instead of immediately replacing the cygwin DLL file (as
>it would normally do for any other DLL), the package manager could use
>the Windows "schedule-a-delete/rename-on-reboot" facility to arrange
>for the DLL's replacement at the next reboot.  Thus there would never
>be more than one version of the cygwin DLL loaded at any given time.

It's software.  Anything is possible.  If you're wondering if someone is
going to do this for you then the answer is: It's not likely.

Maybe you're not getting this but that lightbulb of inspiration that
went on over your head was first turned on back in the late-nineties.
This idea has been put forth many times since that time.  The fact that
it isn't implemented means that either 1) It's more difficult than you
anticipate or 2) No one thinks its a good idea.

cgf

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