[Pkg-freeipa-devel] Bug#963048: pki-base: postinst failure because of incorrect use of --silent option of pki-upgrade

Laurent Bonnaud L.Bonnaud at laposte.net
Thu Jun 18 11:29:18 BST 2020


Package: pki-base
Version: 10.9.0~a2-2
Severity: serious


Dear Maintainer,

here is the problem:

Setting up pki-base (10.9.0~a2-2) ...
dpkg: error processing package pki-base (--configure):
 installed pki-base package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 pki-base


The problem comes from the postinst script that tries to execute this command:

# pki-upgrade --silent
[...]
ERROR: option --silent not recognized
Usage: pki-upgrade [OPTIONS]

  --status                       Show upgrade status only. Do not perform upgrade.
  --revert                       Revert the last version.
  --validate                     Validate upgrade status.

  -X                             Show advanced options.
  -v, --verbose                  Run in verbose mode.
      --debug                    Run in debug mode.
  -h, --help                     Show this help message.


Removing the --silent option fixes the problem.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pki-base depends on:
ii  python3-pki-base  10.9.0~a2-2

pki-base recommends no packages.

pki-base suggests no packages.

-- no debconf information

-- 
Laurent.



More information about the Pkg-freeipa-devel mailing list