public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Setup 2.358 Hangs During Post-Install Script
@ 2003-08-22 11:28 Dan Hatton
  2003-09-09 10:31 ` Dan Hatton
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Hatton @ 2003-08-22 11:28 UTC (permalink / raw)
  To: cygwin

I've been trying to update my cygwin packages since yesterday
afternoon, and have found that setup.exe repeatably gets to 99%
complete, then hangs.  On one occasion, the hang lasted for over 18
hours.

Setup claims to be trying to run a script called
/etc/postinstall/XFree86-bin-icons.sh, which is a symlink to
/usr/X11R6/bin/XFree86-bin-icons.sh.

After cancelling setup, I can still run Cygwin and XFree86 (phew.)

Any ideas, please?

-- 
Ta
Dan Hatton

<http://www.bib.hatton.btinternet.co.uk/dan/>

--
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] 8+ messages in thread

* Re: Setup 2.358 Hangs During Post-Install Script
  2003-08-22 11:28 Setup 2.358 Hangs During Post-Install Script Dan Hatton
@ 2003-09-09 10:31 ` Dan Hatton
  2003-09-09 14:36   ` Igor Pechtchanski
  2003-09-09 17:03   ` Hannu E K Nevalainen (garbage mail)
  0 siblings, 2 replies; 8+ messages in thread
From: Dan Hatton @ 2003-09-09 10:31 UTC (permalink / raw)
  To: cygwin

Having originally found this problem with Setup 2.358 under Windows
2000, I've now reproduced it with Setup 2.364 under Windows XP, and on
a total of 3 independent machines.  And it's still happening as of
last night.

On Fri, 22 Aug 2003, Dan Hatton wrote:

> I've been trying to update my cygwin packages since yesterday
> afternoon, and have found that setup.exe repeatably gets to 99%
> complete, then hangs.  On one occasion, the hang lasted for over 18
> hours.
>
> Setup claims to be trying to run a script called
> /etc/postinstall/XFree86-bin-icons.sh, which is a symlink to
> /usr/X11R6/bin/XFree86-bin-icons.sh.
>
> After cancelling setup, I can still run Cygwin and XFree86 (phew.)
>
> Any ideas, please?

-- 
Thanks

Dan

--
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] 8+ messages in thread

* Re: Setup 2.358 Hangs During Post-Install Script
  2003-09-09 10:31 ` Dan Hatton
@ 2003-09-09 14:36   ` Igor Pechtchanski
  2003-09-30  2:19     ` Jerry James
  2003-09-09 17:03   ` Hannu E K Nevalainen (garbage mail)
  1 sibling, 1 reply; 8+ messages in thread
From: Igor Pechtchanski @ 2003-09-09 14:36 UTC (permalink / raw)
  To: Dan Hatton; +Cc: cygwin

Dan,

The XFree86-bin-icons package is buggy.  It's basically a postinstall
script that tries to create icons for the X programs that are installed on
your machine.  The problem is that it tries to create them in the Start
Menu for "All Users" without checking whether the current user can write
to it.  I'm not quite sure why it hangs for you, but you can try runnning
that script manually via "bash -x" and seeing where it hangs.  If you do
investigate, please post your findings to the cygwin-xfree list.  If you
don't want to bother, simply do not install the XFree86-bin-icons package
(all it does is provide the Start Menu icons -- not essential).
	Igor
P.S. Note to setup developers (myself included -- just want to get this
into the archives for now): even though postinstall scripts are not
interactive, their output *is* logged, so they should print something that
tracks their progress (maybe even be run with the -x flag, but that's
probably overkill).  We should put some words to that effect on the
setup.html page.

On Tue, 9 Sep 2003, Dan Hatton wrote:

> Having originally found this problem with Setup 2.358 under Windows
> 2000, I've now reproduced it with Setup 2.364 under Windows XP, and on
> a total of 3 independent machines.  And it's still happening as of
> last night.
>
> On Fri, 22 Aug 2003, Dan Hatton wrote:
>
> > I've been trying to update my cygwin packages since yesterday
> > afternoon, and have found that setup.exe repeatably gets to 99%
> > complete, then hangs.  On one occasion, the hang lasted for over 18
> > hours.
> >
> > Setup claims to be trying to run a script called
> > /etc/postinstall/XFree86-bin-icons.sh, which is a symlink to
> > /usr/X11R6/bin/XFree86-bin-icons.sh.
> >
> > After cancelling setup, I can still run Cygwin and XFree86 (phew.)
> >
> > Any ideas, please?

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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] 8+ messages in thread

* RE: Setup 2.358 Hangs During Post-Install Script
  2003-09-09 10:31 ` Dan Hatton
  2003-09-09 14:36   ` Igor Pechtchanski
