Обсуждение: PostGIS RPM for CentOS 6 install reps failed

Поиск
Список
Период
Сортировка

PostGIS RPM for CentOS 6 install reps failed

От
Pete Deffendol
Дата:
Hi all,

It appears that the EPEL repository has updated the "armadillo" package and it is no longer compatible with the "gdal-libs" package in the PostgreSQL Yum repository.  As a result, it's no longer easily possible to install PostGIS:

$ sudo yum install postgis2_93
...
Resolving Dependencies
...
---> Package postgis2_93.i686 0:2.1.3-1.rhel6 will be installed
...
---> Package gdal-libs.i686 0:1.9.2-4.el6 will be installed
...
--> Processing Dependency: libarmadillo.so.3 for package: gdal-libs-1.9.2-4.el6.i686
...
Error: Package: gdal-libs-1.9.2-4.el6.i686 (pgdg93)
           Requires: libarmadillo.so.3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

The package in EPEL provides libarmadillo.so.4 as of the last update.  This is for CentOS/RHEL 6.  I'm not sure if the issue exists for CentOS 5 or 7.

I suspect that the gdal packages in the PostgreSQL repo just need to be rebuilt against the newer package.  Can someone verify and provide updated packages?


Thanks!

Pete

-- 
Pete Deffendol, Software Engineer
MDSC | www.mdsc.com
Phone: 435-227-5465
Email: pete@mdsc.com

Re: PostGIS RPM for CentOS 6 install reps failed

От
Devrim Gündüz
Дата:
Hi,

On Mon, 2014-08-04 at 12:16 -0600, Pete Deffendol wrote:
> It appears that the EPEL repository has updated the "armadillo"
> package

Ouch...

>  and it is no longer compatible with the "gdal-libs" package in the
> PostgreSQL Yum repository.  As a result, it's no longer easily
> possible to install PostGIS:

<snip>

I spent a couple of hours for this, but no luck so far. GDAL 1.9.2
cannot be built with new armadillo. I will now email epel-devel list,
and see what we can do. This update may be reverted. Alternatively, we
can ship / maintain our own armadillo, but it will require you people to
exclude it from EPEL repo, which is more work.

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


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


Вложения

Re: PostGIS RPM for CentOS 6 install reps failed

От
Devrim Gündüz
Дата:
Hi again,

On Mon, 2014-08-04 at 12:16 -0600, Pete Deffendol wrote:

> It appears that the EPEL repository has updated the "armadillo"
> package and it is no longer compatible with the "gdal-libs" package in
> the PostgreSQL Yum repository.  As a result, it's no longer easily
> possible to install PostGIS:

<snip>

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? Packages will be in the repo
in the next 15 mins.

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


Вложения

Re: PostGIS RPM for CentOS 6 install reps failed

От
Pete Deffendol
Дата:

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

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? Packages will be in the repo
in the next 15 mins.

Being adventurous, I did try a straight "yum update" without excluding armadillo from EPEL.  The packages updated, and there are no visible problems with running a few PostGIS queries.  However, I'm not sure of the difference between armadillo 4.300.0 (in the PostgreSQL yum repo) and 4.320.0 from EPEL to know if anything is broken.  


-- 
Pete Deffendol, Software Engineer
MDSC | www.mdsc.com
Phone: 435-227-5465
Email: pete@mdsc.com