Control: tags -1 patch Chris,
Thanks. On Wed, Jan 15, 2025 at 09:48:35PM +0100, Chris Hofstaedtler wrote: > Judging by the message, this is probably caused by the new > DPKG_FORCE support in ucf. Yes. Can you verify the patch below fixes for you? This also caught my eye: > $ 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 Why both --force-confnew and --force-confdef? My reading of dpkg(1) suggests that confdef overrides confnew. Or have I misunderstood? Mark commit e0e686df372ca77fda94c0091be1b3f43adcf795 Author: Mark Hindley <m...@hindley.org.uk> Date: Wed Jan 15 21:12:06 2025 +0000 ucf: fix handling of DPKG_FORCE confdef: -- vset() rejects empty string. Closes: #1093156 diff --git a/ucf b/ucf index f3989ff..3f39c56 100755 --- a/ucf +++ b/ucf @@ -501,7 +501,9 @@ for f in $DPKG_FORCE ; do confold) force_conff=$(vset "old" "DPKG_FORCE keep file") ;; confnew) force_conff=$(vset "new" "DPKG_FORCE keep file") ;; # The following override other settings, so break out of loop. - confdef) force_conff=$(vset "" "DPKG_FORCE keep file"); break ;; + confdef) unset force_conff + [ "$VERBOSE" ] && echo >&2 "DPKG_FORCE keep file default" + break ;; confask) force_conff=$(vset "ask" "DPKG_FORCE keep file"); break ;; esac done