public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [Q] About halting problems at installation of cygwin
@ 2006-07-25  7:49 김영재
  2006-07-25 12:54 ` Eric Blake
  0 siblings, 1 reply; 4+ messages in thread
From: 김영재 @ 2006-07-25  7:49 UTC (permalink / raw)
  To: cygwin

Hello.

 

Recently, I need to upgrade my cygwin version because my new QUALCOMM AMSS release should have higer cygwin DLL version.

I remove older version of cygwin manually(there isn't uninstall program), and download setup.exe from www.cygwin.com site.

I run the setup.exe and follow the installation precedure. After finishing installation of the whole package, the setup program was trying to launch post-install procedure. But the progress bar didn't advance after that point, which shows /etc/postinstall/00ash.sh for 8 hours.

So, I cannot help but cancelling the setup program and at that moment installation complete pop appeared. But Start-program-cygwin

menu was not created, and I cannot compile my AMSS source code because /bin/sh doesn't exist.

 

What are the problems, and How can I finish my installation procedure?

Plz, Help me.

 

 

 

Sincerely,

Youngjae Kim

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q] About halting problems at installation of cygwin
  2006-07-25  7:49 [Q] About halting problems at installation of cygwin 김영재
@ 2006-07-25 12:54 ` Eric Blake
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Blake @ 2006-07-25 12:54 UTC (permalink / raw)
  To: cygwin, toto

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=EUC-KR, Size: 2087 bytes --]

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

According to ±è¿µÀç on 7/25/2006 12:10 AM:
> I remove older version of cygwin manually(there isn't uninstall program), and download setup.exe from www.cygwin.com site.

Actually, there is in the FAQ:
http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

Although usually it is possible to upgrade an existing cygwin installation
rather than having to resort to uninstall/reinstall.

> 
> I run the setup.exe and follow the installation precedure. After finishing installation of the whole package, the setup program was trying to launch post-install procedure. But the progress bar didn't advance after that point, which shows /etc/postinstall/00ash.sh for 8 hours.

What does /var/log/setup.log.full say about that installation attempt?

> 
> So, I cannot help but cancelling the setup program and at that moment installation complete pop appeared. But Start-program-cygwin
> 
> menu was not created, and I cannot compile my AMSS source code because /bin/sh doesn't exist.

/bin/sh is missing because 00ash.sh didn't run to completion.  We need to
solve why that didn't happen, although running setup.exe again may help.

> 
> What are the problems, and How can I finish my installation procedure?
> 
> Plz, Help me.
> 

Help us help you.  Follow the directions at
http://cygwin.com/problems.html, and attach, as a text file, the output of
'cygcheck -svr' so we can see where things currently stand for you.

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

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

iD8DBQFExgxf84KuGfSFAYARAhCEAJ46qTpFSykrh53gS+pK+vre+vFN2ACfQmeu
PQbo9PGx1MbZBR7FYwKH5P4=
=+2hF
-----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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q] About halting problems at installation of cygwin
  2006-07-27 12:40 ` Eric Blake
@ 2006-07-27 13:59   ` Igor Peshansky
  0 siblings, 0 replies; 4+ messages in thread
From: Igor Peshansky @ 2006-07-27 13:59 UTC (permalink / raw)
  To: Eric Blake; +Cc: cygwin

On Thu, 27 Jul 2006, Eric Blake wrote:

> In your setup.log.full, you had lots of these messages:
> > 2006/07/25 17:12:47 io_stream_cygfile: fopen failed 2 No such file or directory
>
> My recollection is that this has been improved in a recent snapshot of
> setup.exe - who is in charge of releasing the next setup.exe version?

Indeed.

> > 2006/07/25 17:32:58 running: C:\Apps\cygwin\bin\bash.exe -c /etc/postinstall/aalib.sh
> > /usr/bin/bash: /etc/postinstall/aalib.sh: /bin/sh: bad interpreter: No such file or directory
> > 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c /etc/postinstall/apache.sh
> > /usr/bin/bash: /etc/postinstall/apache.sh: /bin/sh: bad interpreter: No such file or directory
> > 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c /etc/postinstall/apache2.sh
> > /usr/bin/bash: /etc/postinstall/apache2.sh: /bin/sh: bad interpreter: No such file or directory
> > 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c /etc/postinstall/00ash.sh
> > 2006/07/25 17:33:02 abnormal exit: exit code=0
>
> Hmm - when doing a global install of every single cygwin package (which
> usually isn't recommended, but is what you did),

Frankly, one reason it wasn't recommended was probably the fact that
postinstall scripts wouldn't run correctly on a full install, so you'd end
up with a broken one.  Read on.

> it looks like the setup.exe sort method of postinstall scripts is
> alphabetical by package name, not by postinstall name.  I wish we could
> get a setup.exe that sorted by dependency order instead.

Setup *does* sort in dependency order, but there was a bug in script
detection that caused setup to fail to associate the scripts with their
packages, so all scripts were run in the catch-all clause, which sorted
alphabetically.  This has also been improved in the recent setup
snapshots.  I wish we could get a setup.exe release...  Brian?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q] About halting problems at installation of cygwin
       [not found] <OEEKLGEMJOIGCCPNCJPIOEAKCCAA.toto@lge.com>
@ 2006-07-27 12:40 ` Eric Blake
  2006-07-27 13:59   ` Igor Peshansky
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Blake @ 2006-07-27 12:40 UTC (permalink / raw)
  To: 김영재; +Cc: cygwin, 정병국

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=EUC-KR, Size: 4823 bytes --]

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

Reformatted to avoid top-posting: http://cygwin.com/acronyms/#TOFU

> -----Original Message-----
> From: cygwin-owner@XXXXXXXX [mailto:cygwin-owner@XXXXXXX]On Behalf
                     ^^^^^^^^                      ^^^^^^^
Please avoid raw email addresses in your replies:
http://cygwin.com/acronymns#PCYMTNQREAIYR

>>> I run the setup.exe and follow the installation precedure. After
finishing installation of the whole package, the setup program was trying
to launch post-install procedure. But the progress bar didn't advance
after that point, which shows /etc/postinstall/00ash.sh for 8 hours.
>
> What does /var/log/setup.log.full say about that installation attempt?
>
>>> So, I cannot help but cancelling the setup program and at that moment
installation complete pop appeared. But Start-program-cygwin
>>>
>>> menu was not created, and I cannot compile my AMSS source code because
/bin/sh doesn't exist.
>
> /bin/sh is missing because 00ash.sh didn't run to completion.  We need to
> solve why that didn't happen, although running setup.exe again may help.
>
>>> What are the problems, and How can I finish my installation procedure?
>>>
>>> Plz, Help me.
>>>
>
> Help us help you.  Follow the directions at
> http://cygwin.com/problems.html, and attach, as a text file, the output of
> 'cygcheck -svr' so we can see where things currently stand for you.

Your attachments were binary, not text.

According to ±è¿µÀç on 7/25/2006 6:09 PM:
> Thank you for your kindness and response.
> 
> I tried another way to install cygwin after sending the mail.
> I had choosed ftp.kaist.ac.kr as a download server. But I switched the server from ftp.kaist.ac.kr to kernel.org.
> In this case, 00ash.sh procedure have passed, but same problem occured at coreutils.sh.
> I attatch /var/log/setup.log.full and cygcheck.out from cygchck -svr > cygcheck.out.
> I really want to install cygwin.

My apologies to the list for not being more explicit in suggesting that
only the relevant portions of setup.log.full (or at least a compressed
attachment, rather than plain text) be sent - NEVER drop a multi-megabyte
file on a mailing list without good cause.

In your cygcheck:
> Found: C:\Apps\Perl\bin\perl.exe
> Found: C:\Apps\cygwin\bin\perl.exe
> Warning: C:\Apps\Perl\bin\perl.exe hides C:\Apps\cygwin\bin\perl.exe

I doubt that is the problem, but it is worth investigating.

sh appeared to install correctly based on the cygcheck output.

In your setup.log.full, you had lots of these messages:
> 2006/07/25 17:12:47 io_stream_cygfile: fopen failed 2 No such file or
directory

My recollection is that this has been improved in a recent snapshot of
setup.exe - who is in charge of releasing the next setup.exe version?

> 2006/07/25 17:32:58 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/aalib.sh
> /usr/bin/bash: /etc/postinstall/aalib.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/apache.sh
> /usr/bin/bash: /etc/postinstall/apache.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/apache2.sh
> /usr/bin/bash: /etc/postinstall/apache2.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/00ash.sh
> 2006/07/25 17:33:02 abnormal exit: exit code=0

Hmm - when doing a global install of every single cygwin package (which
usually isn't recommended, but is what you did), it looks like the
setup.exe sort method of postinstall scripts is alphabetical by package
name, not by postinstall name.  I wish we could get a setup.exe that
sorted by dependency order instead.

> 2006/07/25 17:33:12 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/coreutils.sh
> 2006/07/26 08:48:30 mbox note: Installation Complete
> 2006/07/26 08:48:31 Ending cygwin install

And that must have been where you killed the process.  Phooey, it didn't
leave any bread crumbs as to why you thought it was hung.  Some of the
postinstalls do take a long time, but I don't recall seeing coreutils'
script ever hang.

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

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

iD8DBQFEyLQ584KuGfSFAYARAlJUAKCQXZYV+jUycvc9Ggk9kU+nUWW67ACfbEEr
S0EnMMIIKiq6pOA6ajbSKTY=
=kD1J
-----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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-27 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25  7:49 [Q] About halting problems at installation of cygwin 김영재
2006-07-25 12:54 ` Eric Blake
     [not found] <OEEKLGEMJOIGCCPNCJPIOEAKCCAA.toto@lge.com>
2006-07-27 12:40 ` Eric Blake
2006-07-27 13:59   ` Igor Peshansky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).