Package: ucf
Version: 3.0031
Severity: normal

UCF fails for files which contain spaces. See the test case below. It also 
fails if only the source 
or destination file contain spaces.

gaudenz@moebius:~/tmp/ucf-test$ tree
.
├── dest
├── lib
│   └── cache
└── source
    └── file with space

4 directories, 1 file
gaudenz@moebius:~/tmp/ucf-test$ sudo ucf --debug=5 --state-dir ./lib 
source/file\ with\ space dest/file\ with\ space
The new start file is      `/home/gaudenz/tmp/ucf-test/source/file
/home/gaudenz/tmp/ucf-test/with
/home/gaudenz/tmp/ucf-test/space\'
The destination is         `/home/gaudenz/tmp/ucf-test/dest/file
/home/gaudenz/tmp/ucf-test/with
/home/gaudenz/tmp/ucf-test/space\' 
(`\/home\/gaudenz\/tmp\/ucf\-test\/dest\/file\ 
\/home\/gaudenz\/tmp\/ucf\-test\/with\ \/home\/gaudenz\/tmp\/ucf\-test\/space\')
The history is kept under  \'/home/gaudenz/tmp/ucf-test/source/file\'
The file may be cached at \'./lib/cache/:home:gaudenz:tmp:ucf-test:dest:file 
:home:gaudenz:tmp:ucf-test:with :home:gaudenz:tmp:ucf-test:space\'
The destination file does not exist.
The old md5sum does not exist.
The new file does not exist.
Historical md5sums are not available
The new start file is      `/home/gaudenz/tmp/ucf-test/source/file
/home/gaudenz/tmp/ucf-test/with
/home/gaudenz/tmp/ucf-test/space\'
The destination is         `/home/gaudenz/tmp/ucf-test/dest/file
/home/gaudenz/tmp/ucf-test/with
/home/gaudenz/tmp/ucf-test/space\' 
(`\/home\/gaudenz\/tmp\/ucf\-test\/dest\/file\ 
\/home\/gaudenz\/tmp\/ucf\-test\/with\ \/home\/gaudenz\/tmp\/ucf\-test\/space\')
The history is kept under  \'/home/gaudenz/tmp/ucf-test/source/file\'
The file may be cached at \'./lib/cache/:home:gaudenz:tmp:ucf-test:dest:file 
:home:gaudenz:tmp:ucf-test:with :home:gaudenz:tmp:ucf-test:space\'


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (100, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (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.23-4
ii  debconf    1.5.58

ucf recommends no packages.

ucf suggests no packages.

-- debconf information:
* ucf/changeprompt_threeway: keep_current
  ucf/conflicts_found:
  ucf/title:
* ucf/changeprompt: keep_current
* ucf/show_diff:

Reply via email to