Bug#671459: gnuplot-nox: unclean remove

Sven Joachim svenjoac at gmx.de
Fri May 4 17:21:54 UTC 2012


severity 671459 serious
reassign 671459 gnuplot
found 671459 4.6.0-2
retitle 671459 /usr/share/gnuplot is a symlink to gnuplot-nox on upgrades
thanks

On 2012-05-04 10:51 +0200, Christoph Anton Mitterer wrote:

> Package: gnuplot-nox
> Version: 4.6.0-6
> Severity: important
>
>
> Hi.
>
> On removal gnuplut-nox leaves behind stale files:
>
> Purging configuration files for gnuplot-nox ...
> dpkg: warning: while removing gnuplot-nox, directory '/usr/share/doc/gnuplot-nox' not empty so not removed.
>
>
> $ ls -Al /usr/share/doc/gnuplot-nox/
> -rw-r--r--    1 root root  509 Mar 20 12:13 TODO.Debian

This happens because /usr/share/doc/gnuplot is a symlink to gnuplot-nox
on the system but not in the gnuplot package.  The gnuplot package needs
to remove that symlink in its preinst script.

Problem introduced in commit 2a96f2e1692c which removed the
/usr/share/doc symlink in the package but forgot to add the preinst.

Cheers,
       Sven





More information about the debian-science-maintainers mailing list