Setup shows errors from gnuplot-base.dash and

Doug Henderson
Wed Jul 14 21:08:17 GMT 2021

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


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 Henderson, Calgary, Alberta, Canada - from

More information about the Cygwin mailing list