Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

Phil Pollock philpollock@hotmail.com
Fri Dec 23 23:37:00 GMT 2005


I apologize for putting Cygwin into my convenient shareware folder with 
other stuff - but I don't organize my folder for political correctness.

Regarding setup-2.523.exe: 'Install from Local Directory' following 
'Download Without Installing' with error messages in log file:

I believe that the result will be the same as in 'INSTALLATION ATTEMPT 1', 
i.e., all virtual memory will be consumed and the installation will be 
terminated by XP.  Normally takes at least a couple of hours before XP 
complains.  After doing this a few times (using up a couple of long days),  
I just watch the Windows Task Manager's 'Processes' VM Size for setup.exe.  
Right now it has grown to 500,000K+ and setup is still 'installing' the same 
alternatives-1.3.20a-1 into /usr/bin/alternatives.exe with '0%' in the Setup 
title bar and no change in the Total or Disk progress bars.  I don't want to 
waste my time waiting for the VM to expire - Don't you think that something 
is wrong - considering all the error messages during the download phase - or 
is it normal to have hundreds of error messages in the log file?  Also my 
system grinds to a halt as time goes by and causes me some concern about the 
stability of Cygwin setup.

If I hit 'Cancel',  setup displays: Cannot open log file 
C:\Shareware\Cygwin\/var/log/setup.log for writing - I click OK.  Note the 
invalid path here ('...\/var...).

What makes you think it is working?  Is this kind of behavior is 'normal' 
for Cygwin setup?


TNX


>From: Igor Peshansky <pechtcha@cs.nyu.edu>
>Reply-To: cygwin@cygwin.com
>To: Phil Pollock <philpollock@hotmail.com>
>CC: cygwin@cygwin.com
>Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22  
>invalid argument.
>Date: Fri, 23 Dec 2005 17:05:41 -0500 (EST)
>
>Ugh, top-posting...  Reformatted.
>
>On Fri, 23 Dec 2005, Phil Pollock wrote:
>
> > > From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@XXXXXX.XXX>
> > > Reply-To: cygwin@XXXXXX.XXX
> > > To: Phil Pollock <philpollock@XXXXXXX.XXX>
> > > CC: cygwin@XXXXXX.XXX
>
><http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
> > > Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen 
>failed 22 invalid argument.
> > > Date: Fri, 23 Dec 2005 16:21:13 -0500
> > >
> > > Phil Pollock wrote:
> > > > I have attempted to install Cygwin DLL release v1.5.18-1 under my
> > > > Windows XP Home (SP2) administrative account over the last couple of
> > > > days - just doesn't work for me.
>
>What makes you think it doesn't work?  What are the problems you are
>having after installation completes?
>
> > > > Is there another way to download and install Cygwin? Any help would
> > > > be appreciated.  Here's what I attempted:
> > > >
> > > > =======================
> > > > INSTALLATION ATTEMPT 1: Standard Internet Install
> > > > [snip]
> > > > 5. Progress hung on setting up 'alternatives' for a couple of hours
> > > > until all Virtual Memory was consumed resulting in termination.
> > > >
> > > > =======================
> > > > INSTALLATION ATTEMPT 2: Download then Install
> > > >
> > > > 1. I emptied folders:
> > > >        C:\Shareware\Cygwin
> > > >        C:\Shareware\Cygwin\LocalPkg
> > > > 2. I ran setup.exe and selected:
> > > >      - 'Download Without Installing'
> > > >      - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> > > >      - Internet Connection: Direct Connection
> > > >      - Download Site: http://sourceware.mirrors.tds.net
> > > >      - Select Packages: (left defaults as-is) Clicked Next
> > > > 4. Cygwin Setup Progress shows activity creating and downloading 
>directory
> > > > tree under:
> > > >      
>C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE
> > > >
> > > >       the tree structure contains one *.tar.bz2 file per branch.
> > > > 5. Progress continued until a 'Download Complete' dialog appeared.
>
>Heh, this seems to have worked...
>
> > > > 6. Files 'setup.log' and 'setup.log.full' were also created this 
>time and
> > > > contained many error messages of the sort:
> > > >
> > > > -------
> > > > 2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
> > > > 2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid 
>argument <=== this line repeated
> > > > ... repeats of previous line
>
>This is harmless -- there was a bug in the older version that was fixed in
>the snapshots.
>
> > > > 2005/12/23 09:20:04 Current Directory: C:\Documents and 
>Settings\Owner\Desktop
> > > > 2005/12/23 09:20:04 Changing gid to Users
> > > > 2005/12/23 09:20:04 Could not open service McShield for query, start 
>and stop. McAfee may not be installed, or we don't have access.
>
>This is also harmless -- it's an informational message.
>
> > > > 2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid 
>argument
> > > > 2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid 
>argument
> > > > 2005/12/23 09:20:15 source: download
> > > > 2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid 
>argument
> > > > 2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
> > > > 2005/12/23 09:20:42 net: Direct
> > > > get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
> > > > getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
> > > > 2005/12/23 09:20:50 io_stream_cygfile: fopen failed 22 Invalid 
>argument <=== this line repeated
> > > > 2005/12/23 09:20:50 site:
> > > > http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
> > > > get_url_to_membuf
> > > > 
>http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2
> > > > ...
> > > > -------
>
>Ok, this is just the download step -- what happened during the install
>step?
>
> > > > INSTALLATION ATTEMPTs 3 - n: Download then Install (all possible 
>combinations)
> > > >
> > > > 1. I tried using paths: C:\Cygwin and C:\Cygwin_localpk:  SAME 
>RESULT AS ATTEMPT 2.
> > > > 2. I tried using different mirrors: SAME RESULT AS ATTEMPT 2.
> > > > 3. I tried turning off Norton Antivirus:  SAME RESULT AS ATTEMPT 2.
> > > > 4. I tried using different download protocols: SAME RESULT AS 
>ATTEMPT 2.
>
>Meaning the io_stream_cygfile errors in setup.log?
>
> > > > INSTALLATION ATTEMPT n+1: Any ideas?
> > >
> > > Try a snapshot? <http://cygwin.com/setup/>
> >
> > Regarding /setup/snapshots:
> > [snip]
> > =======================
> > INSTALLATION ATTEMPT n+2: Download then Install with setup-2.523.exe
> >
> > 1. I emptied folders:
> >       C:\Shareware\Cygwin
> >       C:\Shareware\Cygwin\LocalPkg
> > 2. I ran setup.exe and selected:
> >     - 'Download Without Installing'
> >     - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> >     - Internet Connection: Direct Connection
> > - Download Site: http://sourceware.mirrors.tds.net
> >     - Select Packages: (left defaults as-is) Clicked Next
> > SAME RESULTS AS INSTALLATION ATTEMPT 2.
> >
> > Any more combinations or permutations that might work?
>
>Umm, not quite the same results -- this setup version should put more
>detailed error messages for io_stream_cygfile into the logs.  Does it?
>
>Does "same results" mean that you got the "Download complete" message?
>If so, did you actually try installing afterwards?
>	Igor
>P.S. FYI, Cygwin is not shareware -- it is free software... :-)
>--
>				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/
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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



More information about the Cygwin mailing list