Pivotal Knowledge Base

Follow

HAWQ Installation or Upgrade Fails Because Required Packages are Not Available

Environment

 Product  Version
 Pivotal HDB  2.1.x
 CentOS / RHEL  6

Symptom

Installation or upgrade of HAWQ is failing with the error "Error: Package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64 (hdb-2.1.1.0) Requires: libgsasl" 

[root@hdm1 ~]# yum install hawq_2_1_1_0
Setting up Install Process
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package hawq_2_1_1_0.x86_64 0:2.1.1.0-7.el6 will be installed
--> Processing Dependency: thrift >= 0.9.1 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: protobuf >= 2.5.0 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: json-c >= 0.9 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: boost >= 1.56.0 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: net-snmp-libs for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: libicu for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: libgsasl for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Running transaction check
---> Package boost.x86_64 0:1.56.0-1.el6 will be installed
---> Package hawq_2_1_1_0.x86_64 0:2.1.1.0-7.el6 will be installed
--> Processing Dependency: libgsasl for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
---> Package json-c.x86_64 0:0.11-12.el6 will be installed
---> Package libicu.x86_64 0:4.2.1-14.el6 will be installed
---> Package net-snmp-libs.x86_64 1:5.5-57.el6_8.1 will be installed
--> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-libs-5.5-57.el6_8.1.x86_64
---> Package protobuf.x86_64 0:2.5.0-1.el6 will be installed
---> Package thrift.x86_64 0:0.9.1-1.el6 will be installed
--> Running transaction check
---> Package hawq_2_1_1_0.x86_64 0:2.1.1.0-7.el6 will be installed
--> Processing Dependency: libgsasl for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
---> Package lm_sensors-libs.x86_64 0:3.1.1-17.el6 will be installed
--> Finished Dependency Resolution
Error: Package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64 (hdb-2.1.1.0)
Requires: libgsasl
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Cause  

HAWQ installation requires the installation of the EPEL Repository first.

Resolution

1. Install the EPEL repository:

[root@hdm1 ~]# yum -y install epel-release
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution Dependencies Resolved =====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Installing:
epel-release noarch 6-8 extras 14 k Transaction Summary
=====================================================================================================================================================
Install 1 Package(s) Total download size: 14 k
Installed size: 22 k
Downloading Packages:
epel-release-6-8.noarch.rpm | 14 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release-6-8.noarch 1/1
Verifying : epel-release-6-8.noarch 1/1 Installed:
epel-release.noarch 0:6-8 Complete!

2. Install HAWQ:

[root@hdm1 ~]# yum install hawq_2_1_1_0
Setting up Install Process
epel/metalink | 12 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:03
Resolving Dependencies
--> Running transaction check
---> Package hawq_2_1_1_0.x86_64 0:2.1.1.0-7.el6 will be installed
--> Processing Dependency: thrift >= 0.9.1 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: protobuf >= 2.5.0 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: json-c >= 0.9 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: boost >= 1.56.0 for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: net-snmp-libs for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: libicu for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Processing Dependency: libgsasl for package: hawq_2_1_1_0-2.1.1.0-7.el6.x86_64
--> Running transaction check
---> Package boost.x86_64 0:1.56.0-1.el6 will be installed
---> Package json-c.x86_64 0:0.11-12.el6 will be installed
---> Package libgsasl.x86_64 0:1.4.0-4.el6 will be installed
--> Processing Dependency: libntlm.so.0()(64bit) for package: libgsasl-1.4.0-4.el6.x86_64
---> Package libicu.x86_64 0:4.2.1-14.el6 will be installed
---> Package net-snmp-libs.x86_64 1:5.5-57.el6_8.1 will be installed
--> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-libs-5.5-57.el6_8.1.x86_64
---> Package protobuf.x86_64 0:2.5.0-1.el6 will be installed
---> Package thrift.x86_64 0:0.9.1-1.el6 will be installed
--> Running transaction check
---> Package libntlm.x86_64 0:1.0-3.el6 will be installed
---> Package lm_sensors-libs.x86_64 0:3.1.1-17.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved =====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Installing:
hawq_2_1_1_0 x86_64 2.1.1.0-7.el6 hdb-2.1.1.0 83 M
Installing for dependencies:
boost x86_64 1.56.0-1.el6 hdb-2.1.1.0 15 M
json-c x86_64 0.11-12.el6 base 51 k
libgsasl x86_64 1.4.0-4.el6 epel 113 k
libicu x86_64 4.2.1-14.el6 base 4.9 M
libntlm x86_64 1.0-3.el6 base 42 k
lm_sensors-libs x86_64 3.1.1-17.el6 base 38 k
net-snmp-libs x86_64 1:5.5-57.el6_8.1 updates 1.5 M
protobuf x86_64 2.5.0-1.el6 hdb-2.1.1.0 4.5 M
thrift x86_64 0.9.1-1.el6 hdb-2.1.1.0 9.5 M Transaction Summary
=====================================================================================================================================================
Install 10 Package(s) Total download size: 118 M
Installed size: 789 M
Is this ok [y/N]: q
Is this ok [y/N]: n
Exiting on user Command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx-2017-01-10-06-1740wx9k.yumtx
[root@hdm1 ~]#  

Comments

Powered by Zendesk