X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0B3F398D05E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1626312123; bh=EhzKPivM/ubvQ6r17WbXom9TEhnDWpGHLM/8SNHXMDA=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UuHjD0ySMa7xgGeAP5nemIsjUAtD1r04UZSlFY80Z7ipShVsJNcXKu6RFYqvr9BKm ZpQ6ldWzdZDZVrfeL+rqsK3YdjrnOrE692s7THJfVPBcyZ33qMnQllQEuJadXPVokp 1Ky+iJEtcDl1mg22XtQ40dWiul/jRTna+KgjXmQ4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C75C3858020 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VqdzfoTab1IdsUIhjjnFSlSGAM2la2dathEWQqo9nmk=; b=spxn+HV2oDVjAld7FFIzzHiyBaslzEz+okrrytTQOdzUXd/McePYkN+kYbfo0GgQ+c X65jt7YhmWZy6Nw00B81ES545NUop303go074DzG50MJSxbN9X+w2toSFfXw4kdCeiku zr+p+wTLrDyRqSrOq1N6u5zJ0utE0yPs2s6SNKyVj8et6AipdUrj0VqfDAbPOxvQiN6h lYC9rLmy2KvhD5kcajeJwfdbL32Fk1ngGx/BERqa6Gps7xJ9UEo9amIwAk+zpuTJ8LsD ClvfytAOYfbc1TTKW9XmrP11rXHM6fdapYmt412YoocRvomz/AJ/wa5r9MalChlO1BgO Qdzw== X-Gm-Message-State: AOAM532jLDQ2JDE+O47MvqyYZFIuoUjJ1Qx4JnBlUzT+5JUjmAyf6XdH 1zTwwv+p8sIx1J8Tdk785SIfAFqM3+Y07o8P9jV/ZpJe/kE= X-Google-Smtp-Source: ABdhPJyo/voOzjqEObwvyaJA4+zGJrYOqaMow9iAflLdvgjYmlOFCowcg4K2naOy4yTFB9FLSEEbgFgRIDN+0bW9hm0= X-Received: by 2002:a0c:c350:: with SMTP id j16mr1082090qvi.51.1626312051515; Wed, 14 Jul 2021 18:20:51 -0700 (PDT) MIME-Version: 1.0 References: <87sg0g67o7 DOT fsf AT Rainer DOT invalid> In-Reply-To: Date: Wed, 14 Jul 2021 19:20:40 -0600 Message-ID: Subject: Re: Setup shows errors from gnuplot-base.dash and python38-devel.sh To: cygwin X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Doug Henderson via Cygwin Reply-To: Doug Henderson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Wed, 14 Jul 2021 at 16:33, Ken Brown via Cygwin wrote: > > On 7/14/2021 5:08 PM, Doug Henderson via Cygwin wrote: > > On Wed, 14 Jul 2021 at 13:03, Achim Gratz wrote: > >> > >> Doug Henderson via Cygwin writes: > >>> The first error message occurred when I installed all pending packages > >>> this morning. I hoped to heal the problem by reinstalling the > >>> installed gnuplot packages. Now I get both the messages. > >> > >> If you look in /var7Log/setup.log.full you should be able to see what > >> error messages, if any, were recorded. > >> > >> The gnuplot related script should just set up the current alternative > >> for "gnuplot" to use, but something on your system seems to prevent > >> that from happening. You can also run the script in sh (you must tell > >> the shell to source it) and should get the same error (most likely). > > > > When I do that in an elevated shell: > > > > $ cd /etc/postinstall/ > > > > $ cat gnuplot-base.dash > > /usr/sbin/alternatives --install /usr/bin/gnuplot gnuplot > > /usr/bin/gnuplot-base.exe 10 > > > > $ . gnuplot-base.dash > > failed to read link /usr/bin/gnuplot: No such file or directory > > failed to link /usr/bin/gnuplot -> /etc/alternatives/gnuplot: No such > > file or directory > > Something seems to be confusing 'alternatives'. Can you show a listing of > /etc/alternatives? $ cd /etc/alternatives/ $ ls -l total 2.0K lrwxrwxrwx 1 Admin None 35 Oct 3 2017 automake-doc -> /usr/share/info/automake1.9.info.gz lrwxrwxrwx 1 Admin None 19 Jun 16 17:48 lua -> /usr/bin/lua5.3.exe* lrwxrwxrwx 1 Admin None 31 Jun 16 17:48 lua.1.gz -> /usr/share/man/man1/lua5.3.1.gz lrwxrwxrwx 1 Admin None 20 Jun 16 17:48 luac -> /usr/bin/luac5.3.exe* lrwxrwxrwx 1 Admin None 32 Jun 16 17:48 luac.1.gz -> /usr/share/man/man1/luac5.3.1.gz lrwxrwxrwx 1 Admin None 15 Jun 5 08:46 pip3 -> /usr/bin/pip3.8* lrwxrwxrwx 1 Admin None 22 Jun 16 07:34 python -> /usr/bin/python3.8.exe* -rw-r--r-- 1 Admin None 163 Apr 4 2013 README $ ls -ld . drwxr-xr-x+ 1 Admin None 0 Jun 16 17:48 ./ $ lsacl /etc/alternatives [u::rwx,g::r-x,o::r-x/u::rwx,g::r-x,o::r-x] /etc/alternatives $ icacls /etc/alternatives/ drwxr-xr-x+ 1 Admin None 0 Jun 16 17:48 /etc/alternatives/ C:\cygwin64\etc\alternatives xxxx\Admin:(F) xxxx\None:(RX) Everyone:(RX) CREATOR OWNER:(OI)(CI)(IO)(F) CREATOR GROUP:(OI)(CI)(IO)(RX) Everyone:(OI)(CI)(IO)(RX) BTW: $ where icacls icacls is a function icacls () { local target; ls -hF --color=auto --color=none --indicator-style=none -dl $( cygpath -a "$1" ); target="$( cygpath -aw "$1" )"; $( cygpath -u 'C:\Windows\System32\icacls.exe' ) "$target" /Q | sed -e '/^Succ/d' } Hope this helps with the diagnosis. Doug -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- 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