Il giorno lun, 15/12/2014 alle 12.50 +0100, Andreas Beckmann ha scritto:

> during a test with piuparts I noticed your package removes directories
> that were installed by another package.
> 
> If a directory is used by several packages, all should ship it as part
> of the package (possibly empty, using $package.dirs to create it), and
> no package should mkdir/rmdir it in the maintainer scripts as dpkg will
> take care of this.
> Do not work around dpkg bugs failing to do the removal properly.
> 
> >From the attached log (scroll to the bottom...):
> 
> 0m42.5s ERROR: FAIL: After purging files have disappeared:
>   /var/lib/vim/        owned by: vim-common
>   /var/lib/vim/addons/         owned by: vim-common
> 
> This part of the postrm looks faulty:
> 
> case "$1" in
>     purge)
>         if [ -d /var/lib/vim/addons/autoload/ ]; then
>           rmdir -p --ignore-fail-on-non-empty /var/lib/vim/addons/autoload || 
> :
>         fi
>     ;;
> 
> * /var/lib/vim/addons/autoload does not sound specific to this package
> * -p removes parent directories

Hi Andreas,

you are right. I fixed it:

http://anonscm.debian.org/cgit/collab-maint/vim-addon-mw-utils.git/commit/?id=5131ae8be7b5a05ada40154511e0d0e98502f8ba

I'll ask for an unblock.

Best Regards
-- 
Andrea Capriotti <capri...@debian.org>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to