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,850 points
229 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,450 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
• 18,410 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
• 51,950 points

Related Questions In DevOps & Agile

0 votes
1 answer

getting error while trying for "kubectl get nodes" on node

Hi@Surya, I think you did not configure your ...READ MORE

answered Jul 9 in DevOps & Agile by MD
• 56,520 points
150 views
+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
189 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
741 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, 2019 in DevOps & Agile by Wazir
1,882 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
1,324 views
+15 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,450 points
680 views