On Wed, 14 Jul 2021 at 13:03, Achim Gratz <strom...@nexgo.de> 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

$

These are the same messages as I find in "/var/Log/setup.log.full".

$ ls -l /usr/bin/gnuplot*
-rwxr-xr-x 1 Admin None 1444371 Jun 12 03:40 /usr/bin/gnuplot-base.exe

I don't know enough about alternatives to diagnose this problem.

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

Reply via email to