Package: ucf
Version: 3.0036
Severity: normal

Hi,

I am trying to debug and test ucf and wanted to move away from the
dialog frontend:

[94/5351]mh@swivel:~/tmp/nosnap/ucf/test $ export DEBIAN_FRONTEND=readline
[95/5352]mh@swivel:~/tmp/nosnap/ucf/test $ echo "package file" > packagefile
[96/5353]mh@swivel:~/tmp/nosnap/ucf/test $ sudo ucf $(pwd)/packagefile 
$(pwd)/localfile

Creating config file /home/mh/tmp/nosnap/ucf/test/localfile with new version
[97/5354]mh@swivel:~/tmp/nosnap/ucf/test $ sudo ucfr mytest $(pwd)/localfile
[98/5355]mh@swivel:~/tmp/nosnap/ucf/test $ echo "changed package file" > 
packagefile
[99/5356]mh@swivel:~/tmp/nosnap/ucf/test $ echo "changed local file" > localfile
[100/5357]mh@swivel:~/tmp/nosnap/ucf/test $ sudo ucfr mytest $(pwd)/localfile
[101/5358]mh@swivel:~/tmp/nosnap/ucf/test $ sudo ucf $(pwd)/packagefile 
$(pwd)/localfile

This displayed a dialog ucf dialog, while I would have expected a
readline ucf dialog, as ucf uses debconf.

Same thing happened with DEBIAN_FRONTEND=text.

Greetings
Marc

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.8-zgws1 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ucf depends on:
ii  coreutils  8.28-1
ii  debconf    1.5.63

ucf recommends no packages.

ucf suggests no packages.

-- debconf information excluded

Reply via email to