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 1mkVGZ-00032F-QV for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 17:50:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkVGX-00018b-MQ for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 17:50:37 +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 1mkVGX-00018R-84 for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 17:50:37 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mkVGT-0002xX-W7 for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 17:50:36 +0000 Received: by mail-pl1-x635.google.com with SMTP id u17so22263683plg.9 for ; Tue, 09 Nov 2021 09:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gisticinc-com.20210112.gappssmtp.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=1LteiMZhHwag0gQkzQq4DIVl5XPtw+wnvK8oKnMZ4DE=; b=q+gPzo76x7MIxa530+lXZ0Bu13F7b3ZfWiCnvTWcUU+9tBQiQSXH1rQTKFEDAdv1Ak 65YUit/8SIjeWUg3SN+r+9rJqkRGOHbd/3TVt9TPae1Iq6k1tAueGYxRm1sa/O0qREEh IMArJw1zngDN5JLmGsemV+O5YNd+tLdEPa8NTeXNwDybJ3SWj7QkIHnOEBdzYfo+T5Ns uEudQqbswFJOkVLoDcDet70PZ89mDgAl0LhMd/FOCklGAx7hjLRAk+ub5yas1tSPKwRx J7YRW/hCkel50EC1PjTO07p1IiJwP1VX+3+ERUh/DfRrUxGmFwYG7BHlKEkI/C4LL8IZ +Aiw== 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=1LteiMZhHwag0gQkzQq4DIVl5XPtw+wnvK8oKnMZ4DE=; b=QYFzSv2/RdplcZtuU8EL25MhcwiGBU9ZqhhEOGBtUq1YKQzWg466rK2xpzGXQ4vz98 BvNuPqUgTNxbZ4lgk7h0s8u8cOvWBaJbOdXVBIYq1B86MfGih86IjQlKKCTpJuFUp2C4 E/XYMgXPDgpcZHFta/SiWKhEpdWME0SlwEzR86Mco+1y8zTql4AdvU3a+mk7/Jbi/G2l HDNXyj55AhcPvtGvXTCwFcIHrutFMqIZfENXl2jJuNRpWoyahJpe1xLmebbhN+EHWlto ryffM3nr6Zgv1d8q1ef3qm2cKGdpi9A0vP019n8OF2yakHpwKzQrcxRFVDZhUi6e9H3r uc6g== X-Gm-Message-State: AOAM5301e0d2L0rboEn4vn+KQwXqJ2I4W1HqEZm5pt+iqCYfLqId5AWd Wm+eFn9p5bGw6iWUfmMw70v+f6gJQP8DDA== X-Google-Smtp-Source: ABdhPJz39usPoZnKoTjFQNOeNEYio8K1Fe34g8iEFP9uLDV59UsL6nSdJY5s/XUY01xp1g+1oB5lwQ== X-Received: by 2002:a17:90a:312:: with SMTP id 18mr9301380pje.178.1636480231182; Tue, 09 Nov 2021 09:50:31 -0800 (PST) Received: from snowflake.tempe.gistic.com (wsip-72-215-195-71.ph.ph.cox.net. [72.215.195.71]) by smtp.gmail.com with ESMTPSA id h12sm21017237pfv.117.2021.11.09.09.50.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Nov 2021 09:50:30 -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> From: Bo Guo Message-ID: <50aa5f0c-589e-a3d0-2979-f57c0de7d7ca@gisticinc.com> Date: Tue, 9 Nov 2021 10:50:29 -0700 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: <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com> Content-Type: multipart/alternative; boundary="------------31AFC26B975DC887022159B3" 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. --------------31AFC26B975DC887022159B3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------31AFC26B975DC887022159B3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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
--------------31AFC26B975DC887022159B3--