Bug#1085526: pacman.c: File conflict: trying to overwrite '/usr/games/pacman', which is also in package pacman 10-20

Axel Beckert abe at debian.org
Sun Oct 20 15:13:38 BST 2024


Package: pacman.c
Version: 0+git20240818+ds-1+b1
Severity: serious

Dear Maintainer,

pacman.c can't be installed if the package pacman is installed, too:

Preparing to unpack .../pacman.c_0+git20240818+ds-1+b1_amd64.deb ...
Unpacking pacman.c (0+git20240818+ds-1+b1) ...
dpkg: error processing archive /var/cache/apt/archives/pacman.c_0+git20240818+ds-1+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/games/pacman', which is also in package pacman 10-20
Errors were encountered while processing:
 /var/cache/apt/archives/pacman.c_0+git20240818+ds-1+b1_amd64.deb

Since both packages provide more or less the same game, introducing
/etc/alternatives/pacman is likely the way to solve this issue properly.

Nevertheless, I think that pacman.c should rename its binary in a
similar way the package name is not "pacman", i.e. call the binary
pacman-c, pacmanc, c-pacman, cpacman or even pacman.c, too. Hence and
because pacman.c is the newcomer, filing the bug report only against
pacman.c. Feel free to clone the bug report if you think that this
requires a fix in package pacman, too.

Other Pacman games like pacman4console, njam, hannah and maybe gtkboard
and pacvim might join in providing that alternative. (IMHO with games,
it is not relevant, if those binaries provide similar commandline
options or not.)

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled



More information about the Pkg-games-devel mailing list