delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/14/05:32:06

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" <Christian DOT Franke AT t-online DOT de>
To: cygwin AT cygwin DOT com
Subject: Setup.exe 2.674 does not work properly if retry is used
From: "Christian Franke" <Christian DOT Franke AT t-online DOT de>
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019