Fedora Account System
Red Hat Associate
Red Hat Customer
I'm sorry, I do not understand the dnf dependency messages well enough to understand what is broken (i.e. I can't see what in the dnf trace is preventing replacement of gdal-libs-3.5.2-1.fc37.x86_64), but something seems to be. This is happening on two Fedora 37 systems that have been continually upgraded since around Fedora 20, so that may explain why others don't seem to be reporting the problem (i.e. the roots of the problem may lie in some long-ago dependency screw-up that is only now coming to light). Or it could just be that it's early morning GMT+10 and no-one else has updated yet. Reproducible: Always Steps to Reproduce: 1.sudo dnf update --best --allowerasing Actual Results: Error: - 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 Expected Results: gdal-libs updates smoothly Detailed Error: Problem: cannot install the best update candidate for package OpenSceneGraph-libs-3.6.5-11.fc37.x86_64 - problem with installed package OpenSceneGraph-libs-3.6.5-11.fc37.x86_64 - package OpenSceneGraph-libs-3.6.5-11.fc37.x86_64 from @System requires liblas.so.3()(64bit), but none of the providers can be installed - package liblas-1.8.2-0.2.gitded4637.fc37.x86_64 from @System requires libgdal.so.31()(64bit), but none of the providers can be installed - package liblas-1.8.2-0.2.gitded4637.fc37.x86_64 from fedora 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 - problem with installed package gdal-libs-3.5.2-1.fc37.x86_64 - cannot install the best update candidate for package gdal-libs-3.5.2-1.fc37.x86_64
The "OpenSceneGraph-libs" package requires "liblas.so.3()(64bit)" provided by "liblas-1.8.2-0.2.gitded4637.fc37.x86_64". That package then requires "libgdal.so.31()(64bit)" which is provided only by "gdal-libs-3.5.2-1.fc37.x86_64". The newer version of the "gdal-libs" package ("gdal-libs-3.6.2-7.fc37.x86_64") provides newer "libgdal.so.32()(64bit)" which doesn't satisfy the dependency. Therefore, dnf cannot make the upgrade using only the latest versions of packages as requested using the "--best" option. To upgrade the "OpenSceneGraph-libs" package (while keeping "gdal-libs-3.5.2-1.fc37.x86_64"), use "--nobest" option. I am reassigning this to the liblas component, since that seems like the best place to fix the dependency issue.
This is caused by an unwanted soname bump in gdal, there is gdal-3.6.2-8.really3.5.3.fc37 in updates-testing which reverts the soname bump, see https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac8784e8.
FEDORA-2023-c0ac8784e8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac8784e8
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.