Bug 40901: (QA follow-up) Fix Replaces/Breaks version bound for the package split

The split lands in the 26.06 development cycle (Koha.pm is at
26.06.00.xxx), but the Replaces/Breaks on the old monolithic
koha-common were written as (<< 25.11). Released 25.11.x and 26.05.x
koha-common packages therefore don't match, and upgrading from them
aborts with dpkg's "trying to overwrite '/usr/sbin/koha-list', which
is also in package koha-common".

Use (<< 26.06~) everywhere, including the rm_conffile version in
koha-common.maintscript, so every pre-split release is covered.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Martin Renvoize 2026-09-15 17:27:57 +01:00 committed by Pedro Amorim
parent 699a7a3c0c
commit b8b064bf40
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
3 changed files with 13 additions and 13 deletions

12
debian/control vendored
View File

@ -429,8 +429,8 @@ Description: Perl dep. for koha
Package: koha-core
Architecture: all
Replaces: koha-common (<< 25.11)
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~)
Breaks: koha-common (<< 26.06~)
Description: integrated (physical) library management system
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -476,8 +476,8 @@ Architecture: all
Depends: ${misc:Depends}, systemd, koha-core
Provides: koha-init
Conflicts: koha-sysv
Replaces: koha-common (<< 25.11), koha-sysv
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~), koha-sysv
Breaks: koha-common (<< 26.06~)
Description: systemd units for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -495,8 +495,8 @@ Architecture: all
Depends: ${misc:Depends}, daemon, koha-core
Provides: koha-init
Conflicts: koha-systemd
Replaces: koha-common (<< 25.11), koha-systemd
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~), koha-systemd
Breaks: koha-common (<< 26.06~)
Description: SysV init scripts for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).

12
debian/control.in vendored
View File

@ -93,8 +93,8 @@ Description: Perl dep. for koha
Package: koha-core
Architecture: all
Replaces: koha-common (<< 25.11)
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~)
Breaks: koha-common (<< 26.06~)
Description: integrated (physical) library management system
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -140,8 +140,8 @@ Architecture: all
Depends: ${misc:Depends}, systemd, koha-core
Provides: koha-init
Conflicts: koha-sysv
Replaces: koha-common (<< 25.11), koha-sysv
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~), koha-sysv
Breaks: koha-common (<< 26.06~)
Description: systemd units for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -159,8 +159,8 @@ Architecture: all
Depends: ${misc:Depends}, daemon, koha-core
Provides: koha-init
Conflicts: koha-systemd
Replaces: koha-common (<< 25.11), koha-systemd
Breaks: koha-common (<< 25.11)
Replaces: koha-common (<< 26.06~), koha-systemd
Breaks: koha-common (<< 26.06~)
Description: SysV init scripts for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).

View File

@ -1 +1 @@
rm_conffile /etc/init.d/koha-common 25.11~
rm_conffile /etc/init.d/koha-common 26.06~