Comment 2 for bug 787061

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Ian, thanks for taking the time to file a bug report!

There is no dependency issue above. The post-installation script failed, as indicated here:

Setting up libapache2-mod-php5 (5.3.2-1ubuntu4.9) ...
dpkg: error processing libapache2-mod-php5 (--configure):
 subprocess installed post-installation script returned error exit status 20

So dpkg will not configure the rest of the dependent packages until libapache2-mod-php5 is configured.

The post-installation script, if you haven't removed the package from your system, should be at

/var/lib/dpkg/info/libapache2-mod-php5.postinst

It most likely had some issue while configuring the module. Error 20 is generally "Not a directory", so probably tried to do an 'rmdir' or 'chdir' on a directory that isn't on your system even though it should be. That very well could be a bug if its a directory the script should not expect to automatically be there. You can help us figure out if its a bug, or if your system has problems causing the issue, by running it with

sudo sh -x /var/lib/dpkg/info/libapache2-mod-php5.postinst configure 5.3.2-1ubuntu4.9

And pasting the output here.

Marking Incomplete pending response from Ian.