From 5a8662ee132f67037b27d0b826f07052baf71eba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Wed, 24 Mar 2021 15:33:52 +0100
Subject: [PATCH] feat: set specific versions for repair/validation tools to
 preserve recipe functionality by avoiding updates

---
 tasks/install-repair-tools.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tasks/install-repair-tools.yml b/tasks/install-repair-tools.yml
index 4947cc6..3740685 100644
--- a/tasks/install-repair-tools.yml
+++ b/tasks/install-repair-tools.yml
@@ -30,10 +30,13 @@
 - name: install repairtool (package dependencies are encoded in the package)
   apt:
     name: [
-      'libslub-lza-repair-perl',
-      'checkit-tiff',
-      'fixit-tiff'
+      'libslub-lza-repair-perl=0.9.15*',
+      'checkit-tiff=1.0.0',
+      'fixit-tiff=0.1.3'
     ]
+    # CAUTION!!! Always use "state: present". Due to version constraints, we do
+    #            not allow just any package version or automatic update
+    #            mechanisms. Autoupdates will make the repair tool crash!
     state: present
   tags: [apt]
 
-- 
GitLab