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.
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.
<============================= 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.
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
@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.
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
Looks great! Thanks! For a snapper GUI, I use to use Btrfs Assistant. I did the following, but need to configure the snapper directory as I get this error whenever I try to create configs for snapper: “Listing configs failed (reading sysconfig-file failed).”
sudo dnf update
[sudo] password for user:
Updating and loading repositories:
OpenMandriva Rolling - Non-free - x86_64 100% | 139.4 KiB/s | 2.4 KiB | 00m00s
OpenMandriva Rolling - x86_64 100% | 140.5 KiB/s | 2.4 KiB | 00m00s
Repositories loaded.
Nothing to do.
[user@BOM-PC ~]$ sudo dnf install snapper
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
snapper x86_64 0:0.13.1-1 rolling-x86_64 2.3 MiB
Installing dependencies:
lib64btrfs0 x86_64 0:6.17.1-1 rolling-x86_64 23.3 KiB
lib64btrfsutil1 x86_64 0:6.17.1-1 rolling-x86_64 36.3 KiB
lib64snapper x86_64 0:0.13.1-1 rolling-x86_64 861.8 KiB
Transaction Summary:
Installing: 4 packages
Total size of inbound packages is 936 KiB. Need to download 936 KiB.
After this operation, 3 MiB extra will be used (install 3 MiB, remove 0 B).
Is this ok [y/N]: y
[1/4] lib64btrfs0-0:6.17.1-1.x86_64 100% | 537.7 KiB/s | 16.7 KiB | 00m00s
[2/4] lib64btrfsutil1-0:6.17.1-1.x86_64 100% | 0.0 B/s | 19.4 KiB | 00m00s
[3/4] lib64snapper-0:0.13.1-1.x86_64 100% | 8.9 MiB/s | 282.7 KiB | 00m00s
[4/4] snapper-0:0.13.1-1.x86_64 100% | -50.2 MiB/s | 617.2 KiB | 00m00s
--------------------------------------------------------------------------------------------------------------
[4/4] Total 100% | -83.1 MiB/s | 936.0 KiB | 00m00s
Running transaction
[1/6] Verify package files 100% | 173.0 B/s | 4.0 B | 00m00s
[2/6] Prepare transaction 100% | 0.0 B/s | 4.0 B | 00m00s
[3/6] Installing lib64btrfsutil1-0:6.17.1-1.x86_64 100% | 18.0 MiB/s | 36.8 KiB | 00m00s
[4/6] Installing lib64btrfs0-0:6.17.1-1.x86_64 100% | 23.3 MiB/s | 23.8 KiB | 00m00s
[5/6] Installing lib64snapper-0:0.13.1-1.x86_64 100% | 12.2 KiB/s | 100.0 B | 00m00s
[6/6] Installing snapper-0:0.13.1-1.x86_64 100% | -1.3 KiB/s | 100.0 B | 00m00s
Complete!
[user@BOM-PC ~]$ sudo dnf search btrfs
Updating and loading repositories:
Repositories loaded.
Matched fields: name, summary
btrfs-assistant.x86_64 GUI management tool to make managing a Btrfs filesystem easier
btrfs-progs.x86_64 Userspace programs for btrfs
btrfsmaintenance.noarch Scripts for btrfs maintenance tasks
grub-btrfs.noarch Include btrfs snapshots at boot menu for GRUB
lib64bd_btrfs.x86_64 The BTRFS plugin for the libblockdev library
lib64bd_btrfs-devel.x86_64 Development files for the libblockdev-btrfs plugin/library
lib64bd_btrfs2.x86_64 The BTRFS plugin for the libblockdev library
lib64btrfs-devel.x86_64 Development headers & libraries for btrfs
lib64btrfs0.x86_64 Library for btrfs
lib64btrfsutil1.x86_64 Util library for btrfs
udisks-btrfs.x86_64 btrfs support for udisks
[user@BOM-PC ~]$ sudo dnf install btrfs-assistant
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
btrfs-assistant x86_64 0:2.1.1-1 rolling-x86_64 520.1 KiB
Installing weak dependencies:
btrfsmaintenance noarch 0:0.5.2-1 rolling-x86_64 53.9 KiB
Transaction Summary:
Installing: 2 packages
Total size of inbound packages is 203 KiB. Need to download 203 KiB.
After this operation, 574 KiB extra will be used (install 574 KiB, remove 0 B).
Is this ok [y/N]: y
[1/2] btrfsmaintenance-0:0.5.2-1.noarch 100% | 2.6 MiB/s | 28.8 KiB | 00m00s
[2/2] btrfs-assistant-0:2.1.1-1.x86_64 100% | -1.9 MiB/s | 173.7 KiB | 00m00s
--------------------------------------------------------------------------------------------------------------
[2/2] Total 100% | -2.2 MiB/s | 202.6 KiB | 00m00s
Running transaction
[1/4] Verify package files 100% | 500.0 B/s | 2.0 B | 00m00s
[2/4] Prepare transaction 100% | 400.0 B/s | 2.0 B | 00m00s
[3/4] Installing btrfsmaintenance-0:0.5.2-1.noarch 100% | 2.2 MiB/s | 57.4 KiB | 00m00s
[4/4] Installing btrfs-assistant-0:2.1.1-1.x86_64 100% | -39.2 MiB/s | 522.0 KiB | 00m00s
Complete!
Please report your findings on OpenMandriva Chat channel. You need to interact directly with people that can fix this. If the OpenMandriva channel does not produce results go to the OpenMandriva Cooker channel.
According to giuanmarian64 “Never mind… there is a sysnconfig file in the snapper sources but it does not get installed by default. Updated package building just now: it should solve you issue…”