yum dependency issues for gdal-libs and libgeotiff with postgis25_10 - Mailing list pgsql-pkg-yum

From Greg Barker
Subject yum dependency issues for gdal-libs and libgeotiff with postgis25_10
Date
Msg-id CALsZdCDDw6sg7RjEUNH1fC5_trDpVw-Gc+_wAygcRvVhsGyLrA@mail.gmail.com
Whole thread Raw
Responses Re: yum dependency issues for gdal-libs and libgeotiff with postgis25_10
List pgsql-pkg-yum
I've got the pgdg10 & pgdg-common repos installed on my Amazon Linux 2 machine (RHEL7):

$ cat /etc/yum.repos.d/pgdg10.repo
[pgdg10]
name=PostgreSQL.org 10
baseurl=https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-$basearch
enabled=1
fastestmirror_enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-10

$ cat /etc/yum.repos.d/pgdg-common.repo
[pgdg-common]
name=PostgreSQL common for RHEL/CentOS 10
baseurl=https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-$basearch
enabled=1
fastestmirror_enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-10

postgis25_10 is installed:

$ yum list installed | grep postgis25_10
postgis25_10.x86_64                2.5.4-2.rhel7                    @pgdg10

However, when I try to do a yum update now, it fails:

$ sudo yum update -y
Loaded plugins: langpacks, priorities, update-motd
amzn2-core                                                                                                                                                                                                             | 3.7 kB  00:00:00
280 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package libgeotiff.x86_64 0:1.2.5-14.el7 will be updated
--> Processing Dependency: libgeotiff.so.1.2()(64bit) for package: gdal-libs-1.11.4-3.el7.x86_64
--> Processing Dependency: libgeotiff.so.1.2()(64bit) for package: gdal-1.11.4-3.el7.x86_64
---> Package libgeotiff.x86_64 0:1.4.0-1.rhel7 will be an update
--> Finished Dependency Resolution
Error: Package: gdal-libs-1.11.4-3.el7.x86_64 (@epel)
           Requires: libgeotiff.so.1.2()(64bit)
           Removing: libgeotiff-1.2.5-14.el7.x86_64 (@epel)
               libgeotiff.so.1.2()(64bit)
           Updated By: libgeotiff-1.4.0-1.rhel7.x86_64 (pgdg-common)
               Not found
Error: Package: gdal-1.11.4-3.el7.x86_64 (@epel)
           Requires: libgeotiff.so.1.2()(64bit)
           Removing: libgeotiff-1.2.5-14.el7.x86_64 (@epel)
               libgeotiff.so.1.2()(64bit)
           Updated By: libgeotiff-1.4.0-1.rhel7.x86_64 (pgdg-common)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I came across a few posts where folks had run into this in the past, seemed like some sort of packaging issue that had to be fixed: https://postgrespro.com/list/thread-id/2199483

Thanks!
Greg

pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: 'pgdg-common' -- install postgres repmgr
Next
From: Devrim Gündüz
Date:
Subject: Re: yum dependency issues for gdal-libs and libgeotiff with postgis25_10