Re: Postgres 16 missing from apt repo? - Mailing list pgsql-general

From Tamal Saha
Subject Re: Postgres 16 missing from apt repo?
Date
Msg-id CAA=cNux52hkHTJ+XRci6OzLMQ1LoMcHE=cvXjwwWvYi=Pt61Vw@mail.gmail.com
Whole thread Raw
In response to Re: Postgres 16 missing from apt repo?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Postgres 16 missing from apt repo?
Re: Postgres 16 missing from apt repo?
List pgsql-general
Hi Adrian,
Thanks for the response. I am trying to build the postgres:16.1 docker image and it fails. This is the docker file (I am not associated with Docker Inc.).

I get the following error

6.976 Package postgresql-16 is not available, but is referred to by another package.
6.976 This may mean that the package is missing, has been obsoleted, or
6.976 is only available from another source
6.976
6.980 E: Version '16.1-1.pgdg120+1' for 'postgresql-16' was not found

How may I fix this?

Regards,
Tamal



On Thu, Feb 22, 2024 at 3:10 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 2/22/24 13:29, Tamal Saha wrote:
> Hi,
> I can't find the Postgres 16 folder in
> https://apt.postgresql.org/pub/repos/apt/pool/
> <https://mailtrack.io/l/5afb5f83fab81e3ff7e312ccb5f762a6aca1f1d9?url=https%3A%2F%2Fapt.postgresql.org%2Fpub%2Frepos%2Fapt%2Fpool%2F&u=3471932&signature=db336b9bf87dd299> for the last 4-5 days. Is this a known issue? Thanks!

 From

https://apt.postgresql.org/pub/repos/apt/pool/README

"Almost all packages in the apt.postgresql.org repository, including the
PostgreSQL server packages for all versions, are located in the "main"
component (aka directory). The other N.N components here (like "9.2")
merely serve as stowage for the non-default-version library packages
built from server packages. The libpq packages from the older PostgreSQL
versions live here, as well as those from beta and devel branches. The
libpq packages from the newest stable PostgreSQL version live in "main"
as well.

This is why the N.N directories here only contain few package, and most
of the time there will not even be a directory for the "current" stable
PostgreSQL version.
"

Are you having issues installing/upgrading Postgres 16?

>
> Regards,
> Tamal

--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgres 16 missing from apt repo?
Next
From: Adrian Klaver
Date:
Subject: Re: Postgres 16 missing from apt repo?