Package: zfs-linux Version: 0.7.3-2 Severity: grave Tags: patch --- Please enter the report below this line. ---
The recently uploaded version depends on a version of spl that does not exist, making it unusable, and uninstallable. The attached patch, (a very slight modification of that proposed in 881013, which had a >= instead of >>) addresses this (it is based off of the 0.7.3-1 source, not the -2 version). Notice critically the presence of a '>>${source:Upstream-Version}.' with a period (.) at the end. This logic allows for a '-' extension, since it compares less than the '.', rather than requiring the exact version ${source:Upstream-Version}, which will never be in the archives.
commit cfb50102c8864ba59a67a25e772efe8d0c73e996 Author: Antonio Russo <antonio.e.ru...@gmail.com> Date: Sun Nov 19 17:03:47 2017 -0500 Add maximum version dependency on spl-dkms diff --git a/debian/control b/debian/control index dc8d0d65..3d6c973b 100644 --- a/debian/control +++ b/debian/control @@ -87,7 +87,7 @@ Description: OpenZFS pool library for Linux Package: zfs-dkms Architecture: all -Pre-Depends: spl-dkms (>= ${source:Upstream-Version}) +Pre-Depends: spl-dkms (>= ${source:Upstream-Version}), spl-dkms (<<${source:Upstream-Version}.) Depends: dkms (>> 2.1.1.2-5), lsb-release, ${misc:Depends} Recommends: zfsutils-linux, zfs-zed Provides: zfs-modules diff --git a/debian/control.in b/debian/control.in index dc8d0d65..3d6c973b 100644 --- a/debian/control.in +++ b/debian/control.in @@ -87,7 +87,7 @@ Description: OpenZFS pool library for Linux Package: zfs-dkms Architecture: all -Pre-Depends: spl-dkms (>= ${source:Upstream-Version}) +Pre-Depends: spl-dkms (>= ${source:Upstream-Version}), spl-dkms (<<${source:Upstream-Version}.) Depends: dkms (>> 2.1.1.2-5), lsb-release, ${misc:Depends} Recommends: zfsutils-linux, zfs-zed Provides: zfs-modules