Error while trying to install postgis extension with greenplum

+5 votes

While installing postgis extension using gppkg package, i am getting this error:

-bash-4.2$ gppkg -i postgis-ossv2.0.3_pv2.0.1_gpdb4.3orca-rhel5-x86_64.gppkg
20180116:16:15:14:011874 gppkg:Mongo1:gpadmin-[INFO]:-Starting gppkg with args: -i postgis-ossv2.0.3_pv2.0.1_gpdb4.3orca-rhel5-x86_64.gppkg
20180116:16:15:15:011874 gppkg:Mongo1:gpadmin-[INFO]:-Installing package postgis-ossv2.0.3_pv2.0.1_gpdb4.3orca-rhel5-x86_64.gppkg
20180116:16:15:15:011874 gppkg:Mongo1:gpadmin-[INFO]:-Validating rpm installation cmdStr='rpm --test -i /data/greenplum/.tmp/postgis-2.0.3-2.x86_64.rpm /data/greenplum/.tmp/geos-3.3.8-1.x86_64.rpm /data/greenplum/.tmp/proj-4.8.0-1.x86_64.rpm --dbpath /data/greenplum/share/packages/database --prefix /data/greenplum'
20180116:16:15:16:011874 gppkg:Mongo1:gpadmin-[INFO]:-Installing postgis-ossv2.0.3_pv2.0.1_gpdb4.3orca-rhel5-x86_64.gppkg locally
20180116:16:15:16:011874 gppkg:Mongo1:gpadmin-[INFO]:-Validating rpm installation cmdStr='rpm --test -i /data/greenplum/.tmp/postgis-2.0.3-2.x86_64.rpm /data/greenplum/.tmp/geos-3.3.8-1.x86_64.rpm /data/greenplum/.tmp/proj-4.8.0-1.x86_64.rpm --dbpath /data/greenplum/share/packages/database --prefix /data/greenplum'
20180116:16:15:16:011874 gppkg:Mongo1:gpadmin-[INFO]:-Installing rpms cmdStr='rpm -i /data/greenplum/.tmp/postgis-2.0.3-2.x86_64.rpm /data/greenplum/.tmp/geos-3.3.8-1.x86_64.rpm /data/greenplum/.tmp/proj-4.8.0-1.x86_64.rpm --dbpath /data/greenplum/share/packages/database --prefix=/data/greenplum'
20180116:16:15:17:011874 gppkg:Mongo1:gpadmin-[CRITICAL]:-Error occurred: non-zero rc: 3
 Command was: 'rpm -i /data/greenplum/.tmp/postgis-2.0.3-2.x86_64.rpm /data/greenplum/.tmp/geos-3.3.8-1.x86_64.rpm /data/greenplum/.tmp/proj-4.8.0-1.x86_64.rpm --dbpath /data/greenplum/share/packages/database --prefix=/data/greenplum'
rc=3, stdout='', stderr='error: unpacking of archive failed on file /data/greenplum/lib/libproj.a;5a5dd7bd: cpio: open
error: proj-4.8.0-1.x86_64: install failed
error: unpacking of archive failed on file /data/greenplum/lib/libgeos-3.3.8.so;5a5dd7bd: cpio: open
error: geos-3.3.8-1.x86_64: install failed
error: unpacking of archive failed on file /data/greenplum/bin/pgsql2shp;5a5dd7bd: cpio: open
error: postgis-2.0.3-2.x86_64: install failed
Mar 27, 2018 in DevOps & Agile by DareDev
• 6,810 points
88 views

3 answers to this question.

+1 vote
Best answer

Try re downloading the package and installing first, it is possible that the package itself was corrupted. It looks like it was attempting to pull files out of the internal rpm package and failed.

answered Mar 27, 2018 by DragonLord999
• 8,380 points

selected Oct 12, 2018 by Kalgi
0 votes

Try to download new package againg or run gppkg in -verbose mode to get more details on error.

answered Oct 12, 2018 by Hannah
• 14,070 points
0 votes

You're trying to use unarchiver utility which is not installed and gppkg is trying to use.

answered Oct 12, 2018 by Kalgi
• 40,420 points

Related Questions In DevOps & Agile

+3 votes
1 answer

Unable to find the TargetArguments path While configuring dot cover in VSTS

For your unable to find the TargetArguments ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,280 points
86 views
0 votes
1 answer

How to set up a VM with KVM/qemu without VitualBox using Vagrant

Start the vagrant box using: vagrant up --provider=kvm But ...READ MORE

answered Apr 11, 2018 in DevOps & Agile by ajs3033
• 7,280 points
405 views
0 votes
4 answers

Is it possible to integrate sonarqube with LDAP

Add the following lines in your config ...READ MORE

answered Apr 29 in DevOps & Agile by Wazir
947 views
0 votes
1 answer

is it possible to use swagger with vs2017

Yes, you can use swagger in a ...READ MORE

answered Apr 29, 2018 in DevOps & Agile by DareDev
• 6,810 points
25 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
996 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
145 views