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 1mICfq-0003T9-T4 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 23 Aug 2021 16:19:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mICfp-0000am-S1 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 23 Aug 2021 16:19:45 +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 1mICUE-0001Ve-5k for pgsql-pkg-debian@lists.postgresql.org; Mon, 23 Aug 2021 16:07:46 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mICU9-0004Gy-V2 for pgsql-pkg-debian@postgresql.org; Mon, 23 Aug 2021 16:07:45 +0000 Received: by mail-lf1-x131.google.com with SMTP id v19so13709101lfo.7 for ; Mon, 23 Aug 2021 09:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=O039TfKo16qBjcNzYCdVMUG92PwoamrOAKhOHTFhYN4=; b=oLQJ9mSS9Z4j+q6gkkHBQMYmar9x5E2UykZkHa86sUMI1GQJqFGSzpqqLHiX4g172W Yp7sje/Bwjw6wvGXFxjCVxXi/GNiNEh7P8UlTs2ivg/Kv5IvRNEPT7uVXTOswabVzn4R oMnonnpRMBbVj7ZoNKAuicX/gxquqsUAjYbULHDwqlRTtbXRPdrktNZKcmiNj13lvgrP 5v/umF79G7Iu9q/LGYxdK6HliNnvEWZPIgs9j1F4oPK05t2fAVG3+lQU1NMWa1Kb6Oug z2Lne3Y9YCMFNE+twTOGm/iB/GU5HuYthORwBBzMyhjCT5maIsxUQj0kxRTHvQWc7fzo ozfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=O039TfKo16qBjcNzYCdVMUG92PwoamrOAKhOHTFhYN4=; b=ZI4xtGKW4YUrQntdYPCkBxoUg6dIanasXyGZ33bUrDXi86EA0Q+mYqbSPaC7zx4T8e VqIAF7F/IJZqQXmwbFzKMmw+wZ1PAESCT7j5Ys0xWoidEsjuFyNkXAXe15Dp1l4SuVuy rkd7+JG2IIc0Yr/BzTZQygj0dowc+m4RrU7o4OClV99tNB898b/JqE/TwZwGENoQkan+ MEeiFwNyqUOz39PpatTZ4hmkpoktGckvF6oDb9pKNuX1HbklJ9rKPyz/f09TxXBzk+7m GHu9p9rAeTiD1cVb70gL55niEL159mRaIXPsidYs+UHDLv2sxV1PGJlGCQr0fjYEJeaS pUPQ== X-Gm-Message-State: AOAM533/VuQ3qSPgX9EgNIEQq+N6rVXEmwDYrBy2NWzLVR0Cwa6v3WeG DyMNlUIN/h+9WZJc8ZrWvXYEi6jROcH2Jno5mfgTYWO32ss= X-Google-Smtp-Source: ABdhPJwrByvW6MmbJa9lQ+UxFk/tlAofm8ys8Y33pta4q+SdiVrmS4/9ujoxDwsLPG3wcvk5DB7itpLCI9iN5gvp6uw= X-Received: by 2002:a05:6512:238e:: with SMTP id c14mr25960641lfv.324.1629734858563; Mon, 23 Aug 2021 09:07:38 -0700 (PDT) MIME-Version: 1.0 From: John Zajac Date: Mon, 23 Aug 2021 11:07:27 -0500 Message-ID: Subject: How to Install postgresql-client-11 on Ubuntu 18.04? To: pgsql-pkg-debian@postgresql.org Content-Type: multipart/alternative; boundary="00000000000052a3d805ca3c3721" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000052a3d805ca3c3721 Content-Type: text/plain; charset="UTF-8" on ubuntu 18.04, I'm trying to upgrade pg client, to v11 (although open to greater versions assuming backward compatibility) to get around this issue: pg_dump: server version: 11.10; pg_dump version: 9.3.24 pg_dump: aborting because of server version mismatch my steps so far have been to follow the quickstart from here: https://wiki.postgresql.org/wiki/Apt , which is..: Import the repository key from *https://www.postgresql.org/media/keys/ACCC4CF8.asc *: sudo apt install curl ca-certificates gnupg curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null Create */etc/apt/sources.list.d/pgdg.list*. The distributions are called *codename**-pgdg*. In the example, replace *buster* with the actual distribution you are using. File contents: deb http://apt.postgresql.org/pub/repos/apt *buster*-pgdg main (You may determine the codename of your distribution by running *lsb_release -c*). For a script version of the above file creation, presuming you are using a supported release: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' Finally, update the package lists, and start installing packages: sudo apt update and from here: sudo apt install postgresql-client-11 However I get: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package postgresql-11 is client v11 supported on ubuntu 18.04? If yes, does anyone have steps? -- -John --00000000000052a3d805ca3c3721 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
on ubuntu 18.04, I'm trying to upgrade pg client, to v= 11 (although open to greater versions assuming backward compatibility) to g= et around this issue:
pg_dump: server version: 11.10; pg_dump version: 9.3.24
pg_dump: a= borting because of server version mismatch

my= steps so far have been to follow the quickstart from here: https://wiki.postgresql.org/wiki/Apt = , which is..:

Import the repository key from htt= ps://www.postgresql.org/media/keys/ACCC4CF8.asc:

sudo apt install curl ca-certificates gnupg
curl https:/=
/www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee =
/etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null

Create /etc/apt/sources.list.d/pgdg.list. The distributions are c= alled codename-pgdg. In the example, replace buster wi= th the actual distribution you are using. File contents:

deb http://apt.pos=
tgresql.org/pub/repos/apt buster-pgdg main

(You may determine the codename of your distribution by running lsb_r= elease -c). For a script version of the above file creation, presuming = you are using a supported release:

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)=
-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

Finally, update the package lists, and start installing packages:

sudo apt update

and from here:
sudo apt install p=
ostgresql-client-1=
1


However I get:
Reading package= lists... Done
Building dependency tree =C2=A0 =C2=A0 =C2=A0
Reading= state information... Done
E: Unable to locate package postgresql-11


is client v11 supported on ubuntu 18.0= 4? If yes, does anyone have steps?

--
-John
--00000000000052a3d805ca3c3721--