Package: ucf
Version: 1.17
Severity: important

Hi,

if ucf is called to register/install a file that has a double slash in
the path, it does that just fine:  Just as the shell does (or: most
shells do?), it handles the double separator as if it were single.
However, it doesn't clean up the path before registering, and therefore
the double slash is also in the filenahme database, like this:

[EMAIL PROTECTED]:/# cat /var/lib/ucf/hashfile
2f1ad364c25bfd8dcee21c2d6ea97a3a  /etc/papersize
cf5cd8fb29d16f191a82992a112010e1  /etc/texmf/fmt.d//01tetex.cnf
[...]

The problem with that is that when the postrm script does not add the
double slash when calling "ucf --purge", the file will not be
unregistered, and after purging the package it will not be recreated
upon reinstallation.

I think ucf should either refuse to work on pathnames with double
slashes completely, or it should handle them completely transparent. 

Thanks, Frank

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

-- debconf information:
* ucf/changeprompt_threeway: install the package maintainer's version
  ucf/title:
* ucf/changeprompt: install the package maintainer's version

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to