Bug#1093156: ucf: Unable to determine DPKG_FORCE keep file; aborts installation
Package: ucf
Version: 3.0047
Severity: serious
Control: affects -1 nfs-common
X-Debbugs-CC: team@grml.org, nfs-common@packages.debian.org
Dear ucf maintainer,
since today the Grml Live image builds fail while installing
nfs-common, with this error:
Setting up nfs-common (1:2.8.2-1) ...
ucf: Unable to determine DPKG_FORCE keep file
dpkg: error processing package nfs-common (--configure):
installed nfs-common package post-installation script subprocess returned error exit status 1
Judging by the message, this is probably caused by the new
DPKG_FORCE support in ucf.
Our image builds use FAI, the details of that would not be helpful
for this bug.
A minimal reproducer is:
$ podman run -it --rm debian:unstable apt --update install -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --allow-change-held-packages nfs-common
...
Get:26 http://deb.debian.org/debian unstable/main arm64 ucf all 3.0047 [41.9 kB]
Get:27 http://deb.debian.org/debian unstable/main arm64 keyutils arm64 1.6.3-4 [53.8 kB]
Get:28 http://deb.debian.org/debian unstable/main arm64 nfs-common arm64 1:2.8.2-1 [259 kB]
...
Selecting previously unselected package ucf.
Preparing to unpack .../07-ucf_3.0047_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0047) ...
Selecting previously unselected package keyutils.
Preparing to unpack .../08-keyutils_1.6.3-4_arm64.deb ...
Unpacking keyutils (1.6.3-4) ...
Selecting previously unselected package nfs-common.
Preparing to unpack .../09-nfs-common_1%3a2.8.2-1_arm64.deb ...
Unpacking nfs-common (1:2.8.2-1) ...
...
Setting up ucf (3.0047) ...
Setting up libreadline8t64:arm64 (8.2-6) ...
Setting up libpython3.13-stdlib:arm64 (3.13.1-3) ...
Setting up libpython3-stdlib:arm64 (3.13.1-2) ...
Setting up libnfsidmap1:arm64 (1:2.8.2-1) ...
Setting up libtirpc3t64:arm64 (1.3.4+ds-1.3+b1) ...
Setting up python3.13 (3.13.1-3) ...
Setting up rpcbind (1.2.6-8.1+b1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up python3 (3.13.1-2) ...
running python rtupdate hooks for python3.13...
running python post-rtupdate hooks for python3.13...
Setting up dmsetup (2:1.02.201-1) ...
Setting up libdevmapper1.02.1:arm64 (2:1.02.201-1) ...
Setting up nfs-common (1:2.8.2-1) ...
ucf: Unable to determine DPKG_FORCE keep file
dpkg: error processing package nfs-common (--configure):
installed nfs-common package post-installation script subprocess returned error exit status 1
...
Errors were encountered while processing:
nfs-common
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Best,
Chris
Reply to: