Package: dpkg Version: 1.18.18 Severity: important Hi Guillem,
attached are two packages to demonstrate the problem. # dpkg -i /tmp/pkg_1_all.deb Selecting previously unselected package pkg. (Reading database ... 15354 files and directories currently installed.) Preparing to unpack /tmp/pkg_1_all.deb ... Unpacking pkg (1) ... Setting up pkg (1) ... # dpkg -s pkg Package: pkg Status: install ok installed Installed-Size: 12 Maintainer: Andreas Beckmann <[email protected]> Architecture: all Version: 1 Conffiles: /etc/test/conffile b33c30cf7dbbcfa8ceabbf4001e95681 Description: test test # ls -la /etc/test total 4 drwxr-xr-x 2 root root 80 Jan 24 18:28 . drwxr-xr-x 41 root root 2080 Jan 24 18:13 .. -rw-r--r-- 1 root root 9 Jan 24 18:06 conffile lrwxrwxrwx 1 root root 8 Jan 24 18:10 symlink -> conffile # dpkg -i /tmp/pkg_2_all.deb (Reading database ... 15359 files and directories currently installed.) Preparing to unpack /tmp/pkg_2_all.deb ... Unpacking pkg (2) over (1) ... dpkg: warning: unable to delete old directory '/etc/test': Directory not empty Setting up pkg (2) ... Obsolete conffile /etc/test/symlink has been modified by you. Saving as /etc/test/symlink.dpkg-bak ... # dpkg -s pkg Package: pkg Status: install ok installed Installed-Size: 11 Maintainer: Andreas Beckmann <[email protected]> Architecture: all Version: 2 Conffiles: /etc/test/conffile b33c30cf7dbbcfa8ceabbf4001e95681 obsolete Description: test test # ls -la /etc/test total 4 drwxr-xr-x 2 root root 80 Jan 24 18:29 . drwxr-xr-x 41 root root 2080 Jan 24 18:13 .. -rw-r--r-- 1 root root 9 Jan 24 18:06 conffile lrwxrwxrwx 1 root root 8 Jan 24 18:10 symlink.dpkg-bak -> conffile I don't think that's what I wanted ... (seen in uctodata) Variations I haven't tried: rm_conffile symlink-to-nonconffile rm_conffile symlink-to-dir rm_conffile nonconffile-file-in-usr-share rm_conffile directory mv_conffile * Andreas
pkg_1.tar.gz
Description: application/gzip
pkg_2.tar.gz
Description: application/gzip

