This is the mail archive of the
mailing list for the Cygwin project.
RE: Installation corrupt...
- From: "Jon Seidel CMC" <jseidel at edpci dot net>
- To: <cygwin at cygwin dot com>
- Date: Mon, 5 Nov 2007 05:28:31 -0800
- Subject: RE: Installation corrupt...
- References: <05B265426F7B48C8BCF6738F3FC22D1E@EDP19>
- Reply-to: <jseidel at edpci dot net>
The problem is related to Vista security: by default, cygwin tries to put
the home directory in c:/Users/<username>, but this is a protected directory
(analogous to the old "Documents and Settings" directory in XP). Even as
that user, you can't get to much of that data!
To get around this problem, simply define the HOME variable BEFORE you
attempt to setup cygwin, pointing it to something less restricted (such as
c:/home/<username>) and everything works just fine.
From: Jon Seidel CMC [mailto:firstname.lastname@example.org]
Sent: Saturday, November 03, 2007 9:12 AM
Subject: Installation corrupt...
I just downloaded/installed the latest cygwin (1.5.24-2) using
cygwin.elite-systems.org, into a Vista Home Premium system (I know - ugh!)
I added a few packages to the default (such as vim, ImageMagick), but didn't
think it was much; I removed ash..?
Anyway, the installed completed without complaints in a reasonable amount of
time (none of the delay/hang problems reported on the list).
Almost nothing works when I start the Cygwin bash shell -- help, cd, pwd for
example work, but not much else:
bash-3.2$ ls *
bash: ls: command not found
[carol@EDP19 /etc]$man -k ls
bash: man: command not found
[carol@EDP19 /etc]$cygcheck -s -v -r > cygcheck.out
bash: cygcheck: command not found
>>> So I was unable to get the cygcheck output that is requested for this
[carol@EDP19 /etc]$echo $PATH
Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common
Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio
>>>The PATH option looks very strange... no /usr entries...
Viewing the setup log shows that all the post-install tasks ended with an
abnormal exit code:
exit code=126 or exit code=127
My login user is an Administrator
/Users/carol isn't visible in bash, but it's there when I use cmd.exe from
I tried running setup again, but this made no changes.... also re-ran it
from the local directory (as suggested in one of the posts) and no change...
Any pointers? I've got cygwin up and running on two WinXP machines and it
works just great!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html