Cannot install on Fedora 42 lsb-core not available

Description

When trying to install Mailspring RPM on Fedora 42, it fails due to install with the following error…

Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides lsb-core-noarch needed by mailspring-1.15.1-0.1.x86_64 from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

To Reproduce…

Steps to reproduce the behavior:

  1. Download RPM on Fedora 42
  2. In terminal type sudo dnf install mailspring-1.15.1-0.1.x86_64.rpm
  3. <See error listed above

Expected Behavior

Complete installation

Setup

  • OS and Version: Fedora 42
    • Installation Method: RPM via cmd line
  • Mailspring Version: 1.15.1

Additional Context

Works fine on Fedora 41. Seems that lsb-core is not available on Fedora 42 as of yet. I unfortunately cannot use Snaps and the unofficial Flatpak does not work.

Same problem here! Interim solution that worked for me is to manually edit the RPM before installing using rpmrebuild:

rpmrebuild -e -p mailspring-1.15.1-0.1.x86_64.rpm 

This will open the spec file in the default terminal text editor (in my case, nano). Comment out the lsb dependency near the bottom of the file, save and exit. rpmrebuild will ask you to confirm the changes, say yes. It will take a few minutes but eventually it will save a copy of the RPM with the LSB dependency removed to ~/rpmbuild/RPMS/x86_64/, and it should install without any issue.

This just goes to show that this dependency is completely unnecessary and should be removed from the RPM package.

3 Likes

It is sad, that they still have not fixed this. I have been testing around and there appears to be a lot of legacy stuff in there that could help.

Thanks for posting this. Had not even thought about editing it, which I should have. For a while there, I thought the dev was getting back more heavily involved, but seems to dropped off again. I am sure he is busy with other stuff.