From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by sourceware.org (Postfix) with ESMTPS id A6FD7393C863 for ; Mon, 7 Sep 2020 16:27:00 +0000 (GMT) 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@t-online.de Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de [172.20.27.147]) by mailout09.t-online.de (Postfix) with SMTP id 463FF42CC8C9 for ; Mon, 7 Sep 2020 18:26:59 +0200 (CEST) Received: from [192.168.178.26] (XjRnxmZvohM8YckGBEDdMd8ftG3TMWKV-9wlJdSvjzQIgSITVM-ddZsIbdpVTk+ZCt@[87.154.32.128]) by fwd01.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kFJyr-44zXm40; Mon, 7 Sep 2020 18:26:57 +0200 Subject: Re: update with apt-cyg ? To: cygwin@cygwin.com References: <20200906221104.GC19595@tik.uni-stuttgart.de> <105e7934-f8a3-eb92-8fa0-dd22566c759b@SystematicSw.ab.ca> <20200906230010.GD19595@tik.uni-stuttgart.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-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Mon, 07 Sep 2020 16:27:02 -0000 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.