Red Hat Bugzilla – Bug 1303497
Broken upgrade path due to missing obsoletes
Last modified: 2017-08-08 08:43:46 EDT
Description of problem:
The new llvm version has dropped the llvm-static sub-package - which is a good thing. But the new llvm-libs package does not obsolete the dropped sub-package, which breaks the upgrade path:
# dnf update --refresh --best
Last metadata expiration check performed 0:00:00 ago on Mon Feb 1 05:22:07 2016.
Error: package llvm-static-3.7.0-4.fc24.x86_64 requires llvm-devel(x86-64) = 3.7.0-4.fc24, but none of the providers can be installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try updating to the latest llvm package with the llvm-static package installed.
Successful update - llvm-static being obsoleted by llvm-libs and removed by the update.
For some reason the llvm-static package is back, so there are no longer any missing obsoletes. However, the reintroduced llvm-static package is missing a fully qualified dependency on the llvm-devel package.
During update the llvm packages were held back due to broken deps (packages installed that depend on the mysteriously vanishing llvm shared libraries). However, llvm-static was updated anyway due to the missing requires resulting in a system with the llvm-static package having a different version-release than the other llvm packages.
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
Why should llvm-static depend on llvm-devel?
It definitely should not and if your packages are out of sync, it's not packaging problem.
"If the *-static subpackage requires headers or other files from *-devel in order to be useful it must require the *-devel subpackage."
Without a strict versioned requires, you risk to get static libraries from one versions and headers and other development files such as cmake files from another version.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.