Bug#700537: code-aster-engine, code-aster-mpi-engine: unowned files after purge: /usr/lib/codeaster/STA11.3
Andreas Beckmann
anbe at debian.org
Thu Feb 14 03:51:36 UTC 2013
Package: code-aster-engine,code-aster-mpi-engine
Version: 11.3.0-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...):
0m36.4s ERROR: FAIL: Package purging left files on system:
/usr/lib/codeaster/ owned by: code-aster-engine
/usr/lib/codeaster/STA11.3 -> /usr/lib/codeaster/STABLE not owned
0m39.8s ERROR: FAIL: Package purging left files on system:
/usr/lib/codeaster/ owned by: code-aster-mpi-engine
/usr/lib/codeaster/STA11.3_MPI -> /usr/lib/codeaster/STABLE_MPI not owned
> * Removed reference to the actual version in the installation path
> Now the installed version of code-aster-*engine packages is no
> longer under /usr/lib/codeaster/${VERSION} but under
> /usr/lib/codeaster/STABLE for serial version and
> /usr/lib/codeaster/STABLE_MPI for parallel version; the postinst
> script however creates symlink with the actual version number
> pointing to STABLE and STABLE_MPI to recreate the usual path;
> target get-orig-source has been updated accordingly.
Why do you need to create these links in the postinst? Can't you
just ship them in the package?
(Well, you'll need maintainer script code to actually turn the empty
directory into a symlink as dpkg does not change symlinks to dirs and
vice versa, but at least you would get the removal for free :-)
But the 11.3 is a new release and there is no previous directory that
needs to be replaced by a symlink, so just shipping should be fine.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code-aster-engine_11.3.0-2-1.log.gz
Type: application/x-gzip
Size: 10073 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130214/7ccd0fde/attachment-0001.bin>
More information about the debian-science-maintainers
mailing list