Thread: Unable to install postgis2_92

Unable to install postgis2_92

From
Ketan Padegaonkar
Date:
Hi package maintainers,

I'm running on a fresh CentOS 6.5 with EPEL and trying to install postgis, but it's missing a dependency - libarmadillo.so.3. This dependency was provided by EPEL but is no longer available on EPEL. EPEL provides libarmadillo.so.4.

Is that dependency OK, what are my alternatives other than forcing an install by skipping the dependency?

Thanks.

- Ketan

ketan@snap$ sudo yum install postgis2_92 -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * CentOS-Base: centos.mirror.ndchost.com
 * CentOS-Extras: centos.sonn.com
 * CentOS-Updates: mirrors.xmission.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postgis2_92.x86_64 0:2.1.3-1.rhel6 will be installed
--> Processing Dependency: postgis-client = 2.1.3-1.rhel6 for package: postgis2_92-2.1.3-1.rhel6.x86_64
--> Processing Dependency: libgdal.so.1()(64bit) for package: postgis2_92-2.1.3-1.rhel6.x86_64
--> Running transaction check
---> Package gdal-libs.x86_64 0:1.9.2-4.el6 will be installed
--> Processing Dependency: libarmadillo.so.3()(64bit) for package: gdal-libs-1.9.2-4.el6.x86_64
---> Package postgis2_92-client.x86_64 0:2.1.3-1.rhel6 will be installed
--> Finished Dependency Resolution
Error: Package: gdal-libs-1.9.2-4.el6.x86_64 (pgdg92)
           Requires: libarmadillo.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Re: Unable to install postgis2_92

From
Devrim Gündüz
Date:
Hi,

I applied a temp fix for this, by pushing armadillo 4.300.0 to our
repository. Please exclude armadillo in epel repo, by adding

exclude=armadillo*

under [epel] section. I also rebuilt gdal for armadillo. Can you please
confirm that it works on your machine, too?

Regards, Devrim

On Fri, 2014-08-01 at 06:58 -0300, Ketan Padegaonkar wrote:
> Hi package maintainers,
>
> I'm running on a fresh CentOS 6.5 with EPEL and trying to install postgis,
> but it's missing a dependency - libarmadillo.so.3. This dependency was
> provided by EPEL but is no longer available on EPEL. EPEL provides
> libarmadillo.so.4.
>
> Is that dependency OK, what are my alternatives other than forcing an
> install by skipping the dependency?
>
> Thanks.
>
> - Ketan
>
> ketan@snap$ *sudo yum install postgis2_92 -y*
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * CentOS-Base: centos.mirror.ndchost.com
>  * CentOS-Extras: centos.sonn.com
>  * CentOS-Updates: mirrors.xmission.com
>  * epel: linux.mirrors.es.net
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package postgis2_92.x86_64 0:2.1.3-1.rhel6 will be installed
> --> Processing Dependency: postgis-client = 2.1.3-1.rhel6 for package:
> postgis2_92-2.1.3-1.rhel6.x86_64
> --> Processing Dependency: libgdal.so.1()(64bit) for package:
> postgis2_92-2.1.3-1.rhel6.x86_64
> --> Running transaction check
> ---> Package gdal-libs.x86_64 0:1.9.2-4.el6 will be installed
> --> Processing Dependency: libarmadillo.so.3()(64bit) for package:
> gdal-libs-1.9.2-4.el6.x86_64
> ---> Package postgis2_92-client.x86_64 0:2.1.3-1.rhel6 will be installed
> --> Finished Dependency Resolution
> Error: Package: gdal-libs-1.9.2-4.el6.x86_64 (pgdg92)
>            Requires: libarmadillo.so.3()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest


--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment

Re: Unable to install postgis2_92

From
Ketan Padegaonkar
Date:
Thanks a lot!

- Ketan



On Fri, Aug 8, 2014 at 3:06 PM, Devrim Gündüz <devrim@gunduz.org> wrote:

Hi,

I applied a temp fix for this, by pushing armadillo 4.300.0 to our
repository. Please exclude armadillo in epel repo, by adding

exclude=armadillo*

under [epel] section. I also rebuilt gdal for armadillo. Can you please
confirm that it works on your machine, too?

Regards, Devrim

On Fri, 2014-08-01 at 06:58 -0300, Ketan Padegaonkar wrote:
> Hi package maintainers,
>
> I'm running on a fresh CentOS 6.5 with EPEL and trying to install postgis,
> but it's missing a dependency - libarmadillo.so.3. This dependency was
> provided by EPEL but is no longer available on EPEL. EPEL provides
> libarmadillo.so.4.
>
> Is that dependency OK, what are my alternatives other than forcing an
> install by skipping the dependency?
>
> Thanks.
>
> - Ketan
>
> ketan@snap$ *sudo yum install postgis2_92 -y*
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * CentOS-Base: centos.mirror.ndchost.com
>  * CentOS-Extras: centos.sonn.com
>  * CentOS-Updates: mirrors.xmission.com
>  * epel: linux.mirrors.es.net
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package postgis2_92.x86_64 0:2.1.3-1.rhel6 will be installed
> --> Processing Dependency: postgis-client = 2.1.3-1.rhel6 for package:
> postgis2_92-2.1.3-1.rhel6.x86_64
> --> Processing Dependency: libgdal.so.1()(64bit) for package:
> postgis2_92-2.1.3-1.rhel6.x86_64
> --> Running transaction check
> ---> Package gdal-libs.x86_64 0:1.9.2-4.el6 will be installed
> --> Processing Dependency: libarmadillo.so.3()(64bit) for package:
> gdal-libs-1.9.2-4.el6.x86_64
> ---> Package postgis2_92-client.x86_64 0:2.1.3-1.rhel6 will be installed
> --> Finished Dependency Resolution
> Error: Package: gdal-libs-1.9.2-4.el6.x86_64 (pgdg92)
>            Requires: libarmadillo.so.3()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest


--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR