Bug#826721: gnuplot-x11: update-alternatives: error: alternative link /usr/share/gnuplot/gnuplot.gih is already managed by gnuplot4

Sven Joachim svenjoac at gmx.de
Wed Jun 8 17:29:22 UTC 2016


Control: found -1 5.0.3+dfsg3-2

On 2016-06-08 19:14 +0200, Anton Gladky wrote:

> fixed 826721 5.0.3+dfsg3-2
> thanks

No, it's not fixed.  In 5.0.3+dfsg3-2 you added commands to remove the
old alternatives to the prerm script, but this does not help because of
two reasons:

1. The prerm script does not remove the alternatives on upgrades which
   is precisely the case where it's most important.

2. On upgrades the new prerm script is not even run, it would only be
   invoked if the old prerm script failed.


The prerm script is the wrong place to remove the old alternatives, you
need to do that in the preinst or postinst.

Cheers,
       Sven



More information about the debian-science-maintainers mailing list