X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=FePEvk0odguKWnDi6gl9ObgfECk0brtQMcgW+Te9N78 XaaRUfcljYPhmzoYUhrjcC7ZwPUy/dlJen94quBFcGLSQ0ps/FJHHASfw7DOyFDs hRTNRgt1EaxjEzsNojmsDr/Pgqs/dunB+zGjH26YmG7ySQ4BigYQd6CW9mMlGSJM = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Yw5g6VPsPptnvq/MrU63OFd+LtY=; b=YwAdCYNvzP0Wz1lvk V7CBGDubXkQZYsgURDUWFbca2OFP8YNAOT0T7SNPijYDilkXlLTxuUxmwcbuOBOe xE59xfe+XU5u5i3rCKUtVoOsFVinH54r9u/EDeqQmgSvcFnxD4liBZWg8NJNPcBc lW1wWihsrgX6fP4cWONrMtPp3c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MISSING_HEADERS,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,SPF_PASS,TW_YG,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Message-ID: <51A684AA.2060904@cwilson.fastmail.fm> Date: Wed, 29 May 2013 18:43:54 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 CC: The Cygwin Mailing List Subject: Attn: Yaakov [Was: Re: cygutils Postinstall Script Errors With Exit Code 128] References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 5/29/2013 11:47 AM, Reini Urban wrote: > I got the cygutils postinstall error also, caused by missing dependencies. > > $ cat /etc/postinstall/cygutils.sh > /usr/bin/update-desktop-database > /usr/bin/update-mime-database /usr/share/mime > > both scripts do not exist, and are no cygutils reqs. > please test against it. > like: > test -f /usr/bin/update-desktop-database && /usr/bin/update-desktop-database > test -f /usr/bin/update-mime-database && /usr/bin/update-mime-database > /usr/share/mime > Known issue, waiting for cygport fix. cygutils relies on cygport auto-generating the postinstall scripts which invoke those tools. Cygport does this because the install package contains the following two files: /usr/share/applications/cygstart.desktop /usr/share/mime/packages/cygutils.xml ...and it generates the postinstall script unconditionally (e.g. I can't turn it off) and the generated postinstall scripts themselves call the tools unconditionally. Cygport also automatically adds the packages which contain those tools to the requires: field of the setup.hint, so...under normal circumstances, everything should be fine. However, at user request I've manually removed the requires: line, because the addition of these two files to the cygutils package shouldn't have the effect of pulling *PERL* into the Base category. I assumed we'd live with the semi-brokenness for a few days, until... ...I'm waiting for Yaakov to say whether this should be "fixed" in cygport [1], or if I should override all the auto-generation stuff by manually creating an explicit postinstall script (with suitable tool existence checks) and setup.hint. [1] arguably, cygport is doing the right thing: (1) ensuring that the tools are called to install the two files, and (2) ensuring that the packages which contain those tools are listed in the requires: line. So, I'm not sure what the "correct" fix should be, and am waiting for Yaakov's input. See: http://cygwin.com/ml/cygwin/2013-05/msg00211.html -- Chuck -- 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