@ 2003-09-09 17:03   ` Hannu E K Nevalainen (garbage mail)
  2003-09-09 17:09     ` Hannu E K Nevalainen (garbage mail)
  1 sibling, 1 reply; 8+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-09-09 17:03 UTC (permalink / raw)
  To: cygwin

> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Dan Hatton

> Having originally found this problem with Setup 2.358 under Windows
> 2000, I've now reproduced it with Setup 2.364 under Windows XP, and on
> a total of 3 independent machines.  And it's still happening as of
> last night.
>
> On Fri, 22 Aug 2003, Dan Hatton wrote:
>
> > I've been trying to update my cygwin packages since yesterday
> > afternoon, and have found that setup.exe repeatably gets to 99%
> > complete, then hangs.  On one occasion, the hang lasted for over 18
> > hours.
> >
> > Setup claims to be trying to run a script called
> > /etc/postinstall/XFree86-bin-icons.sh, which is a symlink to
> > /usr/X11R6/bin/XFree86-bin-icons.sh.
> >
> > After cancelling setup, I can still run Cygwin and XFree86 (phew.)
> >
> > Any ideas, please?

 http://cygwin.com/setup-snapshots/setup-2.415.tar.bz2 ?

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--

 This one has new features (compared to setup-2.340.2.5.exe) that I like;
it keeps _almost_ all settings as they were at the last run. i.e. less
clicking - real nice.

*minor* hitches remaining:
 - "Create Icon on Desktop" stays set *unconditionally*
    unlike "Add Icon To Startup menu"
 - Regeneration of MD5-sums every time "Install from internet" is
   not selected.
  (Can't these be saved in a time-stamped file?
   Then timestamps compared to the download directory timestamp?
   Resetting the file timestamp to the directory's after re-genration.)
 - No GUI resize (Yes I know, a major rewrite)

And NO, I *won't* subscribe to cygwin-apps at this time.

--END OF MESSAGE--


--
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] 8+ messages in thread

* RE: Setup 2.358 Hangs During Post-Install Script
  2003-09-09 17:03   ` Hannu E K Nevalainen (garbage mail)
@ 2003-09-09 17:09     ` Hannu E K Nevalainen (garbage mail)
  0 siblings, 0 replies; 8+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-09-09 17:09 UTC (permalink / raw)
  To: cygwin


 SIGH! As always, I should've READ the message PROPERLY
- *before* butting in. :-7

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE-- 


--
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] 8+ messages in thread

* Re: Setup 2.358 Hangs During Post-Install Script
  2003-09-09 14:36   ` Igor Pechtchanski
@ 2003-09-30  2:19     ` Jerry James
  0 siblings, 0 replies; 8+ messages in thread
From: Jerry James @ 2003-09-30  2:19 UTC (permalink / raw)
  To: cygwin, cygwin-xfree

Igor wrote:

> The XFree86-bin-icons package is buggy.  It's basically a postinstall
> script that tries to create icons for the X programs that are installed on
> your machine.  The problem is that it tries to create them in the Start
> Menu for "All Users" without checking whether the current user can write
> to it.  I'm not quite sure why it hangs for you, but you can try running
> that script manually via "bash -x" and seeing where it hangs.  If you do
> investigate, please post your findings to the cygwin-xfree list.

I had the same problem, but when I ran the script manually, it worked
without complaint.  I just now tried to upgrade to the latest released
packages, including the upgrade to XFree86-bin-icons 4.3.0-4 from
4.3.0-3.  The *uninstall* process hung.  When I ran the script manually,
it said:

rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86/Editors
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86/Games
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86/Information
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86/Tools
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86/Toys
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86
rmdir: `/cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86': Permission denied
rmdir: removing directory, /cygdrive/c/Documents and Settings/All Users/Start Menu/Programs/Cygwin-XFree86

And then it exited, so I'm guessing it was Setup (version 2.415) itself
that hung.  The bit about permission denied is nonsense, since I am
logged in as Administrator.  What is true is that that directory was not
empty, since many X packages did not need upgrading at that time.
However, I have no idea if that had anything to do with the hang.

This is on a Windows XP Pro box.

HTH.  Regards,
-- 
Jerry James
http://www.ittc.ku.edu/~james/

--
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] 8+ messages in thread

* RE: Setup 2.358 Hangs During Post-Install Script
@ 2003-09-28 17:30 Steve Fairbairn
  0 siblings, 0 replies; 8+ messages in thread
From: Steve Fairbairn @ 2003-09-28 17:30 UTC (permalink / raw)
  To: 'Scott'; +Cc: 'cygwin@cygwin.com'


> -----Original Message-----
> From: Scott 
> Sent: 28 September 2003 00:08
> To: steve fairbairn
> Subject: RE: Setup 2.358 Hangs During Post-Install Script
> 
> 
> Thanks for the great tip. I had the exact same problem, and your solution
seems to work perfectly. But being brand > new to Cygwin, what did I just
accomplish by killing the cygpath PID?  
> 
> Thanks,
> Scott Edwards

Hi Scott,

Please don't email anyone from the cygwin mailing list directly.  All
responses should go to the list.

I am assuming from your response that you are also new to the UNIX world,
but apologies if this assumption is incorrect.  The way we used the cygwin
kill command (kill -9 <process-id>) is just like the 'End Process' button in
Windows Task Manager when you are looking at the processes tab.  Kill can by
used for a lot more than just stopping the process execution, but when I was
trying to get around the issue I was being fairly heavy handed.  Try reading
man pages (man kill) to find out more.

As for our specific killing of cygpath...  There is some kind of issue with
the post install script you identified that means it never completes.  As I
identified and you have confirmed, the actual part of the script that isn't
completing properly is the cygpath program.  As I haven't examined the
script at all, I can't tell you what cygpath is being used for, why it
should fail to complete in the way it does or what effect our killing it had
on the general succes of that script.  All I can say is that I haven't found
any ill effects with my installation but have not used X11 at all yet.

Hope this helps,

Steve Fairbairn

-- 
-- LONG DISCLAIMER --

******************************************************* 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
******************************************************* 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
******************************************************* 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
******************************************************* 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
******************************************************* 



--
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] 8+ messages in thread

* RE: Setup 2.358 Hangs During Post-Install Script
@ 2003-09-12  9:55 Steve Fairbairn
  0 siblings, 0 replies; 8+ messages in thread
From: Steve Fairbairn @ 2003-09-12  9:55 UTC (permalink / raw)
  To: cygwin


> > Setup claims to be trying to run a script called
> > /etc/postinstall/XFree86-bin-icons.sh, which is a symlink to
> > /usr/X11R6/bin/XFree86-bin-icons.sh.
> >
> > After cancelling setup, I can still run Cygwin and XFree86 (phew.)
> >
> > Any ideas, please?

Hi all,

I've just installed cygwin on my new machine (WOO HOO Finally) - install
from local directory, package files were downloaded yesterday morning (UK),
install everything.  The post install scripts hung as above, but instead of
cancelling the install, I decided to see if I could just do enough to free
up the issue.

I went into the bin directory under the new installation, and ran bash.exe
with a double click.  No paths seemed to be set up, so to run ps I had to
use ./ps but here is what I saw...

bash-2.05b$ ./ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1260       1    1260       1260  con 11125 10:25:27 /usr/bin/sh
     4004    1260    1260       4004  con 11125 10:25:27 /usr/bin/sh
I    1876    4004    1260       1876  con 11125 10:25:27 /usr/bin/bash
     2172    1876    1260       2172  con 11125 10:25:27 /usr/bin/bash
      412    2172    1260        412  con 11125 10:25:27 /usr/bin/cygpath
     2732       1    2732       2732  con 11125 10:40:49 /usr/bin/bash
     3444    2732    3444       3356  con 11125 10:41:21 /usr/bin/ps

As I thought the cygpath looked a little out of place, I ran ps again to
ensure it was still there...

bash-2.05b$ ./ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1260       1    1260       1260  con 11125 10:25:27 /usr/bin/sh
     4004    1260    1260       4004  con 11125 10:25:27 /usr/bin/sh
I    1876    4004    1260       1876  con 11125 10:25:27 /usr/bin/bash
     2172    1876    1260       2172  con 11125 10:25:27 /usr/bin/bash
      412    2172    1260        412  con 11125 10:25:27 /usr/bin/cygpath
     2732       1    2732       2732  con 11125 10:40:49 /usr/bin/bash
     3496    2732    3496       3468  con 11125 10:41:23 /usr/bin/ps

And then killed it...

bash-2.05b$ kill -9 412

The setup continued and seems to have completed successfully.  Everything
seems to be working OK.

I thought I'd send in this report in case it's of use tracking down the
issue.

Cheers,

Steve Fairbairn
-- 
-- LONG DISCLAIMER --

******************************************************* 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
******************************************************* 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
******************************************************* 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
******************************************************* 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
******************************************************* 



--
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] 8+ messages in thread

end of thread, other threads:[~2003-09-30  2:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-22 11:28 Setup 2.358 Hangs During Post-Install Script Dan Hatton
2003-09-09 10:31 ` Dan Hatton
2003-09-09 14:36   ` Igor Pechtchanski
2003-09-30  2:19     ` Jerry James
2003-09-09 17:03   ` Hannu E K Nevalainen (garbage mail)
2003-09-09 17:09     ` Hannu E K Nevalainen (garbage mail)
2003-09-12  9:55 Steve Fairbairn
2003-09-28 17:30 Steve Fairbairn

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