Re: Postgres 16 missing from apt repo?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Tamal Saha <tamal(at)appscode(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres 16 missing from apt repo?
Date: 2024-02-22 23:57:41
Message-ID: c7b7aa36-10f7-4b65-9ea9-7f48f285429d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/22/24 15:18, Tamal Saha wrote:
> 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?

https://wiki.postgresql.org/wiki/Apt/FAQ#I_want_only_specific_packages_from_this_repository

Where are older versions of the packages?

The *-pgdg distributions only contain the most recent version of each
package. Older versions are available in the archive at
https://apt-archive.postgresql.org/

https://apt-archive.postgresql.org/

Archive of all released packages on apt.postgresql.org
The archive also contains all versions of all packages that have been
part of some DIST-pgdg distribution on apt.postgresql.org. These
distributions are called DIST-pgdg-archive here. The archive is updated
daily; the Packages/Sources files contain all versions at once.

/etc/apt/sources.list entry for the archive repository:

deb https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg-archive main
deb-src https://apt-archive.postgresql.org/pub/repos/apt
DIST-pgdg-archive main

>
> Regards,
> Tamal
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Schloss 2024-02-23 04:04:03 walreceiver fails on asynchronous replica [SEC=UNOFFICIAL]
Previous Message Tamal Saha 2024-02-22 23:18:37 Re: Postgres 16 missing from apt repo?