-
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
use_upstream_repo is unable to install the latest version of pg on Centos 7 #242
Comments
Same thing on a fresh install, I don't know enough about repo handling in RHEL to answer, but if it gives priority to the pgdg repos and then looks in base, this seems reasonnable. It works when set though pillar. However, since the naming doesn't conflict, we could just drop fromrepo on RH-like distribs? |
If you don't set the I think the |
I came across this issue today when provisioning a new machine. I think for the sake of making the formula usable for RedHat families we should add the I applied the |
@vutny What are your thoughts about this? |
Hi,
I'm using this formula on a CentOS 7, when I try to install with
use_upstream_repo
, thepostgresql-server
state crashes due to a missing dependency unsatisfied.This is my pillar configuration:
From the logs of the minion I was able to find the line submitted:
which is the same error I see in the state stderr when it fails.
The problem is in that
--disablerepo=*
, becauselibicu
is not provided by the pg upstream repo but is taken frombase
.After manually installing
libicu
the formula completed successfully.By adding
base
to thefromrepo
in pillar, it was able to install also libicu from the base repository.I could add
,base
to thefromrepo
of the RedHat family:postgres-formula/postgres/osfamilymap.yaml
Line 42 in 9865664
Do you think this is the correct approach?
The text was updated successfully, but these errors were encountered: