All scripts in /etc/postinstall have wrong filetype

Andy Koppe andy.koppe@gmail.com
Thu Aug 19 05:40:00 GMT 2010


On 19 August 2010 04:50, Phil Goetz wrote:
> After running Cygwin setup to update my Cygwin install, I got a popup error, so I looked in /var/log/setup.log.  (BTW, it would be very helpful for the popup to say "Check /var/log/setup.log" instead of "Check setup.log".)

Yep. That's already fixed in CVS.


> setup.log said, among other things:
>
> 2010/08/16 00:50:22 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/update-info-dir.sh
> 2010/08/16 00:50:30 can't run /etc/postinstall/update-info-dir.sh: No such file
> 2010/08/16 00:50:30 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/bash.sh
> 2010/08/16 00:50:30 can't run /etc/postinstall/bash.sh: No such file
> 2010/08/16 00:50:30 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/docbook-xml42.sh
> 2010/08/16 00:50:30 abnormal exit: exit code=1
>
> I looked in C:/cygwin/etc/postinstall.  Every single script there had ".done" appended to its name, eg
>
> bash.sh => bash.sh.done
>
> Hence none of the scripts could be run.

The .done is appended after a script has been run successfully. So the
question is why it tried to run scripts that had been run already.
Could you attach the log?

Andy

--
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



More information about the Cygwin mailing list