cygwins setup hangs in installation

Eric Blake
Mon Oct 10 12:22:00 GMT 2005

Hash: SHA1

According to Norbert Harendt on 10/10/2005 2:33 AM:
> I downloaded the updated packages for install from Internet (with locally 
> keeping the files) using cygwins setup.exe under W2K prof. 
> All is running fine, packages are downloaded as they should, installation 
> takes place, untill the notice of a pre- or postinstall appears in the 
> setup window. Then the setup seems to hang, nothing happens. 
> Since i wanted to stop the installation i found the process sh.exe in 
> Windows Taskmanager showing no activity. After killing sh.exe the setup 
> continues. But every time a postinstall procedure is shown, the taskmanager
> shows sh.exe with no activity (CPU-load =0). Waiting for the process to 
> finish doesn't help, so i killed every sh.exe.

The point of postinstall scripts is that sh.exe runs something else.  sh
will show up as no activity, because it is waiting on the child process,
which IS doing something.  If you abort postinstall scripts, then your
installation WILL be broken.  You can check /etc/postinstall/, and see
what scripts have not yet run (suffix of .sh instead of .sh.done).  You
probably also want to rerun setup.exe, and let the postinstall scripts
have a chance to run for a while longer before claiming they have hung.

Your bigger problem is that you have a third-party conflict.  Only one
version of cygwin1.dll is found on your path (good), and it looks like
q:\\cygwin\bin is your cygwin version which is masking c:\bin.
However, your setup will have problems if the wrong version of these
programs is being invoked.

> Found: Q:\\cygwin\bin\awk.exe
> Found: Q:\\cygwin\bin\bash.exe
> Found: c:\bin\bash.exe
> Warning: Q:\\cygwin\bin\bash.exe hides c:\bin\bash.exe
> Found: \bin\bash.exe
> Warning: Q:\\cygwin\bin\bash.exe hides \bin\bash.exe
> Found: Q:\\cygwin\bin\cat.exe
> Found: c:\bin\cat.exe
> Warning: Q:\\cygwin\bin\cat.exe hides c:\bin\cat.exe
> Found: c:\Programme\VisiQuest\bin\win32vs7\cat.exe
> Warning: Q:\\cygwin\bin\cat.exe hides
> c:\Programme\VisiQuest\bin\win32vs7\cat.exe
> Found: \bin\cat.exe
> Warning: Q:\\cygwin\bin\cat.exe hides \bin\cat.exe
> Found: Q:\\cygwin\bin\cp.exe
> Found: c:\bin\cp.exe
> Warning: Q:\\cygwin\bin\cp.exe hides c:\bin\cp.exe
> Found: \bin\cp.exe
> Warning: Q:\\cygwin\bin\cp.exe hides \bin\cp.exe
> Found: Q:\\cygwin\bin\cpp.exe
> Found: Q:\\cygwin\bin\find.exe
> Found: c:\bin\find.exe
> Warning: Q:\\cygwin\bin\find.exe hides c:\bin\find.exe
> Found: \bin\find.exe
> Warning: Q:\\cygwin\bin\find.exe hides \bin\find.exe
> Found: Q:\\cygwin\bin\gcc.exe
> Found: Q:\\cygwin\bin\gdb.exe
> Found: Q:\\cygwin\bin\grep.exe
> Found: c:\PROGRA~1\Borland\CBUILD~1\Bin\grep.exe
> Warning: Q:\\cygwin\bin\grep.exe hides
> c:\PROGRA~1\Borland\CBUILD~1\Bin\grep.exe
> Found: Q:\\cygwin\bin\ld.exe
> Found: Q:\\cygwin\bin\ls.exe
> Found: c:\bin\ls.exe
> Warning: Q:\\cygwin\bin\ls.exe hides c:\bin\ls.exe
> Found: \bin\ls.exe
> Warning: Q:\\cygwin\bin\ls.exe hides \bin\ls.exe
> Found: Q:\\cygwin\bin\make.exe
> Found: \bin\make.exe
> Warning: Q:\\cygwin\bin\make.exe hides \bin\make.exe
> Found: Q:\\cygwin\bin\mv.exe
> Found: Q:\\cygwin\bin\rm.exe
> Found: \bin\rm.exe
> Warning: Q:\\cygwin\bin\rm.exe hides \bin\rm.exe
> Found: Q:\\cygwin\bin\sed.exe
> Found: c:\bin\sed.exe
> Warning: Q:\\cygwin\bin\sed.exe hides c:\bin\sed.exe
> Found: \bin\sed.exe
> Warning: Q:\\cygwin\bin\sed.exe hides \bin\sed.exe
> Found: Q:\\cygwin\bin\sh.exe
> Found: c:\bin\sh.exe
> Warning: Q:\\cygwin\bin\sh.exe hides c:\bin\sh.exe
> Found: \bin\sh.exe
> Warning: Q:\\cygwin\bin\sh.exe hides \bin\sh.exe
> Found: Q:\\cygwin\bin\tar.exe
> Found: c:\Programme\VisiQuest\bin\win32vs7\tar.exe
> Warning: Q:\\cygwin\bin\tar.exe hides
> c:\Programme\VisiQuest\bin\win32vs7\tar.exe

- --
Life is short - so eat dessert first!

Eric Blake   
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Thunderbird -


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list