X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 252BF3858282 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1700067928; bh=RSa8wyQXciQ9VW5gHEDWKeisy8gNfAC/MTWIccasAvQ=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=t0/Nn2hghjWqzA+aoK1OFXvzbnoWtOglYIh4PwcGE1YxZkkpKFCR9k7HWh3LDrrDH apsnnbTf5JDdcVLkmdkYNbjzu28HdImKUWCjFahgeiLakDlgtbd/Eg0DcoFG9XxulD dEf3XupMoDz0AWOOeVjEUHMOGRgUf081Ljvl2OGA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC7183858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DC7183858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700067907; cv=none; b=ghoSAkO5oEzk8KjNsfgcupV2d2cTS00oFpV1NZyriVdvm01gJ27rQDMhhdBEDMe/XONkUL67Jc4ZFDHsXDtDmkQANCRKZigbcRcQTn5Uw+C0+RjO8fQhnB9eyu5wVj9Ilvm5odnybl0WsarAOvPWN4aas4378QJE+7WffcAFsNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700067907; c=relaxed/simple; bh=+yGzSOCppVZcgRGH8paAKstJSGZrGpWqP1upvrA3TGw=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=tQjSwKQrtGO4qbu8iqR7HDgf2nVTXJOiYhLHlwEsIi7A8KLDri4+Fvq2DanENQcZSF3k8hoKHVzFEvXVMhRjyH2X+YomyKQ8KBfnBiO3ERb42xc3xFmMzSN+85pab9fp+4mg1NRmAm9H2X3xzAxA2IHkEa2vyVw6bkdYgV26F/w= ARC-Authentication-Results: i=1; server2.sourceware.org X-Yandex-Fwd: 1 Date: Wed, 15 Nov 2023 20:01:44 +0300 X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <1594716181.20231115200144@yandex.ru> To: "Mainz, Roland" , cygwin AT cygwin DOT com Subject: Re: setup-x86_64.exe (bug ?): Cannot write to /usr/bin/cygwin1.dll - cyserver squatting it... In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Greetings, Mainz, Roland! > Hi! > ---- > The Cygwin installer "setup-x86_64.exe" has problems updating cygwin1.dll when cygserver is running: You should stop ALL Cygwin processes before starting setup.exe. This is documented. > ---- snip ---- > Unable to extract /usr/bin/cygwin1.dll -- error writing file > ---- snip ---- > The fix is to do a $ sc stop cygserver # as Administrator, then > "setup-x86_64.exe" can write to that file, and after "setup" is done do a $ sc start cygserverr # as Admin again. > ... is it possible to modify "setup-x86_64.exe" to stop cygserver before > doing the installation process and re-start it after it ? There's no reason to do so, as there's no easy way to detect beforehand, if you actually need to do so. You could have cygserver running from one Cygwin setup but installing to the different one. And so on. -- With best regards, Andrey Repin Wednesday, November 15, 2023 19:59:00 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple