Package: kgames Version: 1.0-2.1 Severity: normal kgames Breaks, Replaces, and Provides xmille, but the user interface is different enough between the two that it is reasonable to want the xmille package and the other games in kgames at the same time.
I see three obvious solutions, listed in order of my own personal preference: 1. Rename the binary in kgames to kmille, and use the alternatives system to provide links from xmille to either package's binary. This requires cooperation and coordination with the xmille maintainer, but provides the best end user experience. 2. Rename the binary in kgames and don't bother with alternatives. This is a very close second option. 3. Move the kgames version of xmille to a separate binary package, which Conflicts, Replaces, Provides xmille. I'm not too keen on this solution, but it allows you to keep the original executable name without interaction with the xmille maintainer. Debian Policy section 10.1 says that two packages must not install programs with different functionality but with the same filenames. It goes on to say that the same functionality but different implementations is handled by "alternatives" or "Conflicts". I think this best fits the second criterion, but because there is sufficient reason to want both packages installed at the same time, the "alternatives" solution seems substantially better than "Conflicts" to me. For future reference, Conflicts should be used rather than Breaks when two packages provide the same file and will continue to do so. See Debian Policy section 7.4. Policy does encourage using Breaks over Conflicts when possible, but this is a case where Conflicts is necessary. Thanks for packaging these games. ...Marvin -- System Information: Debian Release: 11.0 APT prefers testing APT policy: (990, 'testing'), (500, 'testing-security'), (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (200, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages kgames depends on: ii libc6 2.31-12 ii libx11-6 2:1.7.1-1 ii libxaw7 2:1.0.13-1.1 ii libxmu6 2:1.1.2-2+b3 ii libxpm4 1:3.5.12-1 ii libxt6 1:1.2.0-1 kgames recommends no packages. kgames suggests no packages. -- no debconf information