public inbox for [email protected]  
help / color / mirror / Atom feed
yum dependency issues for gdal-libs and libgeotiff with postgis25_10
2+ messages / 2 participants
[nested] [flat]

* yum dependency issues for gdal-libs and libgeotiff with postgis25_10
@ 2020-07-02 01:21 Greg Barker <[email protected]>
  2020-07-02 11:28 ` Re: yum dependency issues for gdal-libs and libgeotiff with postgis25_10 Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Greg Barker @ 2020-07-02 01:21 UTC (permalink / raw)
  To: [email protected]

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: yum dependency issues for gdal-libs and libgeotiff with postgis25_10
  2020-07-02 01:21 yum dependency issues for gdal-libs and libgeotiff with postgis25_10 Greg Barker <[email protected]>
@ 2020-07-02 11:28 ` Devrim Gündüz <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim Gündüz @ 2020-07-02 11:28 UTC (permalink / raw)
  To: Greg Barker <[email protected]>; [email protected]


Hi,

On Wed, 2020-07-01 at 18:21 -0700, Greg Barker wrote:
> 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

Down in the thread, the issue seems to be resolved. I think the gdal-*
packages must be removed prior to upgrade:

yum remove gdal-*

yum update

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-07-02 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 01:21 yum dependency issues for gdal-libs and libgeotiff with postgis25_10 Greg Barker <[email protected]>
2020-07-02 11:28 ` Devrim Gündüz <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox