Bug#826933: gnuplot-x11: postinst runs update-alternatives twice
Sven Joachim
svenjoac at gmx.de
Fri Jun 10 07:05:46 UTC 2016
Package: gnuplot-x11
Version: 5.0.3+dfsg3-4
Severity: normal
I'm seeing the following update-alternatives warnings when installing or
reinstalling gnuplot-x11:
,----
| Setting up gnuplot-x11 (5.0.3+dfsg3-4) ...
| update-alternatives: updating alternative /usr/bin/gnuplot-x11 because link group gnuplot has changed slave links
| update-alternatives: warning: forcing reinstallation of alternative /usr/bin/gnuplot-x11 because link group gnuplot is broken
`----
The reason is that the postinst registers the alternative twice, first
with the gnuplot.gih slave symlink and then without it. I suspect the
first call is the one you want and the second one is incorrect, here is
an untested patch to remove it:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnuplot.diff
Type: text/x-diff
Size: 1886 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160610/e07f835c/attachment.diff>
-------------- next part --------------
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 4.6.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnuplot-x11 depends on:
ii gnuplot-data 5.0.3+dfsg3-4
ii libc6 2.22-11
ii libcairo2 1.14.6-1+b1
ii libedit2 3.1-20150325-1+b1
ii libgcc1 1:6.1.1-6
ii libgd3 2.2.1-1
ii libglib2.0-0 2.48.1-1
ii liblua5.1-0 5.1.5-8
ii libpango-1.0-0 1.40.1-1
ii libpangocairo-1.0-0 1.40.1-1
ii libstdc++6 6.1.1-6
ii libwxbase3.0-0v5 3.0.2+dfsg-1.4
ii libwxgtk3.0-0v5 3.0.2+dfsg-1.4
ii libx11-6 2:1.6.3-1
gnuplot-x11 recommends no packages.
Versions of packages gnuplot-x11 suggests:
ii gnuplot-doc 5.0.3+dfsg3-4
-- no debconf information
More information about the debian-science-maintainers
mailing list