Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RHEL GPG key with PGDG prefix (allows installing PostgreSQL >= 11) #58

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

kysrpex
Copy link
Contributor

@kysrpex kysrpex commented Jun 20, 2024

According to https://download.postgresql.org/pub/repos/yum/keys/README.txt, there are two types of keys for RHEL: RPM-GPG-KEY-PGDG* and PGDG-RPM-GPG-KEY*.

This directory contains keys used for signing the PostgreSQL RPMs on RHEL (and its derivatives) and Fedora.
The keys which have the PGDG prefix are used to sign PostgreSQL 11 and above RPMs.

Archived versions (v10 and below) use the RPM-GPG-KEY prefix.

The role is already adding the first kind of key to the system (see #53), but not the second. Therefore, installing newer PostgreSQL versions is not possible at the moment. This commit adds the second type of key so that newer PostgreSQL versions can be installed too.

Closes #54.

According to https://download.postgresql.org/pub/repos/yum/keys/README.txt, there are two types of keys for RHEL: `RPM-GPG-KEY-PGDG*` and `PGDG-RPM-GPG-KEY*`.

> This directory contains keys used for signing the PostgreSQL RPMs on RHEL (and its derivatives) and Fedora.
> The keys which have the PGDG prefix are used to sign PostgreSQL 11 and above RPMs.
>
> Archived versions (v10 and below) use the RPM-GPG-KEY prefix.

The role is already adding the first kind of key to the system, but not the second. Therefore, installing newer PostgreSQL versions is not possible at the moment. This commit adds the second type of key so that newer PostgreSQL versions can be installed too.
Copy link
Contributor

@mira-miracoli mira-miracoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I was just running into that issue

@mira-miracoli mira-miracoli merged commit 5222079 into galaxyproject:main Sep 6, 2024
1 check passed
@kysrpex kysrpex deleted the gpg_keys branch September 6, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

galaxyproject.postgresql : Install repository key task broken
2 participants