reassign 354441 ucf retitle 354441 does not purge cached configuration files in /var/lib/ucf/cache #tags 354441 wontfix # Manoj has to decide in fact. thanks
Bart Martens <[EMAIL PROTECTED]> wrote: > Package: tex-common > Version: 0.15 > Severity: minor > > When purging the package, files are left on the file system. How to > reproduce: > > apt-get install ucf > ls /var/lib/ucf/cache ls: /var/lib/ucf/cache: No such file or directory > apt-get install tex-common > ls /var/lib/ucf/cache :etc:texmf:texmf.cnf > dpkg --remove ucf tex-common > dpkg --purge ucf > dpkg --purge tex-common > ls /var/lib/ucf/cache :etc:texmf:texmf.cnf The postrm script checks whether ucf is in the path, and if not it only removes the file. Since the internals of caching are not documented (and probably aren't supposed to be, anyway?), we can't do anything about the cached file. On the other hand, ucf can't remove the directory together with its contents when the package is purged: It doesn't know whether the package that the files belong to is purged or only removed. So this bug probably needs to be open until dpkg provides ucf's functionality. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)