error message example : /usr/bin/iu-config: line 10: basename: command not found
When i do some uninstall/install inetutils-server package i will met error message: inetutils-server.sh exit code 1 i checked setup.log, found it is cause by a command : C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" so i write "set -x" in inetutils-server.sh. found command error msg "grep: command not found" -------this can be fixed by changing to full path like /usr/bin/basename. And "The permissions on the directory /var are not correct." -----------this is can be fixed by chmod permission.it is maybe cause by me. After those fixs, i can using C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" without error. Do not know how to contribute those source code. so raise it as a bug. hope someone can fix it. Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" + '[' '!' -f /etc/ftpusers ']' + '[' '!' -f /etc/ftpwelcome ']' + '[' '!' -f /etc/inetd.conf ']' + '[' '!' -f /etc/shells ']' + '[' '!' -f /etc/motd ']' + '[' '!' -f /etc/syslog.conf ']' + '[' '!' -f /etc/xinetd.d/ftpd ']' + '[' '!' -f /etc/xinetd.d/talk ']' + '[' '!' -f /etc/xinetd.d/telnet ']' + '[' '!' -f /etc/xinetd.d/uucp ']' + export IU_CONFIG_AUTO_ANSWER_NO=1 + IU_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/iu-config /usr/bin/iu-config: line 10: basename: command not found /usr/bin/iu-config: line 11: dirname: command not found /usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n ot found *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x.....[xt] *** ERROR: Problem with /var directory. Exiting. + export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/syslogd-config /usr/bin/syslogd-config: line 10: basename: command not found /usr/bin/syslogd-config: line 11: dirname: command not found /usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n ot found *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x.....[xt] *** ERROR: Problem with /var directory. Exiting. C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" + '[' '!' -f /etc/ftpusers ']' + '[' '!' -f /etc/ftpwelcome ']' + '[' '!' -f /etc/inetd.conf ']' + '[' '!' -f /etc/shells ']' + '[' '!' -f /etc/motd ']' + '[' '!' -f /etc/syslog.conf ']' + '[' '!' -f /etc/xinetd.d/ftpd ']' + '[' '!' -f /etc/xinetd.d/talk ']' + '[' '!' -f /etc/xinetd.d/telnet ']' + '[' '!' -f /etc/xinetd.d/uucp ']' + export IU_CONFIG_AUTO_ANSWER_NO=1 + IU_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/iu-config *** Warning: The permissions on the directory /etc/inetd.d are not correct. *** Warning: They must match the regexp drwxr.xr.x *** Info: Note that the inetd service and the xinetd service must not *** Info: both be active at the same time. The easiest way to ensure *** Info: this is to only install one or the other as a service. *** Query: Do you want to install the inetd super-server as a service? (yes/no) no Configuration finished. Have fun! + export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/syslogd-config /usr/bin/syslogd-config: line 10: basename: command not found /usr/bin/syslogd-config: line 11: dirname: command not found *** Warning: The following function requires administrator privileges! *** Query: Do you want to install syslogd as service? (yes/no) no Configuration finished. Have fun! -- 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