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: Cygwin 1.7 setup on Win7 fails with "Unable to extract /etc/ -- the file is in use."


No takers?  Before coming here, I spent a good 6-8 hours working on it, read the FAQ (http://cygwin.com/1.7/faq/faq.html), searched with Google, checked the list archives, and read the guide to asking questions.  I know my question was long but the Cygwin web page said detailed questions are preferred.  Even if you don't know the answer to my question, could you at least tell me if there's a specific process for upgrading from 1.5 to 1.7?  I searched (http://www.google.com/search?q=cygwin+upgrade+1.5+to+1.7) but I couldn't find anything.  Since Win7 is not supported under 1.5 and I was having a problem with sshd+1.5+Win7, I'm not sure what else to do but ask here.  If 1.7 just isn't ready for even casual use, that would be a fair answer, too.  I realize it's a beta.

Thanks,
Alex





----- Original Message ----
From: Alexander Quinn <alexanderjquinn@yahoo.com>
To: cygwin@cygwin.com
Sent: Wed, November 18, 2009 11:32:24 PM
Subject: Cygwin 1.7 setup on Win7 fails with "Unable to extract /etc/ -- the file is in use."

When I try to install the latest Cygwin 1.7.0-64 beta on Windows 7 (x86 RTM Enterprise build 7600), it downloads correctly, but then I get the error "Unable to extract /etc/ -- the file is in use."   Previously, I was using Cygwin 1.5.25-14 on this machine.  That installed perfectly the first time and worked normally.

Before installing the 1.7 beta, I did the following:
- Removed my old sshd service.  (cygrunsrv --remove sshd)
- Renamed the old Cygwin directory to hide it.
- Restarted my machine.
- Verified sshd service does not appear in Services.
- Verified no Cygwin-related processes in task manager or Process Explorer.

At this "In-use files detected" error message box, if I click Retry, it keeps coming up.  If I click Continue, the progress window stays open and the progress bar flashes, but it makes no progress.  In setup.log, the last error before it ends says, "io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 22 Invalid argument".  I'll paste the whole file at the bottom of this message.

After setup failed using the defaults, I tried a few ideas I found searching this list and the web:
- Installed for this user only (as well as Administrator install).
- Ran setup as Administrator (as well as running normally).
- Checked Process Explorer for anything that might be using a Cygwin DLL.  Nothing.
- Installed to different target paths.  I tried c:\c\, c:\p\c\ and c:\Cygwin\.
- Created a few of the directories ahead of time (i.e. c:\c\etc\, c:\c\home\, and so on).
- Closed any other program that can't be closed.

- Downloaded and then installed from Local Directory (as well as installing from Internet).

Questions:
- Is there any other information I can provide that would help somebody find the problem?
- Is there anything else I should have done to completely uninstall 1.5?
- Since it installed easily with 1.5 but it doesn't work at all with 1.7, could this be new problem with the 1.7 installer?

I would greatly appreciate any assistance anyone is willing to provide.

Thanks,
Alex



-------------------------------------------------------------
setup.log

2009/11/18 22:22:27 Starting cygwin install, version 2.649
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/last-action) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/net-method) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 22 Invalid argument
2009/11/18 22:22:27 io_stream_cygfile: fopen(/etc/setup/chooser_window_settings) failed 22 Invalid argument
2009/11/18 22:22:27 Current Directory: S:\dl\cygwin
2009/11/18 22:22:27 User has backup/restore rights
2009/11/18 22:22:27 Changing gid to Administrators
2009/11/18 22:22:27 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2009/11/18 22:22:32 source: from cwd
2009/11/18 22:22:44 io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 22 Invalid argument
2009/11/18 22:22:44 Ending cygwin install
-------------------------------------------------------------


      

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


      

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


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