pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Ubuntu Upgrade from 18.04 to 20.04 failed due to Postgres/Postgis package on removal blacklist.
Date: Tue, 9 Nov 2021 11:16:24 -0600
Message-ID: <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com> (raw)
In-Reply-To: <28768e4f-f6f7-ad78-d0dc-169954a06156@gisticinc.com>
References: <CAK_Ha4zXQYnBbsvtpWeU234dGV=rtvi5ALkk_eS_KQ_sMiD7=Q@mail.gmail.com>
	<CAM+6J95DU-tow6K1JWb5UGmdcwYHP5z=7_XzijzAaEHnNPBftQ@mail.gmail.com>
	<28768e4f-f6f7-ad78-d0dc-169954a06156@gisticinc.com>

On 11/9/21 10:23 AM, Bo Guo wrote:
>
> Hello Community!
>
> One of my Postgresql servers has been over the years through "in-place" 
> update for last 6 years or so.  Currently stands at 18.04 w/ 
> Postgres-12-Postgis 3.1, the server went through multiple version os 
> Ubuntu and PostgreSQL .
>
> I am trying to upgrade Ubuntu to 20.04 first before upgrading PostgreSQL, 
> but failed with OS upgrade.  Here are the last few lines in 
> /var/log/dist-upgrade/main.log after failed upgrade:
>
> 2021-11-09 08:35:50,044 DEBUG blacklist expr '^postgresql-.*[0-9][0-9].*' matches 'postgresql-12-postgis-3'
> 2021-11-09 08:35:50,044 DEBUG The package 'postgresql-12-postgis-3' is marked for removal but it's in the removal blacklist
> 2021-11-09 08:35:50,053 ERROR Dist-upgrade failed: 'The package 'postgresql-12-postgis-3' is marked for removal but it is in the removal blacklist.'
> 2021-11-09 08:35:50,055 DEBUG abort called
>
> The offending package  'postgresql-12-postgis-3' corresponds my current 
> Postgresql version.  Should I remove the package and proceed with OS 
> upgrade?  I am at a loss...
>

What repository did you install it from?

-- 
Angular momentum makes the world go 'round.

view thread (5+ messages)  latest in thread

Message-ID: <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com>
Permalink:  ../8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com/
Also on:    postgresql.org/message-id/8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Ubuntu Upgrade from 18.04 to 20.04 failed due to Postgres/Postgis package on removal blacklist.
  In-Reply-To: <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.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