Package: fontconfig-config
Version: 2.11.0-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to purge.

>From the attached log (scroll to the bottom...):

  Removing fontconfig-config (2.11.0-3) ...
  Purging configuration files for fontconfig-config (2.11.0-3) ...
  rmdir: failed to remove '/etc/fonts/conf.d': No such file or directory
  dpkg: error processing package fontconfig-config (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   fontconfig-config

Since /etc/fonts/conf.d is shipped by the package (and some others as
well) it should not be managed by maintainer scripts, but by dpkg only.
So remove the rmdir call.
There is currently a bug in dpkg that causes some directories to be left
behind (#316521) - this is going to be fixed in dpkg, no need to work
around this in packages. For piuparts this will be worked around by
adding such directories to an internal ignore list until dpkg gets fixed.


cheers,

Andreas

Attachment: fontconfig-config_2.11.0-3.log.gz
Description: GNU Zip compressed data

Reply via email to