pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
To: pgsql-general@lists.postgresql.org
Cc: crodmail@gmail.com
Subject: Re: A question about upgrading on Debian/Ubuntu
Date: Tue, 10 Dec 2019 07:46:02 -0800
Message-ID: <071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com> (raw)
In-Reply-To: <20191210112159.GA8023@panix.com>
References: <20191210112159.GA8023@panix.com>

On 12/10/19 3:21 AM, stan wrote:
> I upgraded successfully on our test machine from V11 to V12 the other day.

The below indicates that this is not the case.

> Now it is time to upgrade the production machine. One f the lessons
> learned in doing this is to do "make install" on all the extensions used
> in the existing DB before doing the pg_dropcluster.

If you are installing from packages then a good deal of the extensions 
should be in postgresql-contrib and you do not have to do make install.

Do you have packages that come from outside contrib?:

https://www.postgresql.org/docs/12/contrib.html

> 
> On the production machine I am confused by the state of the V12 server:
> 
> If I do sudo apt-get install postgresql-12 I get a message about this
> package being marked to be "manually installed: pg_lsclusters reports on a
> version 11 instance:

Do have?:

/etc/postgresql/12/

> 
> stan@smokey:~/src/pgemailaddr-master$ pg_lsclusters
> Ver Cluster Port Status Owner    Data directory              Log file
> 11  main    5432 online postgres /var/lib/postgresql/11/main
> /var/log/postgresql/postgresql-11-main.log
> 
> And when I do a "make install" on one of the extensions, it installs in
> the V11 location.

Lets first see what you have for a 12 install before tackling that.

> 
> What do I need to do to get the V12 server package correctly installed?
> 
> Thanks, in advance.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (4+ messages)  latest in thread

Message-ID: <071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com>
Permalink:  ../071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com/
Also on:    postgresql.org/message-id/071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, stanb@panix.com, crodmail@gmail.com
  Subject: Re: A question about upgrading on Debian/Ubuntu
  In-Reply-To: <071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com>
  References: <20191210112159.GA8023@panix.com> <071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com>

* 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