Package: ucf Version: 3.0041 Severity: important Dear Maintainer,
starting with 3.0041 (3.0039 was okay), ucf breaks with an error from the shell interpreter when selecting to show the differences between two files. How to repeat: echo one >config echo two >config.new ucf config.new config The well-known dialog comes up. Select "show the differences between the versions". Expected: A diff of the two files. Got: | /usr/bin/ucf: 85: local: root.root: bad variable name (where root.root are user and group of the file). Also abort of dpkg/apt, possibly leaving the system in a half-configured state. Using the ucf script from 3.0039 works fine. A quick glance into the diff reveals the interpreter was changed to /bin/sh from /bin/bash, and /bin/dash isn't happy with that line. Reverting to "#!/bin/bash" yields the expected behaviour, too. Cheers, Christoph PS: ucf --purge config -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.4.41 (SMP w/4 CPU cores) 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 /bin/dash Init: unable to detect Versions of packages ucf depends on: ii coreutils 8.30-3+b1 ii debconf 1.5.74 ii sensible-utils 0.0.12+nmu1 ucf recommends no packages. ucf suggests no packages. -- debconf information excluded
signature.asc
Description: PGP signature