Unpacking php5-gd (from .../php5-gd_5.3.5-1ubuntu7.2_i386.deb) ... Selecting previously deselected package libphp-pclzip. Unpacking libphp-pclzip (from .../libphp-pclzip_2.8.2-2_all.deb) ... Selecting previously deselected package smarty. Unpacking smarty (from .../smarty_2.6.26-0.2ubuntu1_all.deb) ... Selecting previously deselected package dbconfig-common. Unpacking dbconfig-common (from .../dbconfig-common_1.8.47_all.deb) ... Selecting previously deselected package piwigo. Unpacking piwigo (from .../piwigo_2.1.2-3_all.deb) ... Processing triggers for libapache2-mod-php5 ... Action 'configtest' failed. The Apache error log may have more information. Your apache2 configuration is broken, so we're not restarting it for you. Processing triggers for man-db ... Setting up php5-gd (5.3.5-1ubuntu7.2) ... Setting up libphp-pclzip (2.8.2-2) ... Setting up smarty (2.6.26-0.2ubuntu1) ... Setting up dbconfig-common (1.8.47) ... Creating config file /etc/dbconfig-common/config with new version Setting up piwigo (2.1.2-3) ... Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, line 28. Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, line 35. dbconfig-common: writing config to /etc/dbconfig-common/piwigo.conf Creating config file /etc/dbconfig-common/piwigo.conf with new version Creating config file /etc/piwigo/config-db.php with new version ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO). unable to connect to mysql server. error encountered creating user: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) dbconfig-common: piwigo configure: aborted. dbconfig-common: flushing administrative password dpkg: error processing piwigo (--configure): subprocess installed post-installation script returned error exit status 1