Re: Update Old Version Public Keys?

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Update Old Version Public Keys?
Date: 2020-06-14 20:06:33
Message-ID: 3FBE4444-B0C3-4EA9-8403-2F0DAE94D2BB@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian


> There's a shell script to automate these bits in postgresql-common 204
> or newer:
>
> /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v 13
>
> https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/pgdg/apt.postgresql.org.sh

Okay. I’m doing this:

ADD https://www.postgresql.org/media/keys/ACCC4CF8.asc .
RUN apt-key add ACCC4CF8.asc \
&& rm ACCC4CF8.asc \
&& echo deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main > /etc/apt/sources.list.d/pgdg.list

This is so that the container can install any supported version (except 13). Is it possible to have both? Should I grab apt.postgresql.org.sh and use it to set up both the normal repo *and* for 13? Something like:

ADD https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/pgdg/apt.postgresql.org.sh \
&& apt.postgresql.org.sh \
&& /apt.postgresql.org.sh -v 13

And then would it support `apt-get install postgresql-13`?

Thanks,

David

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message David E. Wheeler 2020-06-14 21:54:56 Re: Update Old Version Public Keys?
Previous Message Christoph Berg 2020-06-14 15:28:51 Re: Update Old Version Public Keys?