I had the same problem with this package just now on an etch system.
my apt-get upgrade updated several packages, including
postgresql-8.1 8.1.8-1
ssl-cert 1.0.14
It tried to configure postgresql-8.1 before it configured ssl-cert:
...
Starting PostgreSQL 8.1 database server: main* The PostgreSQL server failed to
start. Please check the log output:
FATAL: could not access private key file "server.key": Permission denied
failed!
invoke-rc.d: initscript postgresql-8.1, action "start" failed.
dpkg: error processing postgresql-8.1 (--configure):
subprocess post-installation script returned error exit status 1
Setting up postgresql-doc-8.1 (8.1.8-1) ...
Setting up quota (3.14-5) ...
Setting up ssl-cert (1.0.14) ...
addgroup:
Setting up xnest (1.1.1-17) ...
Setting up xserver-xorg-core (1.1.1-17) ...
Setting up nullmailer (1.03-4) ...
Starting mail-transfer-agent: nullmailer.
Errors were encountered while processing:
postgresql-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
[100 [EMAIL PROTECTED] ~]#
The problem was resolved without any further errors simply by running
the upgrade again:
[0 [EMAIL PROTECTED] ~]# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up postgresql-8.1 (8.1.8-1) ...
Starting PostgreSQL 8.1 database server: main.
[0 [EMAIL PROTECTED] ~]#
Thanks for maintaining postgres in debian. It's my favorite RDBMS,
and having it work so smoothly (with such minimal maintenance on my
part) is a wonderful thing.
--dkg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]