Upgrading fails: ocaml-tplib not found in packages past Fedora 38

I’m running into several upgrade issues:
repo … rpmfusion-nonfree-updates … timed out, now disabled
repo … skype-stable … timed out, now disabled

However, the one I can’t get past so far is ocaml-tplib.

On several systems that I have, any attempt to upgrade them past Fedora 38 fails because something in the system relies on ocaml-tplib.

In checking the package between F38 and F39 and above, the file no longer exists in the repo.

package ocaml-tplib-devel from [@System, fedora, fedora modules, update modules] requires ocamlx but none of the providers can be installed.

Thoughts?

The polymake package used to use ocaml-tplib-tools. We dropped the dependency from the polymake package over a year ago and retired ocaml-tplib for two reasons:

  • We were having build issues with ocaml-tplib
  • Polymake upstream stopped using ocaml-tplib by default (you could still get it to work, but upstream wasn’t supporting it anymore)

I recommend that you remove all ocaml-tplib* packages from your system. It was only a Recommends, not a Requires, in the first place, so removing it should not cause any further issues.

1 Like

I was debating that, and shall try, and keep you posted. Thx

Found the culprit … sagemath …

I have successfully upgraded my systems to F40.
Thanks for the assistance.

1 Like

To summarize my process …

First, I created a new VM with Fedora 38. As a fresh install it lacked the offending packages that stopped Fedora from upgrading to 39 and above.

Second, I made a differential list of all packages on the systems I needed to upgrade. Out of all the packages, only 9 appeared as possible candidates.

Third, I began installing the smallest packages first and working to the larger ones (probably a mistake, as I could have also looked at the package manifest for each to determine if the offending library was going to be loaded.)

Fourth, once the offending package was found, I uninstalled it on a test system, and attempted to upgrade that system. Since I was successful, I now had a strategy to follow, in case other offending libraries appeared.

Hope this helps other.

Thanks everyone for your suggestions.

PS … thanks for suggesting how to hunt down the owner of the library, using …
rpm -qR ocaml-tplib
dnf repoquery --tree --requires ocaml