Package: msmtp
Version: 1.8.22-1
Severity: serious

https://piuparts.debian.org/sid/fail/msmtp-mta_1.8.22-2.log

...
Purging configuration files for msmtp (1.8.22-2) ...
  /var/lib/dpkg/info/msmtp.postrm: 14: deluser: not found
  dpkg: error processing package msmtp (--purge):
   installed msmtp package post-removal script subprocess returned error exit 
status 127
  dpkg: warning: ignoring request to remove sensible-utils which isn't installed
  Purging configuration files for ucf (3.0043) ...
  Errors were encountered while processing:
   msmtp


https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#summary-of-ways-maintainer-scripts-are-called

    The postrm script is called after the package’s files have been removed or 
replaced. The package whose postrm is being called may have previously been 
deconfigured and only be “Unpacked”, at which point subsequent package changes 
do not consider its dependencies. Therefore, all postrm actions must only rely 
on essential packages and must gracefully skip any actions that require the 
package’s dependencies if those dependencies are unavailable.

Reply via email to