[postgis-tickets] [PostGIS] #5216: Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)

PostGIS trac at osgeo.org
Sun Aug 14 11:13:38 PDT 2022


#5216: Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)
-----------------------+--------------------------
  Reporter:  marc3932  |      Owner:  pramsey
      Type:  patch     |     Status:  new
  Priority:  high      |  Milestone:  PostGIS GDAL
 Component:  postgis   |    Version:  3.1.x
Resolution:            |   Keywords:  gdal-libs
-----------------------+--------------------------
Comment (by marc3932):

 PostGIS Support replied that the gdal-libs-1.11.4-12.rhel7.x86_64 package
 is obsolete, then I checked and no other packages depend on it, then
 removed the obsolete gdal-lib package, and I was able to update the
 armadillo package from armadillo-8 to armadillo-10. See details below.

 ----------------------------------------------------------------

 # rpm -qa | grep gdal-libs* | sort

 gdal-libs-1.11.4-12.rhel7.x86_64

 --PostGIS Support: the package is obsoleted for some time.

 --How can I find out the dependencies of a package?

 https://access.redhat.com/solutions/3373081

 # repoquery -R --resolve --recursive <package_name>

 # repoquery -R --resolve --recursive gdal-libs-1.11.4-12.rhel7.x86_64

 --returns nothing, hence no other packages depend on this old obsolete
 gdal-libs package
 --then can remove it and try to update the armadillo package

 # rpm -e gdal-libs-1.11.4-12.rhel7.x86_64

 # rpm -qa | grep gdal-libs* | sort

 <returns nothing, good the old gdal-libs package was removed>

 # yum install armadillo

 Loaded plugins: langpacks, product-id, search-disabled-repos,
 subscription-manager
 ESRI_EPEL_7_x86_64
 | 2.8 kB  00:00:00
 rhel-7-server-extras-rpms
 | 2.0 kB  00:00:00
 rhel-7-server-optional-rpms
 | 2.0 kB  00:00:00
 rhel-7-server-rpms
 | 2.0 kB  00:00:00
 rhel-server-rhscl-7-rpms
 | 2.0 kB  00:00:00
 Resolving Dependencies
 --> Running transaction check
 ---> Package armadillo.x86_64 0:8.600.1-2.el7 will be updated
 ---> Package armadillo.x86_64 0:10.8.2-1.el7 will be an update
 --> Finished Dependency Resolution

 Dependencies Resolved

 ================================================================================================================================================================================================
  Package                                        Arch
 Version                                             Repository
 Size
 ================================================================================================================================================================================================
 Updating:
  armadillo                                      x86_64
 10.8.2-1.el7                                        epel
 36 k

 Transaction Summary
 ================================================================================================================================================================================================
 Upgrade  1 Package

 Total download size: 36 k
 Is this ok [y/d/N]: y
 Downloading packages:
 epel/x86_64/prestodelta
 |  553 B  00:00:00
 armadillo-10.8.2-1.el7.x86_64.rpm
 |  36 kB  00:00:00
 Running transaction check
 Running transaction test
 Transaction test succeeded
 Running transaction
 Warning: RPMDB altered outside of yum.
   Updating   : armadillo-10.8.2-1.el7.x86_64
 1/2
   Cleanup    : armadillo-8.600.1-2.el7.x86_64
 2/2
 Loaded plugins: langpacks, product-id, subscription-manager
   Verifying  : armadillo-10.8.2-1.el7.x86_64
 1/2
   Verifying  : armadillo-8.600.1-2.el7.x86_64
 2/2

 Updated:
   armadillo.x86_64 0:10.8.2-1.el7

 Complete!
 #

 # rpm -qa | grep armadillo* | sort

 armadillo-10.8.2-1.el7.x86_64
 #
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5216#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list