From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31208 invoked by alias); 29 May 2013 22:44:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31197 invoked by uid 89); 29 May 2013 22:43:59 -0000 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 Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 29 May 2013 22:43:58 +0000 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 556A8205A7 for ; Wed, 29 May 2013 18:43:56 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([unixlocal]) by compute1.internal (MEProxy); Wed, 29 May 2013 18:43:56 -0400 Received: from [158.147.136.174] (unknown [158.147.136.174]) by mail.messagingengine.com (Postfix) with ESMTPA id 138B0C80008; Wed, 29 May 2013 18:43:56 -0400 (EDT) Message-ID: <51A684AA.2060904@cwilson.fastmail.fm> Date: Wed, 29 May 2013 23:51:00 -0000 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 X-SW-Source: 2013-05/txt/msg00434.txt.bz2 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