X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A6FD7393C863 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-online.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=HBBroeker AT t-online DOT de Subject: Re: update with apt-cyg ? To: cygwin AT cygwin DOT com References: <20200906221104 DOT GC19595 AT tik DOT uni-stuttgart DOT de> <105e7934-f8a3-eb92-8fa0-dd22566c759b AT SystematicSw DOT ab DOT ca> <20200906230010 DOT GD19595 AT tik DOT uni-stuttgart DOT de> From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: Date: Mon, 7 Sep 2020 18:26:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200906230010.GD19595@tik.uni-stuttgart.de> Content-Language: de-DE X-ID: XjRnxmZvohM8YckGBEDdMd8ftG3TMWKV-9wlJdSvjzQIgSITVM-ddZsIbdpVTk+ZCt X-TOI-EXPURGATEID: 150726::1599496017-0000355B-01513AC3/0/0 CLEAN NORMAL X-TOI-MSGID: 4ea8d8e2-baed-461e-846b-753eae69280c X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Am 07.09.2020 um 01:00 schrieb Ulli Horlacher: > cygstart /setup-x86_64.exe --quiet-mode That approach is essentially guaranteed to fail you in frustrating ways, for two reasons: 1) (Minor) You do not want to have setup itself, much less its work and data directory, inside the cygwin installation. I.e. that should never be '/' as the path for setup, as seen from any Cygwin shell. 2) (Major) Updating a running cygwin installation from the inside is highly unlikely to work correctly. Most importantly there is almost no chance for it to update the core DLLs, because those will already be in use by the shell you're running this from, so they cannot be changed. I.e. if you're in a situation where using "cygstart" makes any sense, that's a situation setup cannot update the DLLs. In a nutshell, and to paraphrase a certain Mr. Ford, you can have your special non-interactive Cygwin setup script in any language you like, as long as it's effectively a _Windows_ batch file. Updating the branch you're currently sitting on does not work any better than sawing it through. -- 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