I have problems upgrading from HDP 2.5.0 to 2.6.0 on a RHEL 6.7 system. The Ambari Upgrade to 2.5.0 is finished.
Installing packages for HDP 2.6, Ambari fails with this error:
Package Manager failed to install packages. Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_0_3_8-client' returned 1. Error: Package: hadoop_2_6_0_3_8-hdfs-126.96.36.199.6.0.3-8.x86_64 (HDP-188.8.131.52) Requires: libtirpc-devel You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Traceback (most recent call last):
And indeed, the package is not available.
# yum install libtirpc-devel Loaded plugins: product-id, security, subscription-manager Setting up Install Process No package libtirpc-devel available. Error: Nothing to do
Is there guidance, how to work around this problem? RHEL 6.7 is explicitly supported by Ambari 2.5 and HDP 2.6. Installing unofficial packages is not allowed in our environment.
Thanks for your help
PS: I saw this community questions which, however, is about RHEL 7.x: https://community.hortonworks.com/questions/96763/hdp-26-ambari-install-fails-on-rhel-7-on-libtirpc....
Hi @Roland Simonis, I've just ran into the same problem, and resolved it by downloading
from this page. You can install it by running on all your hfds related nodes:
yum localinstall --nogpgcheck libtirpc-devel-0.2.1-11.el6_8.x86_64.rpm
and if that works, you can go back and retry deployment from Ambari.
The package version has changed and the link above to download the RPMs is now broken. See below commands with current RPM urls from centos.org.
If you get a "No such file or directory" error go to http://mirror.centos.org/centos/6/os/x86_64/Packages and search for "libtirpc" replace package name with latest version of the packages found in this page.
Run the command below on Centos 6 and retry the install. Worked for me.
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libtirpc-0.2.1-13.el6.x86_64.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libtirpc-devel-0.2.1-13.el6.x86_64.rpm yum localinstall --nogpgcheck libtirpc-0.2.1-13.el6.x86_64.rpm yum localinstall --nogpgcheck libtirpc-devel-0.2.1-13.el6.x86_64.rpm