Your message dated Fri, 10 Jun 2016 18:18:35 +0000
with message-id <[email protected]>
and subject line Bug#826933: fixed in gnuplot 5.0.3+dfsg3-5
has caused the Debian Bug report #826933,
regarding gnuplot-x11: postinst runs update-alternatives twice
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
826933: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826933
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:

diff --git a/debian/gnuplot-nox.postinst b/debian/gnuplot-nox.postinst
index 2390277..1b987ac 100644
--- a/debian/gnuplot-nox.postinst
+++ b/debian/gnuplot-nox.postinst
@@ -10,10 +10,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" != "upgrade" ]
       /usr/share/man/man1/gnuplot-nox.1.gz \
       --slave /usr/share/gnuplot/gnuplot.gih gnuplot.gih \
       /usr/share/gnuplot/gnuplot-nox.gih
-
-    update-alternatives --install /usr/bin/gnuplot gnuplot /usr/bin/gnuplot-nox 80 \
-      --slave /usr/share/man/man1/gnuplot.1.gz gnuplot.1.gz \
-      /usr/share/man/man1/gnuplot-nox.1.gz
 fi
 
 #DEBHELPER#
diff --git a/debian/gnuplot-qt.postinst b/debian/gnuplot-qt.postinst
index 8af2493..ba68edb 100644
--- a/debian/gnuplot-qt.postinst
+++ b/debian/gnuplot-qt.postinst
@@ -10,10 +10,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" != "upgrade"];
       /usr/share/man/man1/gnuplot-qt.1.gz \
       --slave /usr/share/gnuplot/gnuplot.gih gnuplot.gih \
       /usr/share/gnuplot/gnuplot-qt.gih
-
-    update-alternatives --install /usr/bin/gnuplot gnuplot /usr/bin/gnuplot-qt 100 \
-      --slave /usr/share/man/man1/gnuplot.1.gz gnuplot.1.gz \
-      /usr/share/man/man1/gnuplot-qt.1.gz
 fi
 
 #DEBHELPER#
diff --git a/debian/gnuplot-x11.postinst b/debian/gnuplot-x11.postinst
index 6ced090..bedca5d 100644
--- a/debian/gnuplot-x11.postinst
+++ b/debian/gnuplot-x11.postinst
@@ -10,10 +10,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" != "upgrade"];
       /usr/share/man/man1/gnuplot-x11.1.gz \
       --slave /usr/share/gnuplot/gnuplot.gih gnuplot.gih \
       /usr/share/gnuplot/gnuplot-x11.gih
-
-    update-alternatives --install /usr/bin/gnuplot gnuplot /usr/bin/gnuplot-x11 90 \
-      --slave /usr/share/man/man1/gnuplot.1.gz gnuplot.1.gz \
-      /usr/share/man/man1/gnuplot-x11.1.gz
 fi
 
 #DEBHELPER#

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

--- End Message ---
--- Begin Message ---
Source: gnuplot
Source-Version: 5.0.3+dfsg3-5

We believe that the bug you reported is fixed in the latest version of
gnuplot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <[email protected]> (supplier of updated gnuplot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 10 Jun 2016 20:03:04 +0200
Source: gnuplot
Binary: gnuplot gnuplot-doc gnuplot-nox gnuplot-qt gnuplot-x11 gnuplot-data
Architecture: source
Version: 5.0.3+dfsg3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Anton Gladky <[email protected]>
Description:
 gnuplot    - Command-line driven interactive plotting program, version 5
 gnuplot-data - Command-line driven interactive plotting program. Data-files
 gnuplot-doc - Command-line driven interactive plotting program. Doc-package
 gnuplot-nox - Command-line driven interactive plotting program. No-X package
 gnuplot-qt - Command-line driven interactive plotting program. QT-package
 gnuplot-x11 - Command-line driven interactive plotting program. X-package
Closes: 826933
Changes:
 gnuplot (5.0.3+dfsg3-5) unstable; urgency=medium
 .
   [ Sven Joachim ]
   * [e3a51ae] Remove duplicated update-alternatives. (Closes: #826933)
Checksums-Sha1:
 5a588231c0d2e877df9a07b2aa42afafd964da0e 2706 gnuplot_5.0.3+dfsg3-5.dsc
 7d529eb40e740572c0f64752cab4daf557c7581d 28120 
gnuplot_5.0.3+dfsg3-5.debian.tar.xz
Checksums-Sha256:
 048502860bfbd3f8cdcfa4e9ecd10e3bb438d81ae85d5bfde5b241bfb5dabdab 2706 
gnuplot_5.0.3+dfsg3-5.dsc
 95ca1d6c4a961a5d50d7fac74095954b92a2b4cb1e5d34becd53e6f8062a47d4 28120 
gnuplot_5.0.3+dfsg3-5.debian.tar.xz
Files:
 742c252b20607c56e3a7d20919b306cf 2706 math optional gnuplot_5.0.3+dfsg3-5.dsc
 3cca6643284d733caf3202d60e7f986c 28120 math optional 
gnuplot_5.0.3+dfsg3-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXWwDpAAoJENPhc4PPp/8GICsQAIwM4snoVoyf4T6/FlDdDAKD
3jNE1QZVUG2X2ThgW5p1yaJzJwvdNYz9PESnT/pfG9Lf6bjgw87SEgYvit5Icdnz
riw5lmzU92otLekvdoLOwHtcpvzpVbho+syHYhnEdHJtQRx/R8qXYVpa4nCAWEmo
ZfIF0odhyGsNbEzIkXV1B4P7IHu68aU2TLvfpL8+IH6+7H/WK1LGBTf8LGa/GNeu
d8Wz04H+t9nDm2ZEGrq4rMtFXxvXhI8KvUtfjD0ODwvPIUAN1ATWrLqZyaeIDR8/
TrHExvZ4UanNUoQzI3P1uTae6H+Fs71KteVgtM+jBzE4AH8zQJPMrQHqJO5ikdt0
QV5QDokuzxOXExr+CFNGP/awxn8L8kR6LW3K/+I1TeAoagWbedE1rh8URvgDFHBA
Tmj6dXAC8iUQLh/8o3pev12BNJkukSJc9bMUDoTbwxjPgxBhWLgpI3UATL/8lkfR
yfsUDd5vaT0GGKusxd1I66OreqAIWVe0q6IP+4OXV5hOejrfkN/GeV2g0kw0vDt4
G6yH/y7TnJ/i68IAXMOKNRJnT7Syu+hAkuPViNIo0geBb9P99J+UeR3uqdkN6KYj
lQifJL5RtnX4zv7hK7KHU0XJHLyLA7s3EB45PasXspTKMxGlMcuO0qe211soGbYt
vBjic4A6w/fcR3iEB+qn
=zUys
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to