Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id F0D7A1B560E2 for ; Wed, 23 Nov 2011 02:02:18 -0400 (AST) Received: from wwwmaster.postgresql.org ([217.196.146.204]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RT5uT-0007cn-RW for pgsql-bugs@postgresql.org; Wed, 23 Nov 2011 06:02:18 +0000 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id pAN625TS059406 for ; Wed, 23 Nov 2011 06:02:05 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id pAN625FK059405; Wed, 23 Nov 2011 06:02:05 GMT (envelope-from www) Date: Wed, 23 Nov 2011 06:02:05 GMT Message-Id: <201111230602.pAN625FK059405@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6305: cann't reinstall postgresql From: "nadhiya" Content-Type: text/plain; charset=utf-8 X-Archive-Number: 201111/162 X-Sequence-Number: 31757 The following bug has been logged online: Bug reference: 6305 Logged by: nadhiya Email address: nadhiyacse07@gmail.com PostgreSQL version: 8.4 Operating system: ubuntu 10.04 Description: cann't reinstall postgresql Details: i installed openerpV6.0.3 server and client i worked on that but suddenly i cannot connect with the postgres,i got cannot access server.key,after that i changed file permissions and private key.but no one is work. now i remove and reinstall postgres i got dpkg error always while using sudo apt - get command. i used most of the way we mentioned in the documentation but i can't solve this. please help me to solve this problem i spent more than 2 days. error: ubuntu@ubuntu-laptop:~$ sudo apt-get install [sudo] password for ubuntu: Sorry, try again. [sudo] password for ubuntu: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up postgresql-8.4 (8.4.9-0ubuntu0.10.04) ... * Starting PostgreSQL 8.4 database server * Error: could not exec /usr/lib/postgresql/8.4/bin/pg_ctl /usr/lib/postgresql/8.4/bin/pg_ctl start -D /var/lib/postgresql/8.4/main -l /var/log/postgresql/postgresql-8.4-main.log -s -o -c config_file="/etc/postgresql/8.4/main/postgresql.conf" : [fail] invoke-rc.d: initscript postgresql-8.4, action "start" failed. dpkg: error processing postgresql-8.4 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql: postgresql depends on postgresql-8.4; however: Package postgresql-8.4 is not configured yet. dpkg: error processing postgresql (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: postgresql-8.4 postgresql E: Sub-process /usr/bin/dpkg returned an error code (1)