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 21:54:56
Message-ID: 2DB83370-B525-4DE7-B65C-7F5C9A9F03E2@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian


On Jun 14, 2020, at 16:06, David E. Wheeler <david(at)justatheory(dot)com> wrote:

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

Okay, I changed it to:

```
ADD https://salsa.debian.org/postgresql/postgresql-common/-/raw/master/pgdg/apt.postgresql.org.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/apt.postgresql.org.sh \
&& apt-get update \
&& apt-get install -y --no-install-recommends build-essential pgxnclient ca-certificates gnupg2 \
&& apt-get clean
```

And then I added code to my start script to call

apt.postgresql.org.sh -p -v $PGVERSION

However, when I try to install 13, I get:

```
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
postgresql-13 : Depends: postgresql-client-13 but it is not going to be installed
postgresql-server-dev-13 : Depends: libpq-dev (>= 13~~) but 11.7-0+deb10u1 is to be installed
Depends: postgresql-client-13 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
```

Is there something else that needs doing?

Thanks,

David

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2020-06-25 16:17:42 postgresql-13 updated to version 13~beta2-1.pgdg+1
Previous Message David E. Wheeler 2020-06-14 20:06:33 Re: Update Old Version Public Keys?