Package: docker-compose
Version: 2.32.4-3
Severity: normal
Tags: patch

Dear Maintainers,

when "migrating" from the docker-ce stack to the official Debian stack, dpkg
fails with:

Preparing to unpack .../docker-compose_2.32.4-3_amd64.deb ...
Unpacking docker-compose (2.32.4-3) ...
dpkg: error processing archive /var/cache/apt/archives/docker-
compose_2.32.4-3_amd64.deb (--unpack):
 trying to overwrite '/usr/libexec/docker/cli-plugins/docker-compose', which is
also in package docker-compose-plugin (2.40.3-1~debian.13~trixie)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/docker-compose_2.32.4-3_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

which could be easily prevented by adding a conflict to the package (as is
conveniently done for docker.io against docker-ce).

I'm aware that this is just a nice-to-have since docker-ce is not in the
official Debian repositories, but I'm gonna send an MR on Salsa to make it
easy.

Best regards,
Moritz


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages docker-compose depends on:
ii  libc6  2.41-12

Versions of packages docker-compose recommends:
iu  docker-cli  27.5.1+dfsg3-6

docker-compose suggests no packages.

Reply via email to