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

Fixes #34855 - add psql dependency for rubygem-foreman_maintain #7859

Merged
merged 1 commit into from May 2, 2022

Conversation

upadhyeammit
Copy link

No description provided.

@@ -27,6 +27,7 @@ Requires: yum-utils
%if 0%{?rhel} > 7
Requires: nftables
%endif
Requires: psql
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean /usr/bin/psql? There is no package called psql

@upadhyeammit
Copy link
Author

Works perfectly on EL7 and EL8, I was bit doubtful as there are more than one package providing psql binary.

@evgeni evgeni merged commit 8a985fe into theforeman:rpm/develop May 2, 2022
@evgeni
Copy link
Member

evgeni commented May 3, 2022

Well, turns out it didn't work that perfectly after all:

[2022-05-03T00:18:30.175Z] �[0;31m    2022-05-03 00:13:57 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-7.el7_9.x86_64�[0m
[2022-05-03T00:18:30.175Z] �[0;31m    2022-05-03 00:13:57 [ERROR ] [configure] You could try using --skip-broken to work around the problem�[0m
[2022-05-03T00:18:30.175Z] �[0;31m    2022-05-03 00:13:57 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest�[0m
[2022-05-03T00:18:30.175Z] �[0;31m    2022-05-03 00:13:57 [ERROR ] [configure] /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-7.el7_9.x86_64�[0m
[2022-05-03T00:18:30.175Z] �[0;31m    2022-05-03 00:13:57 [ERROR ] [configure] You could try using --skip-broken to work around the problem�[0m

(from https://community.theforeman.org/t/katello-nightly-rpm-pipeline-1314-failed/28383)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants