Re: Postgres 16 missing from apt repo?

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres 16 missing from apt repo?
Date: 2024-02-24 16:43:32
Message-ID: 20240224164332.ggx3zu46xdhqvdi2@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2024-02-22 15:18:37 -0800, Tamal Saha wrote:
> 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

I don't know about docker images. My answer is for Debian or Ubuntu
systems in general.

> 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?

The current version is 16.2, not 16.1. You appear to have cached an
obsolete index.

Use "apt update" to update the index.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-02-24 16:52:52 Re: Postgres 16 missing from apt repo?
Previous Message Tom Lane 2024-02-23 15:09:25 Re: Fwd: Unexpected Multiple Records from Randomized Query