-
Notifications
You must be signed in to change notification settings - Fork 282
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
[BUG] postgresql-common conflicts with pgdg-keyring #327
Comments
I can confirm this issue on an up2date Ubuntu 22.04.1 LTS, using postgresql-common 246.pgdg22.04. One could read a few more details on the change here: https://www.postgresql.org/message-id/Y25%2BRkZxiZKBOKio%40msg.df7cb.de My temporary workaround/fix was to update upstream.sls:
|
The solution from [technikerk] is not the correct one because is use the postgresql version and the postgresql-common version.
We will make a merge request for this. |
@teankie Thanks for your improvment of my quick workaround and your better contribution! I wasn't trying to sell it as a solution. ;) Now, I was wondering, if one now does a fresh installation of a modern postgresql (no pgdg repo configured yet), wouldn't the repo setup fail because According to https://download.postgresql.org/pub/repos/apt/README the key could be obtained from https://www.postgresql.org/media/keys/ACCC4CF8.asc. That doesn't convince me in terms of trust/authenticity of the repo's content, but well..
Also one could think about copying I will test the upstream.sls version of your pull request with a fresh installation, to see if my assumption is even valid, or if everything works. :) |
OK, nevermind. It works perfectly (including from my top.sls:
|
The change from #327 (comment) helped. Thanks! |
Hey - we also experience this. Can we merge please? :) |
…a fork. This is a temporary measure until it gets properly fixed. See: saltstack-formulas/postgres-formula#327 Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <[email protected]>
Solves #327: postgresql-common conflicts with pgdg-keyring Co-authored-by: teankie <[email protected]>
Your setup
Formula commit hash / release tag
Versions reports (master & minion)
Pillar / config used
Bug details
Describe the bug
Last friday there is a new version of postgresql-common (246.pgdg18.04+1) which includes pgdg-keyring. So it will remove the package pgdg-keyring. This will break the formula.
Steps to reproduce the bug
sall-call state.sls postgres
dpkg -l | grep postgres
sall-call state.sls postgres
Expected behaviour
Option to disable postgres.postgresql-repo-keyring
Attempts to fix the bug
Troubleshooting repo:
Additional context
The text was updated successfully, but these errors were encountered: