This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Setup.exe 2.674 does not work properly if retry is used


Current setup.exe does not work properly if retry is used. Steps to
reproduce:

1. Run some Cygwin shell to keep cygwin1.dll locked.

2. Run setup.exe 2.674.

3. Select "Reinstall cygwin" and start installation.

4. Wait for message box "Unable to extract /usr/bin/cygwin1.dll -- the
file is in use".

5. Stop the shell and select "Retry".

After installation most files of package cygwin are missing and a bogus
file named MZ\220 (first 3 bytes from EXE Header) is in cygwin root:

$ zcat /etc/setup/cygwin.lst.gz | cat -A
etc/$
etc/defaults/$
etc/defaults/etc/$
etc/defaults/etc/cygserver.conf$
usr/$
usr/bin/$
usr/bin/cygcheck.exe$
usr/bin/cyglsa-config$
usr/bin/cyglsa.dll$
usr/bin/cyglsa64.dll$
usr/bin/cygpath.exe$
usr/bin/cygserver-config$
usr/bin/cygwin-console-helper.exe$
usr/bin/cygwin1.dll$
MZM-^P$

$ ls -b -1 /
MZ\220
bin
boot
cygdrive
...

$ ls /bin/regtool.exe
ls: cannot access /bin/regtool.exe: No such file or directory

Another reinstall with cygwin1.dll not locked fixes this.

Christian




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]