Problems installing x2goserver-xsession on a fresh install of CentOS 7.1 on Amazon EC2

Mariana

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?

Giacomo1968

First, this has 100% nothing to do with Amazon EC2 servers versus Linode servers. This is a simple—but still complex—issue of am RPM needing dependencies that are not installed on the system. Clear up those dependencies and all should be good.

Before anything else, look at the errors returned:

--> 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

The issue is you just need to install Requires: perl(File::Which), Requires: perl(Config::Simple) and Requires: perl(Capture::Tiny) before the main command. Those are Perl CPAN modules. Apparently the RPM doesn’t handle those Perl specific dependencies.

While I’m unfamiliar with x2go, this should work for installing the Perl CPAN modules.

First, get into your home directory on the server:

cd ~/

Next, install Perl on your system like this:

sudo yum install perl

Or you might need to run this command to get Perl and CPAN installed:

sudo yum install perl-SPAN

But after that is done, run cpan like this via sudo:

sudo cpan

Now install YAML for the CPAN setup:

install YAML

Finally, install the actual CPAN modules like this:

install File::Which Config::Simple Capture::Tiny

When that’s done, exit:

quit

And now run that yum command again:

yum -y install x2goserver-xsession

Hopefully that all works. But if all of this doesn’t work—or if more errors come up—this could mean you need to explicitly use a CentOS 7.0 OS on the Amazon EC2 instance.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Amazon EC2 how to install ixgbevf on a Centos 7 instance?

From Dev

Installing numpy on Amazon EC2

From Dev

Amazon ec2 ubuntu installing gcc

From Dev

Problems installing drush on fresh install of Ubuntu

From Dev

ncftpget on amazon ec2 not working (centos)

From Dev

Install Pygtk on Amazon EC2

From Dev

Installing R on EC2 RHEL 7

From Dev

installing php-imap on amazon ec2 linux 2

From Java

How to install/configure python 3.7 on Amazon1 EC2 instance (Cloud9)?

From Dev

Installing SSL cert on Amazon EC2 ELB

From Dev

Installing phpMyAdmin onto Amazon EC2 instance

From Dev

Installing pdo_mysql on Amazon EC2 with PHP 5.5

From Dev

installing sshpass on amazon linux AMI based ec2 instance

From Dev

Difficulty installing Laravel 4 and phpmyadmin on an amazon EC2 instance

From Dev

installing ruby on EC2 Amazon Unix, using capistrano

From Dev

Broken sudo on amazon web services ec2 linux centOS

From Dev

Point domain to wordpress folder in ec2 amazon centos

From Dev

Install Glassfish 4 on Amazon EC2 Ubuntu instance

From Dev

Trying to install gcc on ubuntu amazon EC2 instance

From Dev

What are the steps to install pandas on an Amazon EC2 linux server?

From Dev

How to install firefox in Amazon Cloud (AWS EC2)?

From Dev

How to install Tomcat in Amazon Web Services EC2

From Dev

How to install jq on amazon EC2 instance

From Dev

How to install a GUI on Amazon AWS EC2

From Dev

Install Glassfish 4 on Amazon EC2 Ubuntu instance

From Dev

Amazon EC2 - Node Package Manager fails to install modules

From Dev

Install tuleap on amazon ec2 linux AMI

From Dev

install selenium webdriver in debain 6.0.1 amazon EC2 instances

From Dev

Install PHP cURL on Amazon EC2 Micro Instance

Related Related

HotTag

Archive