Bug 2249209 - Dependency issue with qgis and gdal-libs-3.6.2-7
Summary: Dependency issue with qgis and gdal-libs-3.6.2-7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: PDAL
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: markusN
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-11 10:50 UTC by masanari iida
Modified: 2023-11-13 01:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-13 01:09:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description masanari iida 2023-11-11 10:50:51 UTC
If qgis is installed on Fedora 37, PDAL-libs-2.4.3-2.fc37 is installed as dependency.
This RPM requires libgdal.so.31()(64bit).
But some days ago, gdal-libs-3.6.2-7 was released.
This RPM doesn't include libgdal.so.31.
So I can not update gdal-libs without uninstalling PDAL-libs,
as well as qgis.
Without update all rpm packages, I will not upgrade my Fedora 37 to 38 in the near future.

Reproducible: Always

Steps to Reproduce:
1. Install qgis
2. Check current rpm versions
qgis-3.26.1-2.fc37.x86_64
PDAL-libs-2.4.3-2.fc37.x86_64
gdal-libs-3.5.2-1.fc37.x86_64
3. # dnf check update
gdal-libs.x86_64        3.6.2-7.fc37                               updates

4. # dnf update gdal-libs

Actual Results:  

 Problem: problem with installed package PDAL-libs-2.4.3-2.fc37.x86_64
  - package PDAL-libs-2.4.3-2.fc37.x86_64 from @System requires libgdal.so.31()(64bit), but none of the providers can be installed
  - package PDAL-libs-2.4.3-2.fc37.x86_64 from updates requires libgdal.so.31()(64bit), but none of the providers can be installed
  - cannot install both gdal-libs-3.6.2-7.fc37.x86_64 from updates and gdal-libs-3.5.2-1.fc37.x86_64 from @System
  - cannot install both gdal-libs-3.6.2-7.fc37.x86_64 from updates and gdal-libs-3.5.2-1.fc37.x86_64 from fedora
  - cannot install the best update candidate for package gdal-libs-3.5.2-1.fc37.x86_64


Expected Results:  
gdal update succesful without dependency error.


Check required library version
# rpm -qR PDAL-libs |grep libgdal
libgdal.so.31()(64bit)

Check what version is in currently installed gdal-libs.
# rpm -ql gdal-libs |grep libgdal
/usr/lib64/libgdal.so.31
/usr/lib64/libgdal.so.31.0.2

Check what version is in latest gdal-libs.
# rpm -qlp /home/iida/Downloads/gdal-libs-3.6.2-7.fc37.x86_64.rpm 
/usr/lib64/libgdal.so.32
/usr/lib64/libgdal.so.32.3.6.2


I am planning to update my Fedora 37 to 38 after Fedora 39 release.
If this dependency issue exist, I will not be able to upgrade to F39 
with qgis installed.  
Possible workaround would be uninstall qgis and PDAL-libs and update gdal-libs,
then execute "dnf upgrade"

Comment 1 Fedora Update System 2023-11-11 11:00:50 UTC
FEDORA-2023-c0ac8784e8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac8784e8

Comment 2 masanari iida 2023-11-12 14:11:41 UTC
Install test rpm succesfully without error. 
Confirm the /usr/lib64/libgdal.so.31 is in the RPM file. Thanks!
rpm -Uvh ./gdal-libs-3.6.2-8.really3.5.3.fc37.x86_64.rpm

Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing... 
1:gdal-libs-3.6.2-8.really3.5.3.fc37 ################################# [ 50%]
Cleaning up / removing... 2:gdal-libs-3.5.2-1.fc37 ################################# [100%]

# rpm -ql gdal-libs |more /usr/lib/.build-id 
/usr/lib/.build-id/8b/c387058725db72995ec4dc476dfe6d02b3eac8 
/usr/lib64/gdalplugins 
/usr/lib64/gdalplugins/drivers.ini 
/usr/lib64/libgdal.so.31 <= 
/usr/lib64/libgdal.so.31.0.3 <= 
/usr/share/doc/gdal-libs

Comment 3 Fedora Update System 2023-11-13 01:09:32 UTC
FEDORA-2023-c0ac8784e8 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.