Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2010-01-07 Thread Steven Hartland
- Original Message - 
From: Dave Trollope 
I too have seen this behaviour on both my work and home systems. Whats 
interesting is I ran cygcheck -c on each when exhibiting this problem 
and it said OK for the cygwin package.


Just had this same behaviour so setup is still broken as is cygcheck unless
as Dave asks there is some other flag which may identify this problem?

   Regards
   Steve


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



Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-30 Thread Dave Trollope

Hi,

I too have seen this behaviour on both my work and home systems. Whats 
interesting is I ran cygcheck -c on each when exhibiting this problem 
and it said OK for the cygwin package.


Is there a check that needs to be added to cygcheck which reports this 
as a problem? Or perhaps this is not the type of problem cygcheck is 
designed to detect?


Cheers
Dave

On 12/28/2009 12:07 PM, Warren Young wrote:

On 12/23/2009 3:15 AM, Andy Koppe wrote:


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.


I saw the same symptom, but by a slightly different path.

On updating from 1.7.0.68 to 1.7.1 this morning, I ran into the 
files-in-use case because sometime last week, Xwin.exe died horribly 
and left a UI-less process running in the background.  When setup.exe 
complained, I investigated with Task Manager, found Xwin.exe still 
hanging around, killed it, and told setup.exe to move along.  It 
completed without complaint, but I still didn't end up with a regtool.


I didn't check for ps or mount, just retried setup with a forced 
Cygwin package reinstall, and that worked.


Point being, it isn't necessary to lie to setup.exe, telling it it's 
okay to try again.  It *was* okay in my case, and it still did the 
wrong thing.



It can be fixed by reinstalling the cygwin package again, this time
without any Cygwin processes running.


Confirmed.

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



--
 David Trollope
  dtroll...@29west.com
   (630) 836-2990x309
 AIM:dstrollope
  29West, Inc.


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



Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-28 Thread Warren Young

On 12/23/2009 3:15 AM, Andy Koppe wrote:


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.


I saw the same symptom, but by a slightly different path.

On updating from 1.7.0.68 to 1.7.1 this morning, I ran into the 
files-in-use case because sometime last week, Xwin.exe died horribly and 
left a UI-less process running in the background.  When setup.exe 
complained, I investigated with Task Manager, found Xwin.exe still 
hanging around, killed it, and told setup.exe to move along.  It 
completed without complaint, but I still didn't end up with a regtool.


I didn't check for ps or mount, just retried setup with a forced Cygwin 
package reinstall, and that worked.


Point being, it isn't necessary to lie to setup.exe, telling it it's 
okay to try again.  It *was* okay in my case, and it still did the wrong 
thing.



It can be fixed by reinstalling the cygwin package again, this time
without any Cygwin processes running.


Confirmed.

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



Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-24 Thread Thorsten Kampe
* 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



Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-23 Thread Andy Koppe
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.

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



Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-23 Thread Lee D. Rothstein

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