www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/23/05:15:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B31DB5D.20501@veritech.com>
References: <4B31DB5D DOT 20501 AT veritech DOT com>
Date: Wed, 23 Dec 2009 10:15:31 +0000
Message-ID: <416096c60912230215m5ea84a07hc97fe225c8db3208@mail.gmail.com>
Subject: Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2009/12/23 Lee D. Rothstein:
> Just installed 1.7.1. =C2=A0Bravo, again.
>
> Everything seems to be working okay, but every time I start up a Mintty/B=
ash
> window I get the following
> error message.
>
> -bash: regtool: command not found
>
> Shortcut is:
>
> C:\_0\bin\mintty.exe --icon=3Dc:\_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=3D"`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.

Andy

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