From 67ec61a60fe489c3d66af6b4d0db31e08ca9fb3f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 24 Jul 2026 12:12:04 -0400 Subject: [PATCH] Bug 40901: (QA follow-up) Add Replaces/Breaks on old koha-common to koha-systemd The old koha-common package shipped the same koha-common.service file that koha-systemd now ships. Declaring Replaces/Breaks lets upgrades hand the file over cleanly, matching what koha-sysv and koha-core already declare. https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40901#c129 Signed-off-by: Martin Renvoize Signed-off-by: Pedro Amorim --- debian/control | 3 ++- debian/control.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 7e010f1f32..3f555f01ff 100644 --- a/debian/control +++ b/debian/control @@ -476,7 +476,8 @@ Architecture: all Depends: ${misc:Depends}, systemd, koha-core Provides: koha-init Conflicts: koha-sysv -Replaces: koha-sysv +Replaces: koha-common (<< 25.11), koha-sysv +Breaks: koha-common (<< 25.11) Description: systemd units for Koha ILS Koha is an Integrated Library Management system for real-world libraries (the kinds with books). diff --git a/debian/control.in b/debian/control.in index 19a4a8f7a1..6cb4746d74 100644 --- a/debian/control.in +++ b/debian/control.in @@ -140,7 +140,8 @@ Architecture: all Depends: ${misc:Depends}, systemd, koha-core Provides: koha-init Conflicts: koha-sysv -Replaces: koha-sysv +Replaces: koha-common (<< 25.11), koha-sysv +Breaks: koha-common (<< 25.11) Description: systemd units for Koha ILS Koha is an Integrated Library Management system for real-world libraries (the kinds with books).