delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/04:21:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found
Date: Thu, 24 Dec 2009 10:20:21 +0100
Lines: 34
Message-ID: <hgvboq$t9$1@ger.gmane.org>
References: <4B31DB5D DOT 20501 AT veritech DOT com> <416096c60912230215m5ea84a07hc97fe225c8db3208 AT mail DOT gmail DOT com> <4B3264B6 DOT 3010001 AT veritech DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.9.14
X-IsSubscribed: yes
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

* Lee D. Rothstein (Wed, 23 Dec 2009 13:43:02 -0500)
> Andy Koppe wrote:
> > 2009/12/23 Lee D. Rothstein:
> > I can reproduce this as follows:
> >
> > - Leave a Cygwin session open.
> > - Run setup.exe
> > - Select reinstall for cygwin-1.7.1-1.
> > - Click next
> > - "in-use files detected" appears
> > - Click retry.
> >
> > Strangely, 'retry' is accepted even without closing all Cygwin
> > processes. But it doesn't seem to make a difference to the outcome
> > anyway: regtool and also mount and ps aren't installed.
> >
> > It can be fixed by reinstalling the cygwin package again, this time
> > without any Cygwin processes running.
> >
> >   
> Thanks, Andy, this fixed the sucker! And too, regtool did get installed.
> 
> Is this a setup bug?

Yes. The problem is even worse: it does not retry to update the "in-
use" files again even after the file is not in-use (including reboot).

Scenario: tried to update 1.7.0 installation. Shut down sshd and cron, 
forgot ssh-agent. Got "in-use" message saying either shut down the 
process or you have to reboot. Killed ssh-agent, tried again, setup went 
ahead. Cygwin was still on 1.7.0. Rebooted: no change. Reverted VM to 
snapshot, closed /all/ Cygwin process: no problem.

Thorsten


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