This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Postinstall Problem with 01bash.bat


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Christopher Tate on 12/16/2006 7:51 PM:
> 
> First, I should point out that having run setup.exe has now left
> cygwin in an unusable state; i can't launch a bash shell in order to
> run the commands specified.

Why not?  Your ls results show bash exists, so what are the symptoms that
prove it won't run?

> grep -C5 00bash /var/log/setup.log.full says it's uninstalling 3.2.9,
> then installing from bash-3.2.9-9.tar.bz2, then abnormal exit (exit
> code = 0) from postinstall\00bash.sh, *then* running 01bash.bat. (full
> output attached rather than quoted here).

Everything sounds correct so far.  What does 'cat
/etc/postinstall/01bash.bat*' show?

> 
> ls -l /bin/{ba,}sh.exe:
> -rwxr-x---+ 1 ctate mkgroup-l-d 484864 Dec 15 13:44 /bin/bash.exe
> -rwxr-x---+ 1 ctate mkgroup-l-d 451072 Dec 26  2005 /bin/sh.exe

Hmm, you really need to run mkpasswd/mkgroup to populate /etc/passwd and
/etc/groups properly.  Maybe that is part of your problem.

> cygcheck /bin/sh.exe:

Looks similar to what I saw.  But since it didn't hang when done manually,
I'm not sure it is the culprit.

> 
>> > Here's one scrap of additional information:  before running the cygwin
>> > setup.exe program, I checked the Task Manager and verified that no
>> > bash or sh processes were running.  Now, with the installer hung
>> > during 01bash.bat's execution, there are three running bash.exe
>> > processes, and one running sh.exe.

Hmm, I still need to figure out why sh.exe is running - it cannot be
upgraded while it is running.

> 2006/12/16 15:58:13 running: cmd.exe /c C:\cygwin\etc\postinstall\01bash.bat
> 2006/12/16 16:07:11 mbox note: Installation Complete

Hmm, no 01bash.bat output.  What does 'grep -C 5 00bash
/var/log/setup.log' state?

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

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhL4P84KuGfSFAYARAlPvAKDEMZLI/aHpvk5jDK2+FO1Ld+rncgCfZNrn
ZUE/nbMEFnlW3EeWsNr5FfE=
=/HQI
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]