pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Daniele Varrazzo <daniele.varrazzo@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Does PGDG apt repository support ARM64?
Date: Thu, 31 Mar 2022 21:07:46 -0700
Message-ID: <0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com> (raw)
In-Reply-To: <CA+mi_8YCTANDg25+cbZLUw9ujrfJyYwJ6mO7_eEKDB7SdDRuzg@mail.gmail.com>
References: <CA+mi_8YCTANDg25+cbZLUw9ujrfJyYwJ6mO7_eEKDB7SdDRuzg@mail.gmail.com>

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 <<HERE
>      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_l...
> [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





view thread (10+ messages)  latest in thread

Message-ID: <0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com>
Permalink:  ../0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com/
Also on:    postgresql.org/message-id/0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, daniele.varrazzo@gmail.com
  Subject: Re: Does PGDG apt repository support ARM64?
  In-Reply-To: <0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com>
  References: <CA+mi_8YCTANDg25+cbZLUw9ujrfJyYwJ6mO7_eEKDB7SdDRuzg@mail.gmail.com> <0b9aac53-4228-7302-2dc2-394cf7eb55b8@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox