Bug 2237477

Summary: libblockdev-vdo isn't obsoleted, blocks upgrade to Fedora 39 and 40
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: libblockdevAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: awilliam, cstratak, mhroncok, python-maint, python-packagers-sig, tbzatek, thrnciar, v.podzimek+fedora, vstinner, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: libblockdev-3.0.2-3.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-07 23:00:24 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:
Bug Depends On:    
Bug Blocks: 2143445    

Description Milan Crha 2023-09-05 16:05:12 UTC
Cannot install devel packages due to broken rawhide due to python3 (I guess).

# dnf install glib2-devel
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package glib2-devel-2.77.3-1.fc40.i686 requires pkgconfig(libselinux) >= 2.2, but none of the providers can be installed
  - package glib2-devel-2.77.3-1.fc40.x86_64 requires pkgconfig(libselinux) >= 2.2, but none of the providers can be installed
  - libselinux-devel-3.5-5.fc39.i686 has inferior architecture
  - package libselinux-devel-3.5-5.fc39.x86_64 requires libselinux(x86-64) = 3.5-5.fc39, but none of the providers can be installed
  - cannot install both libselinux-3.5-1.fc39.x86_64 and libselinux-3.5-5.fc39.x86_64
  - package python3-libselinux-3.5-1.fc39.x86_64 requires libselinux(x86-64) = 3.5-1.fc39, but none of the providers can be installed
  - package anaconda-core-39.22-1.fc39.x86_64 requires libselinux-python3, but none of the providers can be installed
  - package python3-libselinux-3.5-5.fc39.x86_64 requires python(abi) = 3.12, but none of the providers can be installed
  - python3-3.12.0~rc1-1.fc40.i686 has inferior architecture
  - cannot install both python3-3.11.4-1.fc39.x86_64 and python3-3.12.0~rc1-1.fc40.x86_64
  - problem with installed package 
  - package python3-blockdev-2.28-8.fc39.x86_64 requires python(abi) = 3.11, but none of the providers can be installed
  - package anaconda-core-40.1-1.fc40.x86_64 requires python3-blivet >= 1:3.8.1-1, but none of the providers can be installed
  - problem with installed package 
  - package python3-blivet-1:3.8.1-1.fc39.noarch requires python3-blockdev >= 3.0, but none of the providers can be installed
  - package python3-blockdev-3.0.3-1.fc40.x86_64 requires libblockdev(x86-64) = 3.0.3-1.fc40, but none of the providers can be installed
  - package libblockdev-3.0.3-1.fc40.x86_64 requires libbd_utils.so.3()(64bit), but none of the providers can be installed
  - package libblockdev-3.0.3-1.fc40.x86_64 requires libblockdev-utils(x86-64) = 3.0.3-1.fc40, but none of the providers can be installed
  - cannot install both libblockdev-utils-2.28-8.fc39.x86_64 and libblockdev-utils-3.0.3-1.fc40.x86_64
  - package libblockdev-vdo-2.24-6.fc34.x86_64 requires libbd_utils.so.2()(64bit), but none of the providers can be installed
  - problem with installed package 


Reproducible: Always

Comment 1 Miro HronĨok 2023-09-05 16:54:09 UTC
The entire problem is this:

Your libblockdev-vdo-2.24-6.fc34.x86_64 package is very old, it comes from Fedora 34.

libblockdev no longer includes it since then: https://src.fedoraproject.org/rpms/libblockdev/c/5e985ab28c5d4b9ba6e67c31d9a5bf58f684e7c6?branch=rawhide and later https://src.fedoraproject.org/rpms/libblockdev/c/965d13a3124067c2b3968bcb2ee9c4effb0db35c?branch=rawhide


The old libblockdev-vdo requires libbd_utils.so.2()(64bit) which is only provided by libblockdev version 2.

However, the version of python3-blockdev that was rebuilt with Python 3.12 requires libblockdev version 3.


You should be able to uninstall libblockdev-vdo from your system, which should unblock the update.




libblockdev-vdo was never obsoleted. All users who have it installed will hit this issue when upgrading to libblockdev version 3. I believe it would be best solved by adding:

  Obsoletes: libblockdev-vdo < 3

To libblockdev.

Comment 2 Fedora Update System 2023-09-06 14:43:29 UTC
FEDORA-2023-002d7f6a1b has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-002d7f6a1b

Comment 3 Adam Williamson 2023-09-06 22:18:20 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/1277 , marking accepted FE.

Comment 4 Fedora Update System 2023-09-07 02:24:41 UTC
FEDORA-2023-002d7f6a1b has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-002d7f6a1b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-002d7f6a1b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-07 23:00:24 UTC
FEDORA-2023-002d7f6a1b has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.