X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,TW_GT X-Spam-Check-By: sourceware.org Message-ID: <50EB578E.2040405@timcollins.com> Date: Mon, 07 Jan 2013 15:17:34 -0800 From: Tim Collins User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Cygwin installer v2.774, lyx postinstall error Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 During and upgrade, an error was receivedfrom postinstall lyx processing. The postinstall processing call is "/etc/postinstall/lyx.sh" - it should be "/etc/postinstall/lyx.sh/lyx.sh" (or better yet change the directory name of "lyx.sh" to "lyx"). Extracted from /var/log/setup.log.full: 2013/01/07 14:12:00 Starting cygwin install, version 2.774 . . . . warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated. 2013/01/07 14:21:18 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/gvim.sh" gtk-update-icon-cache: Cache file created successfully. 2013/01/07 14:21:25 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/vim-common.sh" 2013/01/07 14:21:25 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/lyx.sh" /etc/postinstall/lyx.sh: /etc/postinstall/lyx.sh: is a directory 2013/01/07 14:21:25 abnormal exit: exit code=126 2013/01/07 14:21:25 Changing gid to Administrators 2013/01/07 14:51:28 note: Installation Complete 2013/01/07 14:51:28 Ending cygwin install In directory /etc/postinstall/lyx.sh is a single file named lyx.sh The contents for /etc/postinstall/lyx.sh/lyx.sh : $ cat /etc/postinstall/lyx.sh/lyx.sh #!/bin/sh # Add /usr/share/lyx/fonts to /etc/fonts/local.conf # if it is not already there. if [ -f /etc/fonts/local.conf ]; then grep -q /usr/share/lyx/fonts /etc/fonts/local.conf if [ $? -ne 0 ]; then sed 's/^<\/fontconfig>/\/usr\/share\/lyx\/fonts<\/dir> <\/fontconfig>/' /etc/fonts/local.conf > /etc/fonts/local.conf.tmp mv -f /etc/fonts/local.conf.tmp /etc/fonts/local.conf fc-cache /usr/share/lyx/fonts fi fi The error has no affect if one does not have a "local.conf" font file. -- 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