delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/31/06:41:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D478C3861875
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1622457682;
bh=5HdI+L4J3BZHtJUe8o7WkZugy9RGoDHba9gaCxLNqg8=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=pTnLWYH5Y4T9ndPXuuEY7B9g0AdM7TiF1RQRQqiCfZSPvhvDhCzWnQtfLEx2gD2B1
rF1lTHohx+q5hNymqr1FzChdIhVQlj3UZLkSXK0WpRH6EaJltmYyQXWTwuZvwNN+yk
qhvjUk3L/LnobbAJJ3zCPyDDWthMJaRT6fMX/ABs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 677ED386182B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:in-reply-to:references
:message-id:mime-version:content-transfer-encoding;
bh=4bv3SS6gzJEnx7N1AYXNaS5G/dr6nKMqNAJogVuKTvY=;
b=K3a/T5ky5gjyoRRMyu6zYAh+aWaS8HbMqM2xBgdnY7/SGI96Mg5q0piMH41+4mNOF7
xfQnn4Xb4kYgcglSxsh26HeQ2aF1KdUEhWkA/eedHyVDtl0155Ps2O4e+wKAmTwRE3xf
fvgGknxSejza4VSaedhPuv8MtIA+q6slmRih7iEqfoBbgOepBIAxWwOmckvrltJ9gk8R
0S4usqeGohehztOrTbhrY4XhxxiI18mSsRgFKhAiQ93UzHzHe0rrXmvQukeDVvCzy87+
7dSnVqvBuZuKefNcraEki/h6YNvvUERBZUoCJusi1aT8uCkihJkR1xiC8tauI0OtI5Rf
iTMg==
X-Gm-Message-State: AOAM533QezImOElYd4lDv/RAFEj8h0QBklS3SeFFIcroWlkUUAt4OjwM
uLUQhjJEYr56QMs/Cw+9Pz9z/8UXS3A=
X-Google-Smtp-Source: ABdhPJwR/ULQ0n4EDmDvAHLlCAfHmEDxiHtPLMJKXYkTiOOOqyJEVk1iqcDRO83biyR5q/JgEBbNIA==
X-Received: by 2002:a17:902:ea0c:b029:f0:af3d:c5d6 with SMTP id
s12-20020a170902ea0cb02900f0af3dc5d6mr19612853plg.45.1622457677391;
Mon, 31 May 2021 03:41:17 -0700 (PDT)
Date: Mon, 31 May 2021 19:41:17 +0900
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: lua-5.3.6-2
In-Reply-To: <354617499.20210531122659@yandex.ru>
References: <508296605 DOT 20210531115401 AT yandex DOT ru>
<354617499 DOT 20210531122659 AT yandex DOT ru>
Message-Id: <20210531194115.2C19.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.75.04 [ja]
X-Antivirus: Avast (VPS 210531-2, 2021/05/31), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lemures Lemniscati <lemures DOT lemniscati AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mon, 31 May 2021 12:26:59 +0300, Andrey Repin via Cygwin
> Greetings, Andrey Repin via Cygwin!
> 
> > Trying to follow manually
> 
> > # /usr/sbin/alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 503 --verbose --test
> > reading /var/lib/alternatives/lua
> > auto
> > /usr/bin/lua
> 
> > /usr/bin/lua5.3
> > 503
> > would link /usr/bin/lua -> /etc/alternatives/lua
> > would link /etc/alternatives/lua -> /usr/bin/lua5.3
> 
> > It seems "alternatives" is trying to create links to nonexistent files.
> > Which is not possible under Windows.
> 
> > Manually creating source link let the thing go
> 
> > # ln -fsT /usr/bin/lua5.3 /etc/alternatives/lua
> > # /usr/sbin/alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 503 --verbose
> > reading /var/lib/alternatives/lua
> 
> Err, though I've included that in the reply, but it seems I was distracted at
> the moment.
> 
> CYGWIN=wincmdln winsymlinks:nativestrict glob:ignorecase
> 

Thank you, Andrey Repin.

I didn't know about an option 'winsymlinks' [1].

[1]: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html#cygwinenv-implemented-options


I think I've understood necessity to avoid making symlinks to
non-existent files.

I'll modify postinstall/preremove scripts.

Regards,

Lem


-- 
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

- Raw text -


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