Package: docker-buildx
Version: 0.19.3+ds1-4
Severity: normal
Tags: patch

Dear Maintainers,

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

Unpacking docker-buildx (0.19.3+ds1-4) ...
dpkg: error processing archive /tmp/apt-dpkg-install-vyX2Kc/07-docker-
buildx_0.19.3+ds1-4_amd64.deb (--unpack):
 trying to overwrite '/usr/libexec/docker/cli-plugins/docker-buildx', which is
also in package docker-buildx-plugin (0.29.1-1~debian.13~trixie)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-vyX2Kc/07-docker-buildx_0.19.3+ds1-4_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-buildx depends on:
ii  libc6  2.41-12

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

docker-buildx suggests no packages.

Reply via email to