pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: r.andom.dev4+postgres@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12630: Postgres APT script issues
Date: Thu, 22 Jan 2015 11:44:16 +0000
Message-ID: <20150122114416.32672.26447@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      12630
Logged by:          Tom
Email address:      r.andom.dev4+postgres@gmail.com
PostgreSQL version: 9.4.0
Operating system:   Ubuntu 14.04.1 LTS
Description:        

Using the postgres repo (http://apt.postgresql.org/pub/repos/apt/).

After 9.4 pg_upgrade, you are prompted to run ./delete_old_cluster.sh.

However, doing so breaks the postgres apt scripts.  For example, running
'sudo apt-get remove postgresql-9.3 postgresql-9.3-ip4r
postgresql-client-9.3 postgresql-contrib-9.3' yields an erroneous error that
prevents uninstallation :

* Stopping PostgreSQL 9.3 database server
 * Error: /var/lib/postgresql/9.3/main is not accessible or does not exist
   ...fail!
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing package postgresql-9.3 (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 postgresql-9.3
E: Sub-process /usr/bin/dpkg returned an error code (1)


Similarly the init script breaks too :
 * Restarting PostgreSQL 9.3 database server
 * Error: /var/lib/postgresql/9.3/main is not accessible or does not exist
   ...fail!



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <20150122114416.32672.26447@wrigleys.postgresql.org>
Permalink:  ../20150122114416.32672.26447@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150122114416.32672.26447@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: r.andom.dev4+postgres@gmail.com
  Subject: Re: BUG #12630: Postgres APT script issues
  In-Reply-To: <20150122114416.32672.26447@wrigleys.postgresql.org>
  References: <20150122114416.32672.26447@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox