Package: libpaper1
Version: 1.1.25
Severity: serious

piuparts detected that libpaper1 fails to purge, because its postrm
doesn't check that ucf is available during purge.

https://piuparts.debian.org/sid/fail/libpaper1_1.1.25.log

  Purging configuration files for libpaper1:amd64 (1.1.25) ...
  /var/lib/dpkg/info/libpaper1:amd64.postrm: 16: 
/var/lib/dpkg/info/libpaper1:amd64.postrm: ucf: not found
  dpkg: error processing package libpaper1:amd64 (--purge):
   installed libpaper1:amd64 package post-removal script subprocess returned 
error exit status 127
  Errors were encountered while processing:
   libpaper1:amd64
  
It should test for ucf's presence, for example as openssh does:

        if which ucf >/dev/null 2>&1; then
                        ucf --purge /etc/ssh/sshd_config
                fi

(This is serious as it affects all reverse dependencies of libpaper1 in their 
piuparts logs too)

Cheers,
        OdyX

Reply via email to