Package: jed
Version: 1:0.99.19-2.1
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8 (or 10.8):

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

0m38.8s ERROR: FAIL: Package purging left files on system:
  /usr/share/jed/lib/abbrev.slc  not owned
  /usr/share/jed/lib/abbrmisc.slc        not owned
  /usr/share/jed/lib/acompile.slc        not owned
  /usr/share/jed/lib/aprocess.slc        not owned
[...]
  /usr/share/jed/lib/wordstar.slc        not owned
  /usr/share/jed/lib/xformreg.slc        not owned
  /usr/share/jed/lib/yankpop.slc         not owned


This is the effect of just purging jed, but leaving jed-common
installed.

If I understand it correctly, the compiled files are specific to the
version of jed ("... and some .slc files may not work with the new jed
version" in /usr/share/jed/compile/jed-common), only created after jed
is installed and of no use without jed installed.

So removing them on the removal of jed (instead of waiting for the
removal of the source files) should be the right approach. Adding
  run-parts --exit-on-error --arg=remove /usr/share/jed/compile/ ...
to jed.prerm and running this in the remove case should properly cleanup
the old compiled files.

cheers,

Andreas

Attachment: jed_1:0.99.19-2.1.log.gz
Description: GNU Zip compressed data

Reply via email to