X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B3264B6.3010001@veritech.com>
Date: Wed, 23 Dec 2009 13:43:02 -0500
From: "Lee D. Rothstein" <l1ee057@veritech.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not   	found
References: <4B31DB5D.20501@veritech.com> <416096c60912230215m5ea84a07hc97fe225c8db3208@mail.gmail.com>
In-Reply-To: <416096c60912230215m5ea84a07hc97fe225c8db3208@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Andy Koppe wrote:
> 2009/12/23 Lee D. Rothstein:
>   
>> Just installed 1.7.1.  Bravo, again.
>>
>> Everything seems to be working okay, but every time I start up a Mintty/Bash
>> window I get the following
>> error message.
>>
>> -bash: regtool: command not found
>>
>> Shortcut is:
>>
>> C:\_0\bin\mintty.exe --icon=c:\_0\cygicons-hippo-vista-0.dll,10 -
>>
>> 'regtool' does not appear in my profile nor my bashrc.
>>
>> Huh?
>>     
>
> There's a regtool call in /etc/profile:
>
> PRINTER="`regtool -q get '\user\Software\Microsoft\Windows
> NT\CurrentVersion\Window\Device' | sed 's/,.*$//'`"
>
> 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?

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

