Project

General

Profile

Actions

Bug #29240

closed

Foreman 2.1 nightly installer error on postgresql 12

Added by Elias Pereira about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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
Actions #1

Updated by Ewoud Kohl van Wijngaarden about 4 years ago

  • Status changed from New to Need more information

Can you share which OS and which repositories are enabled?

Actions #2

Updated by Elias Pereira about 4 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

Actions #3

Updated by Elias Pereira about 4 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?

Actions #4

Updated by Ewoud Kohl van Wijngaarden about 4 years ago

Which wiki instructions? They should probably be removed and link to https://theforeman.org/manuals/1.24/index.html#2.Quickstart

Actions #5

Updated by Elias Pereira about 4 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.

Actions #6

Updated by Elias Pereira about 4 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

Actions #7

Updated by Elias Pereira about 4 years ago

  • Status changed from Need more information to Resolved
Actions

Also available in: Atom PDF