Package: fontconfig-config Version: 2.11.0-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed that purging your package removes files that were installed by another package. The removed files were already present before the package was installed, they may have been shipped or created by a dependency. This could be a violation of policy 10.7.4 ("Sharing configuration files"), see http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.4 or policy chapter 6 ("Package maintainer scripts..."), see http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or policy 7.6 ("Overwriting files..."), see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces The postrm purge seems too aggressive when cleaning out /etc/fonts/conf.d/ >From the attached log (scroll to the bottom...): 0m26.1s ERROR: FAIL: After purging files have disappeared: /etc/fonts/conf.d/ owned by: fontconfig-config, fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-sans.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-serif.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-sans-mono.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf -> ../conf.avail/20-unhint-small-dejavu-sans.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf -> ../conf.avail/20-unhint-small-dejavu-serif.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/57-dejavu-sans-mono.conf -> ../conf.avail/57-dejavu-sans-mono.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/57-dejavu-sans.conf -> ../conf.avail/57-dejavu-sans.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/57-dejavu-serif.conf -> ../conf.avail/57-dejavu-serif.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf -> ../conf.avail/58-dejavu-lgc-sans-mono.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/58-dejavu-lgc-sans.conf -> ../conf.avail/58-dejavu-lgc-sans.conf owned by: fonts-dejavu-core /etc/fonts/conf.d/58-dejavu-lgc-serif.conf -> ../conf.avail/58-dejavu-lgc-serif.conf owned by: fonts-dejavu-core To quickly reproduce this problem in a minimal chroot (pbuilder etc.): # apt-get install fontconfig-config # ls -lad $(dpkg -L fonts-dejavu-core) > /dev/null # dpkg --purge fontconfig-config # ls -lad $(dpkg -L fonts-dejavu-core) > /dev/null ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/57-dejavu-sans.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/58-dejavu-lgc-sans.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/57-dejavu-sans-mono.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/57-dejavu-serif.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/58-dejavu-lgc-serif.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf: No such file or directory ls: cannot access /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf: No such file or directory cheers, Andreas
fontconfig-config_2.11.0-1.log.gz
Description: GNU Zip compressed data
fontconfig-config_2.11.0-1.log.gz
Description: GNU Zip compressed data