Fresh Cygwin-64 instal reports post-install errors for bash

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Tue Apr 23 07:00:00 GMT 2013


Hello,

Just wanted to share that while installing Cygwin64 on a clean PC, setup threw me the following postinstall errors:

2013/04/22 21:38:33 running: C:\Cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/bash.sh"
ln: failed to create symbolic link `/dev/stdin': Read-only file system
ln: failed to create symbolic link `/dev/stdout': Read-only file system
ln: failed to create symbolic link `/dev/stderr': Read-only file system
ln: failed to create symbolic link `/dev/fd': Read-only file system
2013/04/22 21:38:33 abnormal exit: exit code=1

Re-running the following commands (taken from the postinstall script) from bash after having started
the actual Cygwin window, did not return any errors and did in fact create the missing symlinks:

/bin/test -h /dev/stdin  || ln -sf /proc/self/fd/0 /dev/stdin  || result=1
/bin/test -h /dev/stdout || ln -sf /proc/self/fd/1 /dev/stdout || result=1
/bin/test -h /dev/stderr || ln -sf /proc/self/fd/2 /dev/stderr || result=1
/bin/test -h /dev/fd     || ln -sf /proc/self/fd   /dev/fd     || result=1

Regards,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


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