vm19:/tmp# dpkg -i mastercom2-0.0.70.deb tar: ./control: time stamp 2007-12-10 16:48:44 is 6670.420616 s in the future tar: .: time stamp 2007-12-10 16:48:44 is 6670.419785 s in the future (Reading database ... 13890 files and directories currently installed.) Preparing to replace mastercom2 0.0.69 (using mastercom2-0.0.70.deb) ... /var/lib/dpkg/tmp.ci/preinst: line 15: syntax error near unexpected token `}' /var/lib/dpkg/tmp.ci/preinst: line 15: `}' dpkg: error processing mastercom2-0.0.70.deb (--install): subprocess pre-installation script returned error exit status 2 + '[' -a /etc/mastercom2.conf ']' ++ grep app_host /etc/mastercom2.conf ++ column -s = -t ++ awk '{print $2}' + APPHOST=127.0.0.1 ++ grep db_name /etc/mastercom2.conf ++ column -s = -t ++ awk '{print $2}' + DBNAME=mastercom2 ++ grep db_user /etc/mastercom2.conf ++ column -s = -t ++ awk '{print $2}' + DBUSER=mastercom + '[' -a /etc/postgresql/8.1/main/pg_hba.conf ']' ++ grep -e 'host[[:space:]]*mastercom2[[:space:]]*mastercom[[:space:]]*127.0.0.1[[:space:]]*255.255.255.255[[:space:]]*password' /etc/postgresql/8.1/main/pg_hba.conf + '[' '!' -z '' ']' ++ grep -e 'host[[:space:]]*all[[:space:]]*postgres[[:space:]]*127.0.0.1[[:space:]]*255.255.255.255[[:space:]]*trust' /etc/postgresql/8.1/main/pg_hba.conf + '[' '!' -z '' ']' + '[' -a /etc/postgresql/8.1/main/postgresql.conf ']' ++ grep listen_addresses /etc/postgresql/8.1/main/postgresql.conf ++ sed -n 2p + '[' '!' -z '#listen_addresses = *' ']' ++ grep listen_addresses /etc/postgresql/8.1/main/postgresql.conf ++ sed -n 2p ++ od -tc -N1 ++ sed -n 1p ++ awk '{print $2}' + '[' '#' '!=' '#' ']' + '[' -a /etc/init.d/postgresql-8.1 ']' ++ /etc/init.d/postgresql-8.1 status ++ awk '{print $4}' ++ grep online + '[' '!' -z online ']' + /etc/init.d/postgresql-8.1 reload Reloading PostgreSQL 8.1 database server: main. Errors were encountered while processing: mastercom2-0.0.70.deb