Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkWlq-0007CD-Ah for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 19:27:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkWlo-0000LX-UK for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 19:27:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkWlo-0000LN-GN for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 19:27:00 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mkWlj-0003kq-U8 for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 19:26:59 +0000 Received: by mail-oi1-x22c.google.com with SMTP id bf8so592708oib.6 for ; Tue, 09 Nov 2021 11:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=JREuhk3ZUjvfZ/FOu75mOkPKhPboH+DCEJm9C8cz6yE=; b=nlEq0/WSY0SZj7QSDo7XFJ7Pai4P8RVkmUlRA7CRBG1FcmMBj8vC93yqW2w504cDCO 8p48OHR+Xlx3e85AKPRpXUWCo4DXnS8006m7T4+a6aO04pzv9ONzEOo9I2DBjhEKmWP1 BDefsk4Oiz2t2quZJadVuH6qPgOSmMTd4FOSpjw7UboXHQyMHHEoZCrcqzy4H0TPSfdc gScAGZ4CcVVwBe4GE6kivFxq2eXbDc7iczLNyqXnDlCgKnXEu77V4fxarTm1n+bNvwW/ em309FdquZuAC01JBPtaseTQU91f1ipAoKTI8BWT8psGU4pzwxsVht27Al3/xH7xAxMy 2iYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=JREuhk3ZUjvfZ/FOu75mOkPKhPboH+DCEJm9C8cz6yE=; b=kEYpCbBRQS4RjmSzqCg0bM4ZSHLhKlHKuvw3XtMbZu1sydc2OBobd7iEtoaT3DI6bw SoK8s1IgqPKO2cIbCgpAEL/ocOwxQlSzMB6F3Olq24m8EFTQah4TPI2hqfZGxk4WYmxF 3KVKBgDIIi/5JMlz40FoTksphPPPhtDfdSBm2EAfYL7OdshwvQmHuWkZnkXfYLTvxos3 TeGSsIJn3usf+r6WpButD1hk44GnvD9t1D/9b65xdqkPKcrRA3VgitMvwhpX7wkod1Mf JMLBcyKTJdsxEk2pKVgqer1CaYvqS/vdJN6W4T/7qsgR+TSZFtGFFkgn0XNrusMEHdlp Miaw== X-Gm-Message-State: AOAM532RFF2VmMjnaQa9LDCpjDJ9ZVcaZKgnRu2HJlIhN5M4nU5VvoAv B/GbH8tYotwTaqZqARwSybt5xEmY+Ks= X-Google-Smtp-Source: ABdhPJzzBTbESOZ0qgRDf+hTcSVFYV5J+M9a0bMlzl+2R9UPKclRad6tAMXzNy8cWkCdp6Zml9P3HQ== X-Received: by 2002:a05:6808:23d6:: with SMTP id bq22mr2447119oib.121.1636486013951; Tue, 09 Nov 2021 11:26:53 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id bj8sm3152379oib.51.2021.11.09.11.26.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Nov 2021 11:26:53 -0800 (PST) Subject: Re: Ubuntu Upgrade from 18.04 to 20.04 failed due to Postgres/Postgis package on removal blacklist. To: pgsql-admin@lists.postgresql.org References: <28768e4f-f6f7-ad78-d0dc-169954a06156@gisticinc.com> <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com> <50aa5f0c-589e-a3d0-2979-f57c0de7d7ca@gisticinc.com> From: Ron Message-ID: Date: Tue, 9 Nov 2021 13:26:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <50aa5f0c-589e-a3d0-2979-f57c0de7d7ca@gisticinc.com> Content-Type: multipart/alternative; boundary="------------4505AFA0175BF93881FEAB5B" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------4505AFA0175BF93881FEAB5B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit The "it" is postgresql-12-postgis-3, since that's what you're having trouble with. On 11/9/21 11:50 AM, Bo Guo wrote: > > Ron, > > Ubuntu release upgrade (do-release-upgrade) uses Ubuntu official > repository, I believe. > > Bo > > On 11/9/21 10:16 AM, Ron wrote: >> 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. > -- > Regards, > > Bo Guo, PhD, PE > President > Gistic Research, Inc. > 2033 E Warner Rd Ste 105 > Tempe, AZ 85284 > www.gisticinc.com > www.youtube.com/linearbench > Office: 480-656-9962 > Cell: 602-570-4697 -- Angular momentum makes the world go 'round. --------------4505AFA0175BF93881FEAB5B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit The "it" is postgresql-12-postgis-3, since that's what you're having trouble with.

On 11/9/21 11:50 AM, Bo Guo wrote:

Ron,

Ubuntu release upgrade (do-release-upgrade) uses Ubuntu official repository, I believe.

Bo

On 11/9/21 10:16 AM, Ron wrote:
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.
-- 
Regards,

Bo Guo, PhD, PE
President
Gistic Research, Inc.
2033 E Warner Rd Ste 105
Tempe, AZ 85284
www.gisticinc.com
www.youtube.com/linearbench
Office: 480-656-9962
Cell: 602-570-4697

--
Angular momentum makes the world go 'round.
--------------4505AFA0175BF93881FEAB5B--