Bug 2248957 - dnf cannot update gdal-libs-3.5.2-1.fc37.x86_64 to gdal-libs-3.6.2-7.fc37.x86_64
Summary: dnf cannot update gdal-libs-3.5.2-1.fc37.x86_64 to gdal-libs-3.6.2-7.fc37.x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: liblas
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-09 21:11 UTC by bob mckay
Modified: 2023-11-13 01:09 UTC (History)
9 users (show)

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


Attachments (Terms of Use)

Description bob mckay 2023-11-09 21:11:15 UTC
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

Comment 1 Pavla Kratochvilova 2023-11-10 11:37:11 UTC
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.

Comment 2 Sandro Mani 2023-11-10 14:57:51 UTC
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.

Comment 3 Fedora Update System 2023-11-10 14:58:11 UTC
FEDORA-2023-c0ac8784e8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac8784e8

Comment 4 Fedora Update System 2023-11-13 01:09:29 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.