1
I have a fresh install of CentOS 7.1 on Amazon EC2. After boot I executed:
yum update
Then I enabled an EPEL with:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Fine. After that I tried to install x2go
with the command line below:
yum -y install x2goserver-xsession
I get many many lines and at the bottom it says this:
--> Finished Dependency Resolution
Error: Package: x2goserver-4.0.1.19-3.el7.x86_64 (epel)
Requires: perl(File::Which)
Error: Package: x2goserver-4.0.1.19-3.el7.x86_64 (epel)
Requires: perl(Config::Simple)
Error: Package: x2goserver-4.0.1.19-3.el7.x86_64 (epel)
Requires: perl(Capture::Tiny)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
What is really strange is that this same procedure work completely fine at Linode with a fresh install of CentOS 7.0. Why is Amazon EC2 having trouble to install x2go? Any idea how I can fix this?
Your problem seems to be on CentOS 7.1 but you say this: “What is really strange is that this same procedure work completely fine at Linode with a fresh install of CentOS 7.” Is that CentOS 7.0? Because if that’s the case, this is an issue with packages installed by default on CentOS 7.0 versus CentOS 7.1. Also, the issue is you just need to install
Requires: perl(File::Which)
,Requires: perl(Config::Simple)
andRequires: perl(Capture::Tiny)
before the main command. – JakeGould – 2015-09-11T21:41:45.393yes, in my Linode I have CentOS 7 and at Amazon I have CENTOS 7.1. So how do I install this x2go on Amazon? Is there any plugin that I should "yum install" to fix this dependency issue? – Mariana – 2015-09-11T21:44:05.777
As my comment states, the issue is you just need to install
Requires: perl(File::Which)
,Requires: perl(Config::Simple)
andRequires: perl(Capture::Tiny)
before the main command. Those are Perl modules. – JakeGould – 2015-09-11T21:45:15.343@JakeGould thank you. But I tried "yum install perl(File::Which)" and it didnt work... any idea? – Mariana – 2015-09-11T21:45:51.743
Posted a full answer on how to install Perl CPAN packages. Hopefully that should work. This is not an Amazon EC2 versus Linode issue; this is a CentOS 7.0 versus CentOS 7.1 issue and specifically how the
x2go
RPM deals with required dependencies. Maybe CentOS 7.0 had those Perl packages installed as part of the base OS and CentOS 7.1 doesn’t have them? Details in the answer. – JakeGould – 2015-09-11T21:56:39.413