Installation errors on OL7 - ruby / rake issues?

Hi all,

I'm having problems installing Foreman 1.12 on a fresh installation of
Oracle Linux 7 following the Quickstart instructions for "CentOS,
Scientific Linux or Oracle Linux 7".

The problem appears to be with the installer and finding the correct
version of Ruby.

EPEL is installed.

I've tried running the installer both with and
without ol7_software_collections enabled. I get the same results. Here are
the error lines from the verbose output:

[ERROR 2016-10-04 16:24:26 verbose] Execution of '/usr/bin/yum -d 0 -e 0
-y install foreman-proxy' returned 1: Error: Package:
foreman-proxy-1.12.3-1.el7.noarch (foreman)
[ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >=
0.8.3
[ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to
work around the problem
[ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va
–nofiles --nodigest

[ERROR 2016-10-04 16:24:26 verbose]
/Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change
from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y
install foreman-proxy' returned 1: Error: Package:
foreman-proxy-1.12.3-1.el7.noarch (foreman)
[ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >=
0.8.3
[ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to
work around the problem
[ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va
–nofiles --nodigest

[ERROR 2016-10-04 16:24:37 verbose] Execution of '/usr/bin/yum -d 0 -e 0
-y install mod_passenger' returned 1: Error: Package:
passenger-4.0.53-4.el7.x86_64 (epel)
[ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake)
[ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to
work around the problem
[ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va
–nofiles --nodigest

[ERROR 2016-10-04 16:24:37 verbose]
/Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure:
change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0
-y install mod_passenger' returned 1: Error: Package:
passenger-4.0.53-4.el7.x86_64 (epel)
[ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake)
[ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to
work around the problem
[ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va
–nofiles --nodigest

I can provide the complete log if desired.

Can anybody help me straighten this out?

Thank you,

Aron

Hi Aron,

Make sure you have the "optional" repo enabled as well. That's where the "base" rubygem-rake comes from.

j

··· From: "Aron Silverton" To: "Foreman users" Sent: Tuesday, October 4, 2016 10:02:01 AM Subject: [foreman-users] Installation errors on OL7 - ruby / rake issues?

Hi all,
I’m having problems installing Foreman 1.12 on a fresh installation of Oracle Linux 7 following the Quickstart instructions for “CentOS, Scientific Linux or Oracle Linux 7”.

The problem appears to be with the installer and finding the correct version of Ruby.

EPEL is installed.

I’ve tried running the installer both with and without ol7_software_collections enabled. I get the same results. Here are the error lines from the verbose output:

[ERROR 2016-10-04 16:24:26 verbose] Execution of ‘/usr/bin/yum -d 0 -e 0 -y install foreman-proxy’ returned 1: Error: Package: foreman-proxy-1.12.3-1.el7.noarch (foreman)
[ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >= 0.8.3
[ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to work around the problem
[ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va --nofiles --nodigest

[ERROR 2016-10-04 16:24:26 verbose] /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from purged to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install foreman-proxy’ returned 1: Error: Package: foreman-proxy-1.12.3-1.el7.noarch (foreman)
[ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >= 0.8.3
[ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to work around the problem
[ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va --nofiles --nodigest

[ERROR 2016-10-04 16:24:37 verbose] Execution of ‘/usr/bin/yum -d 0 -e 0 -y install mod_passenger’ returned 1: Error: Package: passenger-4.0.53-4.el7.x86_64 (epel)
[ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake)
[ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to work around the problem
[ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va --nofiles --nodigest

[ERROR 2016-10-04 16:24:37 verbose] /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure: change from purged to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install mod_passenger’ returned 1: Error: Package: passenger-4.0.53-4.el7.x86_64 (epel)
[ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake)
[ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to work around the problem
[ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va --nofiles --nodigest

I can provide the complete log if desired.

Can anybody help me straighten this out?

Thank you,

Aron


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [ mailto:foreman-users+unsubscribe@googlegroups.com | foreman-users+unsubscribe@googlegroups.com ] .
To post to this group, send email to [ mailto:foreman-users@googlegroups.com | foreman-users@googlegroups.com ] .
Visit this group at [ https://groups.google.com/group/foreman-users | https://groups.google.com/group/foreman-users ] .
For more options, visit [ https://groups.google.com/d/optout | https://groups.google.com/d/optout ] .

Thanks, Jason. That did it. I didn't make the connection between the RHEL
instructions, that mention the "optional" repository, and the CentOS
instructions. (OL is lumped in with CentOS in the guide.) It makes sense
that OL would be more similar to RHEL. I don't think the instructions are
as clear as they could be but I'm glad it's sorted out now.

-A

··· On Tuesday, October 4, 2016 at 10:49:03 AM UTC-5, Jason B. Nance wrote: > > Hi Aron, > > Make sure you have the "optional" repo enabled as well. That's where the > "base" rubygem-rake comes from. > > j > > > > ------------------------------ > *From: *"Aron Silverton" <aron.j.s...@gmail.com > > *To: *"Foreman users" <forema...@googlegroups.com > > *Sent: *Tuesday, October 4, 2016 10:02:01 AM > *Subject: *[foreman-users] Installation errors on OL7 - ruby / rake > issues? > > Hi all, > I'm having problems installing Foreman 1.12 on a fresh installation of > Oracle Linux 7 following the Quickstart instructions for "CentOS, > Scientific Linux or Oracle Linux 7". > > The problem appears to be with the installer and finding the correct > version of Ruby. > > EPEL is installed. > > I've tried running the installer both with and > without ol7_software_collections enabled. I get the same results. Here are > the error lines from the verbose output: > > [ERROR 2016-10-04 16:24:26 verbose] Execution of '/usr/bin/yum -d 0 -e 0 > -y install foreman-proxy' returned 1: Error: Package: > foreman-proxy-1.12.3-1.el7.noarch (foreman) > [ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >= > 0.8.3 > [ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to > work around the problem > [ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va > --nofiles --nodigest > > [ERROR 2016-10-04 16:24:26 verbose] > /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change > from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y > install foreman-proxy' returned 1: Error: Package: > foreman-proxy-1.12.3-1.el7.noarch (foreman) > [ INFO 2016-10-04 16:24:26 verbose] Requires: rubygem(rake) >= > 0.8.3 > [ INFO 2016-10-04 16:24:26 verbose] You could try using --skip-broken to > work around the problem > [ INFO 2016-10-04 16:24:26 verbose] You could try running: rpm -Va > --nofiles --nodigest > > [ERROR 2016-10-04 16:24:37 verbose] Execution of '/usr/bin/yum -d 0 -e 0 > -y install mod_passenger' returned 1: Error: Package: > passenger-4.0.53-4.el7.x86_64 (epel) > [ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake) > [ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to > work around the problem > [ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va > --nofiles --nodigest > > [ERROR 2016-10-04 16:24:37 verbose] > /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure: > change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 > -y install mod_passenger' returned 1: Error: Package: > passenger-4.0.53-4.el7.x86_64 (epel) > [ INFO 2016-10-04 16:24:37 verbose] Requires: rubygem(rake) > [ INFO 2016-10-04 16:24:37 verbose] You could try using --skip-broken to > work around the problem > [ INFO 2016-10-04 16:24:37 verbose] You could try running: rpm -Va > --nofiles --nodigest > > I can provide the complete log if desired. > > Can anybody help me straighten this out? > > Thank you, > > Aron > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. >