From 54c749830a4a5f028f758fc5a96fbf517b674d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Thu, 27 Mar 2025 15:01:41 +0100
Subject: [PATCH] fix: update apt cache before installing repairtools packages

---
 tasks/install-repair-tools.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks/install-repair-tools.yml b/tasks/install-repair-tools.yml
index fa9878a..21f9bac 100644
--- a/tasks/install-repair-tools.yml
+++ b/tasks/install-repair-tools.yml
@@ -34,6 +34,7 @@
     #            not allow just any package version or automatic update
     #            mechanisms. Autoupdates will make the repair tool crash!
     state: present
+    update_cache: true
   loop: "{{ tool_versions_local }}"
   tags: [apt, notest]
 
@@ -46,6 +47,7 @@
     #            not allow just any package version or automatic update
     #            mechanisms. Autoupdates will make the repair tool crash!
     state: present
+    update_cache: true
   loop: "{{ tool_versions_local }}"
   tags: [apt]
 
-- 
GitLab