http://askubuntu.com/questions/406092/cant-purge-libapache2-mod-php5-corrupt-registry I can’t purge libapache2-mod-php5. Give me this error. ucfr: Corrupt registry: Duplicate entries for /etc/php5/apache2/php.ini libapache2-mod-php5 /etc/php5/apache2/php.ini libapache2-mod-php5 /etc/php5/apache2/php.ini sudo nano /var/lib/ucf/registry and remove duplicated php.ini lines from that file