Libboost_thread Preventing Installation of snapper

Requirements:
I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the Release Notes and Errata

OpenMandriva Lx version:
OpenMandriva Lx release 26.02 (ROME) Rolling for x86_64

Desktop environment (KDE, LXQT…):
KDE

Description of the issue (screenshots if relevant):
I cannot install ‘snapper’ because of a dependency for ‘libboost_thread’ that cannot be installed. Should I go ahead and use the ‘–skip-broken’ option? I am not sure if that would be wise for something I need to work for btrfs snapshots.

Relevant informations (hardware involved, software version, logs or output…):

sudo dnf install snapper
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides libboost_thread.so.1.88.0()(64bit) needed by snapper-0.12.1-2.x86_64 from rolling-x86_64
You can try to add to command line:
  --skip-broken to skip uninstallable packages

I’d be cautious about using --skip-broken in this case. Since snapper depends on that package, skipping the dependency could leave you with an incomplete or non-functional installation. It’s probably worth identifying why libboost_thread can’t be installed first.

@Dmkol33 Welcome!

I have no idea why libboost_thread is missing from the repos. I am using Main and Non-Free.

Yes, I definitely do not want to do the --skip-broken option.

It works fine for me using dnfdrake.

Installs successfully, along with some libs.

The package is called snapper.x86_64.

For information, and as I remember, from when I used to do actual work here:

If you use --skip-broken then snapper would not install because of a missing dependency for libboost_thread.so.1.88.0.

The message says “You can try to add to command line” that does not override the requires in the .spec file for whatever package you are trying to install. As I remember dnf can not do that.

Edit: It is possible, maybe even likely, that snapper needs a simple rebuild for new version of boost which in ROME is at 1.90.0-02. I started a build we’ll see if it is successful.

1 Like

That snapper build failed so I passed this along to folks at OpenMandriva Cooker channel.

1 Like

Not for me :frowning:

<============================= DnfDrake Execution! =============================>
sudo dnf install  snapper.x86_64 | tee 
Updating and loading repositories:

Repositories loaded.

Failed to resolve the transaction:

Problem: conflicting requests

  - nothing provides libboost_thread.so.1.88.0()(64bit) needed by snapper-0.12.1-2.x86_64 from rolling-x86_64

You can try to add to command line:

  --skip-broken to skip uninstallable packages

[Dnfdrake Works For You] 

It can’t work because the designated .so file libboost_thread.so.1.88.0()(64bit) is not available. The package has to be rebuilt for a newer version of boost 1.90.0 or possibly 1.91.0. But there are other problems with snapper and this needs a real developer. Anyone interested can real the script_output.log here.

FWIW the same problem exists in Cooker:

Edit: Reported this additional information on OpenMandriva Cooker Chat channel again today. If more people went there and weighed in perhaps we might get results.

I remember when we got Snapper added to the packages, but as far as I understand, we did not change the BTRFS volumes to match what Snapper needs. They are still set to what Timeshift needs. As such, we are still limited to Timeshift for now. We would need the same BTRFS structure as openSuSE for it to work properly, so I don’t think getting the packages up to date will make it work.

I would like to be wrong on that. If so, I would reload this PC with BTRFS and get Snapper working. I much prefer it over Timeshift.

I have a btrfs setup and use timeshift, and it works great.

Here’s a guide that walks you through setting up grub-btrfs and timeshift-autosnap:

I’ve used this a few times to get things set up. It’s a bit outdated (you can skip the dnf5 setup, as OM now comes with dnf5 by default), but works really well. It could be a nice alternative to snapper :+1:

@NLA and others: Thanks to giuanmarian64 aka: Giovanni Mariani there is a new version of snapper-0.13.1 publishing in rollling main repo. It should reach a mirror near you soon. I can verify that it installs here and seems to work. But I do not know this software so we need Y’all to tell us if this now works. (Also fixed as far as I can see in Cooker.)

I’m running Ext4, so I cannot test this one, but if you guys have snapper working, I would be willing to reinstall and use BTRFS. How does OM work with using those snapshots in GRUB?

It works really well. Long story short, back when xlibre first hit the cooker repos, I thought I was smart enough to update my ROME desktop’s x11. I was not. :joy:

During the installation/update, my whole system shut down. I was able to boot into grub, chose the snapshot my system took just before the update, booted into it, opened up timeshift, and restored my whole system from that snapshot. The whole process was really smooth and surprisingly easy