Removing mysql-server (5.6.28-0ubuntu0.15.10.1) ... Setting up mysql-client-core-5.6 (5.6.28-0ubuntu0.15.10.1) ... Setting up mysql-client-5.6 (5.6.28-0ubuntu0.15.10.1) ... Setting up mysql-server-core-5.6 (5.6.28-0ubuntu0.15.10.1) ... Setting up php5-mysql (5.6.11+dfsg-1ubuntu3.1) ... Creating config file /etc/php5/mods-available/mysql.ini with new version cp: cannot create regular file ‘/etc/php5/mods-available/mysql.ini’: No such file or directory dpkg: error processing package php5-mysql (--configure): subprocess installed post-installation script returned error exit status 1