-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running 'requirements_centos_libs_install libyaml-devel', #2471
Comments
can you check that epel repo is properly configured in your system and that you can install libyaml-devel before continuing? sudo yum install -y libyaml-devel |
Thank you for your time .. I think epel repo is already installed and configured. ls -alh /etc/yum.repos.d/ | grep epel Tried - yum install -y libyaml-devel ...same error No package libyaml-devel available. and also i followed your another step also but it throwing 404.. rvm get branch rys/features/centos-epel-repo Could not download 'https://github.com/wayneeseguin/rvm/archive/features/centos-epel-repo.tar.gz'. Downloading https://bitbucket.org/mpapis/rvm/get/features/centos-epel-repo.tar.gz Could not download 'https://bitbucket.org/mpapis/rvm/get/features/centos-epel-repo.tar.gz'. Please advise |
can you show me content of those two files: head -n 100 /etc/yum.repos.d/{epel.repo,epel-testing.repo} @rys ping - can you confirm the repos look good |
|
Hi @pradhans0906, can you share the output of the following commands:
I think there's a misconfiguration in your yum repo configuration, which means yum can't find the package. |
hello , ls -l /etc/yum.repos.d Loaded plugins: product-id, security, subscription-manager optional | 2.7 kB 00:00 |
Hi @pradhans0906. Despite your epel.repo file having enabled=1 set, it looks like yum is still disabling the repository. Can you try the following command?
And then retry
To see if that fixes your problem? |
Thank you rys ..it helped to resolve the issue , now i have installed rvm properly . |
@rys I assume this is safe operation and we could include it in rvm automatically after adding the epel? |
Yep, I'll write that patch. |
awesome |
Added via 0431326 |
Hi, I am facing the same issue on RHEL 7, below are the logs, can some help be provided please, Installing required packages: libyaml-devel, libffi-devel.....
|
+1 With RHEL 7 |
+1 With RHEL 7 Anyone found a solution? |
@HSDen @Hacktivista @suthanbala this is old issue, please open a new ticket with details (would love to that by extracting your comments, but GH does not have such feature). |
Hello ,Am trying to install ruby on centos 6.4 but am getting below error .
rvm requirements
Checking requirements for redhat.
Installing requirements for redhat.
Updating system.
Installing required packages: libyaml-devel.
Error running 'requirements_centos_libs_install libyaml-devel',
showing last 15 lines of /usr/local/rvm/log/1388234096/package_install_libyaml-devel.log
[2013-12-28 12:34:56] requirements_centos_libs_install
requirements_centos_libs_install ()
{
__rvm_try_sudo yum install -y "$@" || return $?
}
current path: /root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/share/centrifydc/bin:/usr/share/centrifydc/sbin:/root/bin:/usr/local/rvm/bin
command(2): requirements_centos_libs_install libyaml-devel
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Repository atomic is listed more than once in the configuration
Repository epel is listed more than once in the configuration
Setting up Install Process
No package libyaml-devel available.
Error: Nothing to do
Requirements installation failed with status: 1.
I have tried multiple solution provided on the internet but nothing is changing the state. could you please have a look on this and advise
The text was updated successfully, but these errors were encountered: