Package: ucf Version: 3.0043 Severity: important Hi,
While installing a package, I see: ====== Setting up samba-common (2:4.13.13+dfsg-1~deb11u2) ... /usr/bin/ucf: 444: [: missing ] grep: ]: No such file or directory ====== Looking at ucf script, there is at line 444: ====== if [ echo "$divert_line" | grep "^local" ]; then ====== This is clearly wrong. I do not know what is tested here, but the line should be rewriten with something like if echo "$divert_line" | grep sq "^local"; then or if [ "$(echo "$divert_line" | grep "^local")" ]; then or ... I put the important severity as I do not know the real implication of this bug (LOCAL diversion ignored?). Feel free to downgrade if there are no consequence for local systems Regards, Vincent -- System Information: Debian Release: bookworm/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ucf depends on: ii coreutils 8.32-4.1 ii debconf 1.5.79 ii sensible-utils 0.0.17 ucf recommends no packages. ucf suggests no packages. -- debconf information: ucf/title: * ucf/show_diff: * ucf/changeprompt: install_new * ucf/conflicts_found: * ucf/changeprompt_threeway: merge_threeway