Bug 2249209

Summary: Dependency issue with qgis and gdal-libs-3.6.2-7
Product: [Fedora] Fedora Reporter: masanari iida <masanari.iida>
Component: PDALAssignee: markusN <neteler>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: manisandro, neteler
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-13 01:09:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.