X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 14 Jan 2010 11:01:20 +0100 Reply-To: "Christian Franke" To: cygwin AT cygwin DOT com Subject: Setup.exe 2.674 does not work properly if retry is used From: "Christian Franke" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <1NVMW0-06M35E0@fwd02.aul.t-online.de> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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