Package: php5-json Version: 1.3.7-1 You should test -d /etc/php5 before warning.
Removing php5-json (1.3.7-1) ... Purging configuration files for php5-json (1.3.7-1) ... WARN: php5-common has been removed, you need to cleanup /etc/php5 yourself. Current status: 0 (+0) broken, 34 (+0) upgradable, 51124 (+0) new. # ls -l /etc/php5 ls: cannot access '/etc/php5': No such file or directory