From af44d814af7f2ec4d6b494d4941d96bcbfd1629f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Tue, 28 Apr 2026 11:08:17 -0300 Subject: [PATCH] Bug 40901: (follow-up) Add Replaces/Breaks for smooth upgrade from koha-common koha-core takes over files previously owned by koha-common (e.g. /etc/default/koha-common). Without Replaces/Breaks, dpkg refuses to overwrite them during upgrade. Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize Signed-off-by: Pedro Amorim --- debian/control | 2 ++ debian/control.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/control b/debian/control index 421149203c..a9acc27f0e 100644 --- a/debian/control +++ b/debian/control @@ -429,6 +429,8 @@ Description: Perl dep. for koha Package: koha-core Architecture: all +Replaces: koha-common (<< 25.11) +Breaks: koha-common (<< 25.11) Description: integrated (physical) library management system 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 d0213a1296..8b9a02450a 100644 --- a/debian/control.in +++ b/debian/control.in @@ -93,6 +93,8 @@ Description: Perl dep. for koha Package: koha-core Architecture: all +Replaces: koha-common (<< 25.11) +Breaks: koha-common (<< 25.11) Description: integrated (physical) library management system Koha is an Integrated Library Management system for real-world libraries (the kinds with books).