1.17.0 rpm package conflict on Fedora 43

Description

I uninstalled the previous version’s rpm and tried to install version 1.17.0, but I got this error:

$ sudo dnf install ./mailspring-1.17.0-0.1.x86_64.rpm
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides libtidy.so.5()(64bit) needed by mailspring-1.17.0-0.1.x86_64 from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

Screenshots

Setup

  • Running Fedora 43 with KDE Plasma 6.5.4

  • Tried to install mailspring 1.17.0 rpm

Additional Context

This is my first time creating an issue like this, so I hope I’m not missing anything important.

I was able to reinstall the 1.16.0 rpm, so that’s good at least.

Can confirm. This is also an issue with the latest version of Alma and Rocky Linux. Newer versions use libtidy.so.58.

You can correct this to do the install by doing the following.

Install rpmrebuild

sudo dnf install rpmrebuild

Use the rpmrebuild to edit the config

rpmrebuild --package --edit-whole ./mailspring-1.17.0-0.1.x86_64.rpm

Modify
Requires: libtidy.so.5()(64bit) to Requires: libtidy.so.58()(64bit)

Save and exit editor. It will take a bit to rebuild the rpm.

It will output the new RPM to ~/rpmbuild/RPMS/x86_64/

Install using the modified RPM and you should be good to go.

You can uninstall rpmbuild at this point if you wish

sudo dnf remove rpmrebuild

If it did not launch the UI also keep in mind that you may need to add –ozone-platform=x11 to the menu entry since they changed to Wayland.

2 Likes

Looks like that did the trick, thanks!