KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
29.71k stars 1.22k forks source link

Installation fails under OpenSUSE Tumbleweed #1454

Open Sadi58 opened 5 months ago

Sadi58 commented 5 months ago

Is there an existing issue for this?

Current Behavior

Installation fails because "nothing provides jsoncpp" although I've installed the closest possible match: libjsoncpp25

Expected Behavior

The package should install finding all dependencies

Steps to reproduce

sudo zypper install "Spotube-linux-x86_64.rpm"

Operating System

OpenSUSE Linux

Spotube version

v3.6.0

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

KRTirtho commented 5 months ago

It should install as it seems like jsoncpp is available in SUSE repos for tumbleweed: https://software.opensuse.org/package/jsoncpp

Sadi58 commented 5 months ago

Thanks. It seems so, but apparently the user is thrown into a maze there, where several different routes all lead to a dead end, at least under the new Thumbleweed-Slowscroll, which is supposed to be a little more stable and reliable than Thumbleweed: 1) The "Standard" route downloads a "One-Click Install" file that can't install, 2) The "Add repository and install manually" route fails at the stage of adding the repo with the error message "The requested URL returned error: 404", and 3) The more promising "Grab binary packages directly" route downloads apparently a source file named "jsoncpp-1.9.5-2.7.src.rpm" which can't be installed either. Maybe I should now try another distro that uses RPM packages to install software.

KRTirtho commented 5 months ago

I'm not sure why jsoncpp wouldn't get installed. But, usually zypper should install it properly. I'll not recommend to switch distro because only Spotube doesn't work 😅 You can always use the Flatpak version. Which will work fine anywhere.

Also, you could try installing jsoncpp-devel package. It is usually required when building from Source but pre-built bin doesn't require it. But still give it a try

Sadi58 commented 5 months ago

OK, thanks. My regular OS is Debian Trixie with KDE Plasma 5.27 actually. I'm just testing if I can move to Plasma 6 quicker by switching to some other distro like OpenSUSE, which has a number of pros and cons, and this is just one of a number of cons. ;-)

ArmynC commented 2 months ago

Same bug here. Tried with jsoncpp-devel and it won't work. Still, by replacing the package repo won't fix it either.

image