Bug#682453: jed: unowned files after purge (policy 6.8, 10.8): /usr/share/jed/lib/*.slc

Andreas Beckmann debian at abeckmann.de
Sun Jul 22 21:10:55 UTC 2012


Package: jed
Version: 1:0.99.19-2.1
Severity: important
User: debian-qa at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jed_1:0.99.19-2.1.log.gz
Type: application/x-gzip
Size: 8721 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20120722/fd0d39b1/attachment.bin>


More information about the Pkg-jed-devel mailing list