Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcrNY-003EyA-LV for pgsql-general@arkaria.postgresql.org; Tue, 28 Jan 2025 19:36:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tcrNV-002zPN-Kc for pgsql-general@arkaria.postgresql.org; Tue, 28 Jan 2025 19:36:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcrNU-002zPF-Pg for pgsql-general@lists.postgresql.org; Tue, 28 Jan 2025 19:36:05 +0000 Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tcrNS-001zvT-0a for pgsql-general@postgresql.org; Tue, 28 Jan 2025 19:36:03 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.stl.internal (Postfix) with ESMTP id F3A731140169; Tue, 28 Jan 2025 14:36:01 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Tue, 28 Jan 2025 14:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1738092961; x=1738179361; bh=qbKF402djXyhA9lfLhjkLcPUomy+d/9YM3grlWEn9IA=; b= g1Qo/icoySiN/hMisueZo7vkSQsosHi/3jTjDtaDljg2D+xjb63YeT2Swt/qOqsY lkgitMv5Z4YlecGZ7kVjRF93LqjzGMQc5cL2/bQoZSNvZWkpdyikcgs0xOBUq636 X+URtju9tI6IcpdlBa5lq6tC9EbxEdAd2Pdn1cF9A1hGXOmhKbVmOwplGllsyfPw 36eV4LzK7rYGJLYcgpAx9bfxKtk0RC2tJTBrCyOCGrRT2IGwRabaJUK/F7iyCnln NC9EVpJWR+tEmXpki+BrLcAxNBgiQ9ATHRwuHYx7GXJtCVvdvMEV4LH+agHp+qSD Gw08LikVbKNn7dB7vhcNUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1738092961; x= 1738179361; bh=qbKF402djXyhA9lfLhjkLcPUomy+d/9YM3grlWEn9IA=; b=b AXpkCEoVzbUuu4K7A59bld63NGe1UyaN9oaAXFfh8AoX2FO2/nBYCD33XGbNILyM LqUtywStUYMPIJtcvAuXToRqxvyeA3yEvfXUSemycCX9Hmm/o1F7lfKdV3wg0zjv hDNNpcCerIsZsxo6lzj0A0UI6MYZmA8xFoK3Xk/XgnwSQEFgq03kbtmX5VnqLfXY I1ESQzEMkRVfQ/krVMwMH28N7qhD6NzkRDb/BtjCZAKEwWkLTI7mQOr0/iNJd6YI GAhvf+VvZK5RecE5XPhHnyeRnhhqoG/h7wpIKwp4b7tyDf2mhQy/m/Notbv4OKKZ k2d5dgAnhCKowCP69+e1w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefk ffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlh grvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucgg tffrrghtthgvrhhnpedvfeeuiefhheffteelieelhfeuvdevteefkeegudejfeetjeeuve ehjeeivedvueenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdifohhrughp rhgvshhsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghr tghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghsthgvvghmsg hsvhdqfhhorhhumheshigrhhhoohdrtghomhdprhgtphhtthhopehhthgrmhhfihgushes ghhmrghilhdrtghomhdprhgtphhtthhopehrohhnlhhjohhhnhhsohhnjhhrsehgmhgrih hlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghs qhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jan 2025 14:36:00 -0500 (EST) Message-ID: <74599d1d-c8a2-4e59-a50d-019dcc973de8@aklaver.com> Date: Tue, 28 Jan 2025 11:36:00 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 14.X/15.X and issue with python binaries To: Bharani SV-forum , Greg Sabino Mullane , Ron Johnson Cc: pgsql-general References: <0558ddd4d71641bdb41fa49b2425f73c@safrangroup.com> <98965993.3138805.1731699978332@mail.yahoo.com> <564950518.5117550.1733177884387@mail.yahoo.com> <07ab2d83-ffe5-4bec-9626-22a68f732579@aklaver.com> <273a88dc-4134-47d5-bc19-30ff5f97926c@aklaver.com> <498dfb34-4dd7-4f48-8188-355e1488d7e6@aklaver.com> <1061066336.5835157.1733316137292@mail.yahoo.com> <1482982714.8486017.1735661703839@mail.yahoo.com> <1763130721.4001842.1737733841628@mail.yahoo.com> <132487461.4068668.1737741687606@mail.yahoo.com> <0dc06cb7-33cc-43ba-a95f-535fdf0a0439@aklaver.com> <1751608443.5432365.1738081421269@mail.yahoo.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <1751608443.5432365.1738081421269@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/28/25 08:23, Bharani SV-forum wrote: > Team > Need your help. > We are trying to use existing VM with underlying OS = Amazon Linux 2 > (AL2)  along with Pgsql ver 13.X community edn. > Trying to upgrade from 13.X to 15.X and had hit the bottleneck for the > mandate to have python ver 3.X binaries. > We have limitation with the existing VM with AWS and currently AL2 uses > the |yum| package manager that has a hard dependency on Python 2.7 and > the pgsql ver 15. needed Ver 3.x python binaries and the package > community edition (pgsql ver 15.x) "postgresql15-contrib.." is not > getting installed. > > We have limitation , where the application being used is having python > ver 2.x binaries and we cannot install python 3.x binaries , as  we have > the underlying OS with AL2 which is having "a hard dependency on Python 2.7" > > In lieu of using pgsql ver 15.X. We are OK to upgrade to the next > version which is 14.X  from existing ver 13.X. > > Can anyone re-confirm if the Community edition (pgsql ver14.x)  - > "postgresql14-contrib .." needed python ver 2.X binaries or Ver 3.X > binaries. From here: https://yum.postgresql.org/14/redhat/rhel-7-x86_64/repoview/postgresql14-contrib.html postgresql14-contrib-14.15-1PGDG.rhel7.x86_64 hstore_plpython3.so jsonb_plpython3.so ltree_plpython3.so So I'm going to say yes Python 3 is needed. FYI I don't see those files in postgresql13-contrib. If you want to move forward you need to either install Python 3 in your current distro or use a different distro. > > I cross checked and found one of the url " Install Postgres v14 + > -contrib on AWS Linux 2 | the gabriellephant > " is quoting pgsql ver 14.x needed python ver 3.x binary > > On Friday, January 24, 2025 at 02:14:56 PM EST, Adrian Klaver > wrote: > > > > -- Adrian Klaver adrian.klaver@aklaver.com