jimsalterjrs / sanoid

These are policy-driven snapshot management and replication tools which use OpenZFS for underlying next-gen storage. (Btrfs support plans are shelved unless and until btrfs becomes reliable.)
http://www.openoid.net/products/
GNU General Public License v3.0
3.14k stars 308 forks source link

Debian package incompatible with OpenZFS built from sources #930

Closed kc9jud closed 5 months ago

kc9jud commented 5 months ago

The .deb package depends on zfsutils-linux which leads to a conflict if OpenZFS has been installed by building custom packages from the upstream source tree:

> sudo apt install ../sanoid*.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'sanoid' instead of '../sanoid_2.2.0_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openzfs-libnvpair3 : Conflicts: libnvpair3linux but 2.1.5-1ubuntu6~22.04.4 is to be installed
 openzfs-libuutil3 : Conflicts: libuutil3linux but 2.1.5-1ubuntu6~22.04.4 is to be installed
 openzfs-libzfs4 : Conflicts: libzfs4linux but 2.1.5-1ubuntu6~22.04.4 is to be installed
 openzfs-libzpool5 : Conflicts: libzpool5linux but 2.1.5-1ubuntu6~22.04.4 is to be installed
 openzfs-zfsutils : Conflicts: zfsutils-linux but 2.1.5-1ubuntu6~22.04.4 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

sanoid needs to list openzfs-zfsutils as an alternate.

kc9jud commented 5 months ago

Oops, already fixed in 07b6d634. It just hadn't made it into the latest release. Closing.