Workaround: install and then purge php5-gd. One notes also this error message Purging configuration files for php5-gd ... Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line 529, <HASH> line 29.