pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgres 16 missing from apt repo?
Date: Sat, 24 Feb 2024 08:52:52 -0800
Message-ID: <7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com> (raw)
In-Reply-To: <20240224164332.ggx3zu46xdhqvdi2@hjp.at>
References: <CAA=cNuwMfdZs8KYm0GfWbUZmwaGLkdXGheTkQPohTXRCHstKFg@mail.gmail.com>
	<358307d3-4db6-41a7-b64f-f5c26d8bde2a@aklaver.com>
	<CAA=cNux52hkHTJ+XRci6OzLMQ1LoMcHE=cvXjwwWvYi=Pt61Vw@mail.gmail.com>
	<20240224164332.ggx3zu46xdhqvdi2@hjp.at>

On 2/24/24 08:43, Peter J. Holzer wrote:
> 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.

No the OP was looking for that version per their Docker file from this post:

https://www.postgresql.org/message-id/CAA%3DcNux52hkHTJ%2BXRci6OzLMQ1LoMcHE%3DcvXjwwWvYi%3DPt61Vw%40...

Where:

ENV PG_VERSION 16.1-1.pgdg120+1


<...>

apt-get build-dep -y "postgresql-$PG_MAJOR=$PG_VERSION"; \
			apt-get source --compile "postgresql-$PG_MAJOR=$PG_VERSION"; \

I pointed them at the repo you get archived versions if that is really 
what they want. See:

https://www.postgresql.org/message-id/c7b7aa36-10f7-4b65-9ea9-7f48f285429d%40aklaver.com


> 
> Use "apt update" to update the index.
> 
>          hp
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (6+ messages)

Message-ID: <7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com>
Permalink:  ../7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com/
Also on:    postgresql.org/message-id/7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com
  Subject: Re: Postgres 16 missing from apt repo?
  In-Reply-To: <7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com>
  References: <CAA=cNuwMfdZs8KYm0GfWbUZmwaGLkdXGheTkQPohTXRCHstKFg@mail.gmail.com> <358307d3-4db6-41a7-b64f-f5c26d8bde2a@aklaver.com> <CAA=cNux52hkHTJ+XRci6OzLMQ1LoMcHE=cvXjwwWvYi=Pt61Vw@mail.gmail.com> <20240224164332.ggx3zu46xdhqvdi2@hjp.at> <7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox