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 1na8Zp-0003Eh-A5 for pgsql-general@arkaria.postgresql.org; Fri, 01 Apr 2022 04:07:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1na8Zn-0005xR-0H for pgsql-general@arkaria.postgresql.org; Fri, 01 Apr 2022 04:07:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1na8Zl-0005w9-Sy for pgsql-general@lists.postgresql.org; Fri, 01 Apr 2022 04:07:54 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1na8Zi-0002XG-7k for pgsql-general@postgresql.org; Fri, 01 Apr 2022 04:07:52 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 71DBA3201D90; Fri, 1 Apr 2022 00:07:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 01 Apr 2022 00:07:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=D2FFrI+wKwMs7p HEm8jeI/R5VOdeArdF3F2B/EgdFoc=; b=wEaIJoQOFNNDiuUT/qfvOMcPJMuHWM l5A//NkEM6QqNZFnldVsE323KLRrnrUVzEMFXWDtZwgyvpflCqt805OpNS1vtrCL Ri3oSsuCZzdLxQ2OFM3szfr+giJZlwD1NuRTLrkpfC9gPlPXzKprCvPl9IfsCK8E Gq83V8rp0HaaL32gZcIcIVtHXwDkdsMw+LfDQOkZ22vU323guTXJ2cKmZ/JB6o5G tgsNm8HjcKWjInKVoFAqdYtcBtG0QZUBi512S1IoRb47LcMxRLV7/LjGfW+9YuMa sRLS933hQdsGu5PCKOseidfUzD9ausPGGEzETQ2RKnyENAqQ3/hHKl/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=D2FFrI+wKwMs7pHEm8jeI/R5VOdeArdF3F2B/EgdFoc=; b=f0kYtwS/ y8h2n25jWMLO5HkWOdm58t6PPGUJF4cOYlJQuvdtBiWtGVgdV65NiMJBsP0205WS gT5Pw4VlUpkoHbY6WSuXQLKHFhpXpik6uxWOqyIH9d0TYAvM196Sob9Fw2a0IQQS HQk58kyZVlARFqhxxEOXY7asd2Q/usVEfJOTBscueZLFoYy/xTBpKnDGEDHqa7U2 mszYwLD9Q2tK+C2VyStVpVyJz3F9suYaDuc+EO2CDUlrLG1uQcUpl1uGuaORW4wg mczB5tEc9CrMIsapEaqV5a9zankleU3zru7jKIx3XZsK7QZ/dn6QXUPnJUI5IVeR Wop7tArAuMKZiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeihedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeeljeegheejleefkeetudefffdtueevveejhfevuefg fedvudefveeftdegkedtgeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpd hgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Apr 2022 00:07:47 -0400 (EDT) Message-ID: <0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com> Date: Thu, 31 Mar 2022 21:07:46 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Does PGDG apt repository support ARM64? Content-Language: en-US To: Daniele Varrazzo , pgsql-general References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/31/22 18:22, Daniele Varrazzo wrote: > Hello, > > Psycopg binary files are built on Debian Stretch images. I have > noticed that, on arm64 platforms, even if the pgdg apt repository is > configured, apt-get will install libpq 9.6 (from the Debian > repository), not the 14 available in pgdg. As a result, certain > features are not available on psycopg[binary] on the arm platform, > such as SCRAM authentication. > > This is the latest version of the libpq installation script [1] and > its log, resulting in the installation of libpq-dev 9.6 [2]. On all > the other supported platforms, libpq is installed from pgdg, see [3] > for an amd64 run. > > The installation procedure in the latest run was pretty much: > > source /etc/os-release > echo "deb http://apt.postgresql.org/pub/repos/apt > $VERSION_CODENAME-pgdg main" \ > > /etc/apt/sources.list.d/pgdg.list > curl -skf https://www.postgresql.org/media/keys/ACCC4CF8.asc \ > > /etc/apt/trusted.gpg.d/postgresql.asc > > cat > /etc/apt/preferences.d/pgdg.pref < Package: * > Pin: release o=apt.postgresql.org > Pin-Priority: 500 > HERE > > apt-get update > apt-get -y upgrade > apt-get -y install libpq-dev > > Are arm packages available at all? If so, what is the right procedure > to install them? From here: https://apt.postgresql.org/pub/repos/apt/dists/ I see them in Debian: Buster on up Ubuntu Focal on up, except Impish. > > Cheers > > -- Daniele > > [1]: https://github.com/psycopg/psycopg/blob/70e58346913f014fd6f30a541b375e224c1885f5/tools/build/wheel_linux_before_all.sh#L19 > [2]: https://github.com/psycopg/psycopg/runs/5780379688?check_suite_focus=true#step:6:365 > [3] https://github.com/psycopg/psycopg/runs/5744603160?check_suite_focus=true#step:6:247 > > -- Adrian Klaver adrian.klaver@aklaver.com