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