[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915742: simba: fails to purge - command ucf in postrm not found



On Thu, Dec 06, 2018 at 04:56:07PM +0100, Andreas Beckmann wrote:
>...
> Please see the manpages ucf(1), ucfr(1) and the example maintainer
> scripts under /usr/share/doc/ucf/examples/ for correct usage of ucf.
> 
> Filing this as important because a.) it's a clear policy violation (to
> not clean up at purge) b.) having a piuparts clean archive is a release
> goal since lenny and c.) this package being piuparts buggy blocks
> packages depending on it from being tested by piuparts (and thus
> possibly the detection of more severe problems).
> 
> From the attached log (scroll to the bottom...):
> 
> 0m56.0s ERROR: Command failed (status=1): ['chroot', '/srv/piuparts/tmp/tmp1sQcO0', 'dpkg', '--purge', 'simba']
>   (Reading database ... 4459 files and directories currently installed.)
>   Purging configuration files for simba (0.8.4-5) ...
>   /var/lib/dpkg/info/simba.postrm: 27: /var/lib/dpkg/info/simba.postrm: ucf: not found
>   dpkg: error processing package simba (--purge):
>    installed simba package post-removal script subprocess returned error exit status 127
>   Errors were encountered while processing:
>    simba

IMHO this is RC:

https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#id11

  all postrm actions may only rely on essential packages and must 
  gracefully skip any actions that require the package’s dependencies
  if those dependencies are unavailable.

> cheers,
> 
> Andreas

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: