delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/16/11:38:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Upgrading Cygwin - postinstall difficulties?
Date: Tue, 16 Sep 2003 08:37:34 -0700
Lines: 21
Message-ID: <bk7ans$mum$1@sea.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en,ru

Recently updating a Cygiwn 1.3.20 -> 1.5.3 I noticed something that 
concerns me. I think this problem is just a general problem and not sure 
what is "right" in this situation.

The postinstall scripts for 1.5.3 rely on executing commands that might 
have dependencies on the cygwin1.dll that has not been installed yet! If 
you are installing and cygwin1.dll is loaded then setup will not be able 
to put the new cygwin1.dll in place. Instead it puts it as 
cygwin1.dll.new and arranges for it to be put into place next reboot. 
However this does not stop the postinstall scripts from running. When a 
postinstall script runs it may execute say grep, but the new grep makes 
calls to a new or renamed function expecting to find it in the new 
cygwin1.dll. This fails and a dialog box is put up.

Now the situation is understandable. The question is: Did the 
postinstall script accomplish what it needed? After I reboot can I be 
assured that the "failed" postinstall script did enough of what it 
needed to do? Or should I re-execute (all) postinstall scripts?
===
Obligatory witty line: Mental Floss prevents Moral Decay.



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