delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/19/01:20:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B04E32C.6080506@cygwin.com>
Date: Thu, 19 Nov 2009 01:18:20 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7 setup on Win7 fails with "Unable to extract /etc/ -- the file is in use."
References: <209383 DOT 17697 DOT qm AT web38202 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <209383.17697.qm@web38202.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11/18/2009 11:32 PM, Alexander Quinn wrote:
> 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?

Beyond this - 
<http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all>, no.

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

Could be but it's not a common one.  I just installed 1.7 last night (on XP) 
without
this problem and this is the first report to the list of it.

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

Of the top of my head, the only things I can think of trying are:

   1. Use Process Explorer (or handle.exe from the same guys) to see what
     else has anything along the line of '/etc/setup/setup.rc' open, both 
before
     the install and at the time of the problem.

   2. Try making '/etc/setup' before the install.  Make sure you have access to
      this (i.e. verify you can make 'setup.rc').

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019