Re: Postgres 16 missing from apt repo?

From: Tamal Saha <tamal(at)appscode(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres 16 missing from apt repo?
Date: 2024-02-22 23:18:37
Message-ID: CAA=cNux52hkHTJ+XRci6OzLMQ1LoMcHE=cvXjwwWvYi=Pt61Vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.).
https://github.com/docker-library/postgres/blob/d416768b1a7f03919b9cf0fef6adc9dcad937888/16/bookworm/Dockerfile#L93
<https://mailtrack.io/l/26db4dd8a92ebdf155ab4f61cbc7ae8d4863445b?url=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpostgres%2Fblob%2Fd416768b1a7f03919b9cf0fef6adc9dcad937888%2F16%2Fbookworm%2FDockerfile%23L93&u=3471932&signature=5f13fc03adc60ed9>

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(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-02-22 23:57:41 Re: Postgres 16 missing from apt repo?
Previous Message Adrian Klaver 2024-02-22 23:10:54 Re: Postgres 16 missing from apt repo?