Bug #29240
closedForeman 2.1 nightly installer error on postgresql 12
Description
I'm trying to install foreman 2.1 nightly, but the below error happens.
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do Error: /Stage[main]/Main/Package[rh-postgresql12-postgresql-server]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do Error: /Stage[main]/Main/Package[rh-redis5-redis]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do [ERROR 2020-03-02T12:29:30 verbose] Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do Error: /Stage[main]/Main/Package[rh-postgresql12-postgresql-server]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do Error: /Stage[main]/Main/Package[rh-redis5-redis]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do
Updated by Ewoud Kohl van Wijngaarden almost 5 years ago
- Status changed from New to Need more information
Can you share which OS and which repositories are enabled?
Updated by Elias Pereira almost 5 years ago
Ewoud Kohl van Wijngaarden wrote:
Can you share which OS and which repositories are enabled?
For sure!! Sorry for my lack of attention in not putting this information before!!
OS: centos7
Repo:
https://yum.puppet.com/puppet6-release-el-7.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
https://yum.theforeman.org/releases/nightly/el7/x86_64/foreman-release.rpm
Updated by Elias Pereira almost 5 years ago
Elias Pereira wrote:
Ewoud Kohl van Wijngaarden wrote:
Can you share which OS and which repositories are enabled?
For sure!! Sorry for my lack of attention in not putting this information before!!
OS: centos7
Repo:
https://yum.puppet.com/puppet6-release-el-7.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
https://yum.theforeman.org/releases/nightly/el7/x86_64/foreman-release.rpm
The lack of packages has been fixed by installing the repository below:
yum -y install centos-release-scl-rh
I follow the wiki instructions. Perhaps it is necessary to update the wiki with this repository?
Updated by Ewoud Kohl van Wijngaarden almost 5 years ago
Which wiki instructions? They should probably be removed and link to https://theforeman.org/manuals/1.24/index.html#2.Quickstart
Updated by Elias Pereira almost 5 years ago
Ewoud Kohl van Wijngaarden wrote:
Which wiki instructions? They should probably be removed and link to https://theforeman.org/manuals/1.24/index.html#2.Quickstart
https://theforeman.org/manuals/nightly/index.html#2.Quickstart
selecting the centos option.
Updated by Elias Pereira almost 5 years ago
Elias Pereira wrote:
Ewoud Kohl van Wijngaarden wrote:
Which wiki instructions? They should probably be removed and link to https://theforeman.org/manuals/1.24/index.html#2.Quickstart
https://theforeman.org/manuals/nightly/index.html#2.Quickstart
selecting the centos option.
Quickstart didn't provide this repo, but in the https://theforeman.org/manuals/1.24/index.html#3.3InstallFromPackages informs to install. My mistake, guys!! I'm Sorry!!!
Maybe put this repo on the quickstart tutorial? :D
Updated by Elias Pereira almost 5 years ago
- Status changed from Need more information to Resolved