Installing jsoncpp (1.9.6-3) breaks dependency 'libjsoncpp.so=25-64' required by headlines

error: failed to prepare transaction (could not satisfy dependencies)
:: installing jsoncpp (1.9.6-3) breaks dependency ‘libjsoncpp.so=25-64’ required by headlines
→ error installing repo packages

I tried researching this, but it appears that the only solution is to wait for an update. Is that correct, or am I doing something wrong? I’m just trying to update my system with yay.

Try this:

sudo pacman -R headlines && sudo pacman -Syu && yay -S headlines

Make sure to choose to rebuild headlines.

This appears to have worked as the system update is commencing as expected. Why does yay not automatically remove headlines and reinstall it instead of terminating the update altogether? Is this an indication that I need to clean up my filesystem?

No, your filesystem is probably fine.

Arch-based distros are DIY (or fix it yourself) distros. So, actions like these require manual intervention. There is probably some way to automate this, but most people, myself included, would not recommend doing so.

1 Like

That makes a lot of sense. Thank you for your help.

The upgrade completed up until trying to install headlines.

error: could not set install reason for package headlines (could not find or read package)
→ error installing: [/home/unknown/.cache/yay/headlines/headlines-0.7.2-1-x86_64.pkg.tar.zst /home/unknown/.cache/yay/headlines/headlines-debug-0.7.2-1-x86_64.pkg.tar.zst] - error updating package install reason to explicit

So I ran

[unknown@unknown ~]$ sudo pacman -Syu --ignore headlines

and it says there is nothing to do. So I guess just wait until there is an update for that?

There have been no issues reported on the AUR nor GitLab for this package in a year. So, unless there is an updated library conflict, you are probably missing a step.

Try this:

yay -S --rebuildall --asexplicit headlines

warning: headlines-debug-0.7.2-1 is up to date – reinstalling
resolving dependencies…
warning: cannot resolve “libjsoncpp.so=25-64”, a dependency of “headlines”
:: The following package cannot be upgraded due to unresolvable dependencies:
headlines

Seems there really is a library conflict then.

For a quicker resolution, it would be a good idea to either report it to the AUR maintainer or to the developer directly.

It builds for me, but after log-in (diverted to browser), it segfaults and will not run:

Headlines' terminated by signal SIGSEGV (Address boundary error)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.