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 1mkUjX-0001Qb-8l for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 17:16:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkUjW-0007uD-81 for pgsql-admin@arkaria.postgresql.org; Tue, 09 Nov 2021 17:16:30 +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 1mkUjV-0007sR-T5 for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 17:16:29 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mkUjT-0002hH-OL for pgsql-admin@lists.postgresql.org; Tue, 09 Nov 2021 17:16:29 +0000 Received: by mail-ot1-x329.google.com with SMTP id l7-20020a0568302b0700b0055ae988dcc8so28680849otv.12 for ; Tue, 09 Nov 2021 09:16:27 -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=V/ouAtPIbND3b17S61x9UHVCyOz2LoexdSErx6RA0nA=; b=ktMq10zAcesxQUtW9/jVTz5S9lbp8o6JGGIFooV49GMC2PPbTue8oV9PRiee848UIC iewX1ZlzcT+sLpLibFZBkBn0NkTDNXvEIte6hDhDvGDze0RGlAHn8Wr0bxHb3XJgWtdE S4tYVlI4XXSDeb0rcLjGrLnOwoP594NYryZ3HVemGtIRYjy9bP5C/NMO1wiG7ipv1DtL kgLcd1sFtSinlY0E1S8uhAUbSVUfyB/KWlh3sdGBQ3lnk7H9n8Jz3HPXSIKbgdn0y5ds BANPv8U6vUVZBI8S/eEPLOS/lyy37UqEFq6sqpg3Xw0iKTOqbAm6GXcrarwtGI2k42VV JKnA== 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=V/ouAtPIbND3b17S61x9UHVCyOz2LoexdSErx6RA0nA=; b=iGuXIzZrPLONsuoP9hlzlADuoEUptFOrGfAa6zWnQsB2XfwmS8Vfl0LBEHPjOYmKLP aRVlAKgAzID9zGfrJdIM99z1ib3iabyetQG6R4Ua4y7ljYIjnx8Y6ei7otNmZY+ehwpy iZe+BbDFuo1YqRcAqJDK0liS/bav6lcmyP4+CpIa6BL0RMnRXYeYC/qG6lI8Ka9ERApw DUL6TMmSSBeHcr41BQzy8Zb0XWfjfus2hxTF8MROLaQhe9lfCW076IuzEOz0IEJfup0O nqKF+7Sx/vQcg5T5cVB5lPkyB9qExms5UCNCa2OxeqVwWCjQAPGOXtjeMoVh7p/1TBh3 GgSQ== X-Gm-Message-State: AOAM531Nfy86BHTTQ5lWa+Wm8ioLwbl17R3ARQ5joSKE2vq6oJHYjqvj +AgWJ2gA4Fuhel1srWyUWWwUQ4kr+4c= X-Google-Smtp-Source: ABdhPJzptDJDiMYSnjiaUTBvW+l//bqFqEhHVfGOEEJp1fdGmCwgjbgQX+9srCCISF2BZeHbeGzRTg== X-Received: by 2002:a9d:ed6:: with SMTP id 80mr7120872otj.35.1636478186059; Tue, 09 Nov 2021 09:16:26 -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 o2sm7713245otk.39.2021.11.09.09.16.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Nov 2021 09:16:25 -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> From: Ron Message-ID: <8b2140bd-cfc8-aa5b-d120-e4fa44710135@gmail.com> Date: Tue, 9 Nov 2021 11:16:24 -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: <28768e4f-f6f7-ad78-d0dc-169954a06156@gisticinc.com> Content-Type: multipart/alternative; boundary="------------2D72174DC03C10D63B68EB25" 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. --------------2D72174DC03C10D63B68EB25 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. --------------2D72174DC03C10D63B68EB25 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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.
--------------2D72174DC03C10D63B68EB25--