Bug#787837: yorick-data: unowned directories in /usr/local after purge (policy 6.8 and 9.1.2): /usr/local/lib/yorick/

Thibaut Paumard thibaut at debian.org
Mon Jun 8 13:26:37 UTC 2015


Control: clone -1 -2
Control: reassign -2 debhelper
Control: retitle -2 dh_usrlocal leaves directories behind
Control: severity -2 normal

Le 05/06/2015 16:06, Andreas Beckmann a écrit :
> 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:

Hi,

Yorick uses dh_usrlocal to manage a tree of directories in /usr/local:
  /usr/local/lib/yorick
  /usr/local/lib/yorick/bin
  /usr/local/lib/yorick/lib
  /usr/local/lib/yorick/share
  ...

The problem is that dh_usrlocal attempts to remove the trunk directory
(/usr/local/lib/yorick) before the branches. At that point, the trunk is
not empty *yet*. Therefore, this directory remains.

I'll work around the problem in Yorick, but a bug is left in
dh_usrlocal, which should remove a tree in depth first, so the trunk is
removed too. I don't code in Perl (yet), so I can't provide a patch
efficiently.

Kind regards, Thibaut.



More information about the debian-science-maintainers mailing list