From 5e37c3e412168114fd61085f79a018a38e70f149 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 7 May 2026 14:31:32 -0400 Subject: [PATCH] Bug 40901: (follow-up) Allow seamless swap between koha-systemd and koha-sysv koha-systemd and koha-sysv have always declared mutual Conflicts so you can't install both, but they don't declare Replaces which would make it so installing one autmatically removes the other Signed-off-by: Kyle M Hall 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 b7f8286b71..d6f54c0b2b 100644 --- a/debian/control +++ b/debian/control @@ -481,6 +481,7 @@ Architecture: all Depends: ${misc:Depends}, systemd, koha-core Provides: koha-init Conflicts: koha-sysv +Replaces: koha-sysv Description: systemd units for Koha ILS Koha is an Integrated Library Management system for real-world libraries (the kinds with books). @@ -498,7 +499,7 @@ Architecture: all Depends: ${misc:Depends}, daemon, koha-core Provides: koha-init Conflicts: koha-systemd -Replaces: koha-common (<< 25.11) +Replaces: koha-common (<< 25.11), koha-systemd Breaks: koha-common (<< 25.11) Description: SysV init scripts for Koha ILS Koha is an Integrated Library Management system for real-world libraries diff --git a/debian/control.in b/debian/control.in index 9703bc3f40..29763af0e8 100644 --- a/debian/control.in +++ b/debian/control.in @@ -145,6 +145,7 @@ Architecture: all Depends: ${misc:Depends}, systemd, koha-core Provides: koha-init Conflicts: koha-sysv +Replaces: koha-sysv Description: systemd units for Koha ILS Koha is an Integrated Library Management system for real-world libraries (the kinds with books). @@ -162,7 +163,7 @@ Architecture: all Depends: ${misc:Depends}, daemon, koha-core Provides: koha-init Conflicts: koha-systemd -Replaces: koha-common (<< 25.11) +Replaces: koha-common (<< 25.11), koha-systemd Breaks: koha-common (<< 25.11) Description: SysV init scripts for Koha ILS Koha is an Integrated Library Management system for real-world libraries