delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GT,TW_YG |
X-Spam-Check-By: | sourceware.org |
X-Received: | by 10.14.177.1 with SMTP id c1mr170683443eem.8.1357625392821; Mon, 07 Jan 2013 22:09:52 -0800 (PST) |
Message-ID: | <50EBB82F.9060007@gmail.com> |
Date: | Tue, 08 Jan 2013 07:09:51 +0100 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
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: | Re: Cygwin installer v2.774, lyx postinstall error |
References: | <50EB578E DOT 2040405 AT timcollins DOT com> |
In-Reply-To: | <50EB578E.2040405@timcollins.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 1/8/2013 12:17 AM, Tim Collins wrote: > 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"). > the package has no "/etc/postinstall/lyx.sh" directory $ cygcheck -c lynx Cygwin Package Information Package Version Status lynx 2.8.7-1 OK $ cygcheck -l lynx |grep etc /etc/postinstall/lynx.sh /etc/lynx.lss /etc/lynx.cfg /etc/defaults/etc/lynx-site.cfg /etc/preremove/lynx.sh > > Extracted from /var/log/setup.log.full: > > 2013/01/07 14:12:00 Starting cygwin install, version 2.774 > . > . > <snip> > . > . > 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>/<dir>\/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. try removing that directory and moving /etc/postinstall/lyx.sh/lyx.sh to /etc/postinstall/lyx.sh Regards Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |