$ 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