Strange problem upgrading to 1.7.1-1

Csaba Raduly rcsaba@gmail.com
Thu Jan 14 14:41:00 GMT 2010


Hi all,
I have been running 1.7.0-68 for a while. It was originally a fresh
install, in parallel to 1.5 (which is still running happily).
Today^WOn Monday, fresh back from holiday, I decided to upgrade (to 1.7.1-1).

After a few false starts with setup 2.661, I downloaded setup.exe
2.674 and started the upgrade.

The upgrade proceeded as normal, uninstalling about a dozen packages
including cygwin-1.7.0.68, until it got to the point of installing the
new cygwin1.7.1-1 package, when the "cygwin1.dll is in use" warning
popped up. Fair enough, the X server was still running. I stopped the
X server and clicked "Retry", whereupon the installation proceeded to
the end (setup.log fragment attached)

Then I opened a mintty console and the first warning sign appeared:
regtool: command not found

I thought: Nevermind, I can fix that later. Then I tried to compile a program.
error: sys/stat.h: No such file or directory

Huh? I looked at /usr/include and indeed, there was no sys/stat.h ...
no sys directory at all ... no stdio.h either!

This was serious WTF territory. I ran cygcheck -f /usr/include/stdio.h
which returned nothing. Got the right answer by running it on another
machine. Looked inside /etc/setup/cygwin.lst.gz (attached) and
realized that it's rather short and somewhat corrupted. In the Cygwin
root a file named "MZ\x90" appeared

I tried rerunning setup and reinstall cygwin-1.7.1, then uninstall and
install; all to no avail (always the same "cygwin1.dll in use",
followed by the corrupted install).

I ran the Sysinternals Process Explorer in parallel, in the hope of
catching a glimpse of whatever program may be holding cygwin1.dll; no
luck.

In the end I just untarred the cygwin-1.7.1-1.tar.bz2 in the root
directory, which created all the necessary files. Cygwin seems to
operate normally, but setup.lst.gz is still in that bogus state. I'm
worried about what will happen when the next cygwin-1.7.x package is
released.

Any ideas?
-- 
Life is complex, with real and imaginary parts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 58460 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100114/7e0d5f8b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin.lst.gz
Type: application/x-gzip
Size: 139 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100114/7e0d5f8b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.log.1.7.1
Type: application/octet-stream
Size: 19175 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100114/7e0d5f8b/attachment-0001.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list