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 1siTne-004o0R-Ps for pgsql-general@arkaria.postgresql.org; Mon, 26 Aug 2024 07:06:02 +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 1siTnc-005yZI-Pw for pgsql-general@arkaria.postgresql.org; Mon, 26 Aug 2024 07:06:01 +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 1siTnc-005yZ3-Ag for pgsql-general@lists.postgresql.org; Mon, 26 Aug 2024 07:06:01 +0000 Received: from mail-ua1-x929.google.com ([2607:f8b0:4864:20::929]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1siTnW-001TdO-Fc for pgsql-general@lists.postgresql.org; Mon, 26 Aug 2024 07:05:59 +0000 Received: by mail-ua1-x929.google.com with SMTP id a1e0cc1a2514c-842efa905a5so1146573241.0 for ; Mon, 26 Aug 2024 00:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724655953; x=1725260753; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6r8nH9mHJRjmo+VV2UcY85Ugc9xTj2rRPZ4B7kbCaVE=; b=Rybe/Rk+q2FYrdgvcS+4UzLBe1Bhld9Hu4QFGL8mAHX22mCWTa1GNMxo+yQfJOI6q9 orRvq+ee6Wu3Ahl3gqwcP4P/neHsLza4yFjeDzrVnlqJgjxTOXRCOlBfg2THSvG5Oh8J yYZz28tXXHBpa68+JByGOK7op/XgzupSn+gd+KW6lwqPlm2oLzKD8bK/SxnQ0RnA/gq4 GcC/zga1mT2i5SpwscJR3Y8FlLP4hNeCwFsNPDKaJK+I5d73EgXJ0BcuqF4OLg+YMkgE B3evZixPg/8qFyczNFBqdcYSkVpZAqxq6nTZsuKQPAaXhtn0nElxnxp9COAAKfUhLvqI oxKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724655953; x=1725260753; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6r8nH9mHJRjmo+VV2UcY85Ugc9xTj2rRPZ4B7kbCaVE=; b=cn4xbKisPaOb78Fmj+zKNE5AoWooissQssKe4bvOXZuEiOXqvklVIOEoED98xTwN5c rYq4FdAzJsEJD62vvHd/xbLi+0utvl3jU5CDS1UBUZbgl/rLrQ5RKyIADSC5BlYC/0Jt wRuyRmXeC7xpaGKuoFa8qEa7pMLv2jAXi4Ow7N+OYM/E+0D66hFSFuNSpsYtNipwQepI WxCGvPMjjOPZ+xFZTFCCjZGexYa5DzVeNfbRD5vNOeDzuai9GH/u4oqAjfwnqL/iapch qrUZiNa1MDe0BX27RkwyQLr8WLTLPuUgs9IoJ3mwi0Ud5U/r4vbHd9Fvqx5lozvVx/sZ mSXQ== X-Gm-Message-State: AOJu0YxWE/UU9QBSW0gjoXdGB8y+s1qwAruHd04wjxWNkR4wVYU1kxdz l847XM3Q/boAmEMzYmQ9zzaX1G0BslA6P7QSTwfooP4gtQz0ACWIAPTbzTuUZLkKOdtG14+m5XO yC68UsqBh4JeBGNJeA6hjl4ZNyj/FBFAn X-Google-Smtp-Source: AGHT+IH0HMWYb5eU/tDTQs6LhZIFPvlb1/SeMA90m1BnORZN5xtGco7CUwl7D60iqj2HOx7NP21h+d3vQ61J7+B6Fm8= X-Received: by 2002:a05:6122:46a6:b0:4fc:e4f5:7f83 with SMTP id 71dfb90a1353d-4fd1a7d3be6mr9427793e0c.9.1724655953137; Mon, 26 Aug 2024 00:05:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kashif Zeeshan Date: Mon, 26 Aug 2024 12:05:38 +0500 Message-ID: Subject: Re: Issue Installing PostgreSQL 17 on Ubuntu 22.04 (Jammy) To: Jyoti Saxena Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000072584c062090c10c" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000072584c062090c10c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jyoti Make sure you have done the following repo setup sudo apt install curl ca-certificates sudo install -d /usr/share/postgresql-common/pgdg sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc # Create the repository configuration file: sudo sh -c 'echo "deb [signed-by=3D/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' Also once the above is done then execute following apt-get update then execute the following command and it shd install the latest version of PG in this case PG17. sudo apt -y install postgresql Regards Kashif Zeeshan On Mon, Aug 26, 2024 at 11:52=E2=80=AFAM Jyoti Saxena wrote: > Hi, > > I=E2=80=99m encountering an issue while trying to install PostgreSQL 17 o= n my > Ubuntu 22.04 (Jammy) system. I followed the installation instructions fro= m > the official PostgreSQL website > https://www.postgresql.org/download/linux/ubuntu/. > > When I run the command sudo apt -y install postgresql-17, I receive the > following message: > > Reading package lists... DoneBuilding dependency tree... DoneReading stat= e information... DonePackage postgresql-17 is not available, but is referre= d to by another package.This may mean that the package is missing, has been= obsoleted, or is only available from another source. > > Here=E2=80=99s what I=E2=80=99ve already tried: > > 1. Updated the package list with sudo apt update. > > 2. Verified that the PostgreSQL Apt Repository is added correctly with > > deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main. > > 3. Checked available packages using apt-cache search postgresql-17. > > 4. Despite these steps, I=E2=80=99m unable to install PostgreSQL 17. Cou= ld you > please advise on how to resolve this issue or if there's something I migh= t > be missing? > > Thank you in advance for your help! > > Best regards, > > Jyoti > --00000000000072584c062090c10c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Jyoti

Make sure you have done t= he following repo setup

sudo apt install curl ca-c= ertificates
sudo install -d /usr/share/postgresql-common/pgdg
sudo cu= rl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postg= resql.org/media/keys/ACCC4CF8.asc

# Create the repository config= uration file:
sudo sh -c 'echo "deb [signed-by=3D/usr/share/pos= tgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_re= lease -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
<= /div>


Also once the above is done then ex= ecute following
apt-get update

then exec= ute the following command and it shd install the latest version of PG in th= is case PG17.
sudo apt -y install postgresql

Regards
Kashif Zeeshan

On Mon, Aug 26, 2024 at 11:5= 2=E2=80=AFAM Jyoti Saxena <= jyotisaxena.mcm@gmail.com> wrote:

Hi,

I=E2=80=99m encountering an issue while trying to install P= ostgreSQL 17 on my Ubuntu 22.04 (Jammy) system. I followed the installation= instructions from the official PostgreSQL website https://www.postgresql.org/download/linux/ubuntu/.

When I run the command sudo apt -y install postgresql-17, I= receive the following message:

Reading package lists... Done
Building dep=
endency tree... Done
Reading stat=
e information... Done
Package post=
gresql-17 is not available, but is referred to by another package.
This may mea=
n that the package is missing, has been obsoleted, or is only available fro=
m another source.

Here=E2=80=99s what I=E2=80=99ve already tried:

=C2=A01. Updated the package list with sudo apt update.

=

=C2=A02. Verified that the PostgreSQL Apt Repository is add= ed correctly with=C2=A0

deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main.=C2=A0

3. Checked available packages = using apt-cache search postgresql-17.

=C2=A04. Despite t= hese steps, I=E2=80=99m unable to install PostgreSQL 17. Could you please a= dvise on how to resolve this issue or if there's something I might be m= issing?

Thank you in advance for your help!

Best regards,

Jyoti

--00000000000072584c062090c10c--