This seems to be a local problem of configuring the postgres account to
expire:
Setting up postgresql-common (97) ...
Your account has expired; please contact your system administrator
chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f PostgreSQL administrator postgres' returned error
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/32435038/Dependencies.txt
** Attachment added: DpkgTerminalLog.gz
http://launchpadlibrarian.net/32435039/DpkgTerminalLog.gz
--
package postgresql-common 97 failed to install/upgrade: subprocess
post-installation script