Public bug reported:

I tried installing docker-compose using apt and got the following error:

debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 
columns wide.)
debconf: falling back to frontend: Readline
Selecting previously unselected package docker-compose-v2.
(Reading database ... 235967 files and directories currently installed.)
Preparing to unpack .../docker-compose-v2_2.37.1+ds1-0ubuntu2_amd64.deb ...
Unpacking docker-compose-v2 (2.37.1+ds1-0ubuntu2) ...
dpkg: error processing archive 
/var/cache/apt/archives/docker-compose-v2_2.37.1+ds1-0ubuntu2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/libexec/docker/cli-plugins/docker-compose', which is 
also in package docker-compose-plugin (2.40.2-1~ubuntu.25.10~questing)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/docker-compose-v2_2.37.1+ds1-0ubuntu2_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 25.10
Package: docker-compose-v2 (not installed)
ProcVersionSignature: Ubuntu 6.17.0-6.6-generic 6.17.1
Uname: Linux 6.17.0-6-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
AptOrdering:
 docker-compose-v2:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Oct 30 19:50:28 2025
DpkgTerminalLog:
 Preparing to unpack .../docker-compose-v2_2.37.1+ds1-0ubuntu2_amd64.deb ...
 Unpacking docker-compose-v2 (2.37.1+ds1-0ubuntu2) ...
 dpkg: error processing archive 
/var/cache/apt/archives/docker-compose-v2_2.37.1+ds1-0ubuntu2_amd64.deb 
(--unpack):
  trying to overwrite '/usr/libexec/docker/cli-plugins/docker-compose', which 
is also in package docker-compose-plugin (2.40.2-1~ubuntu.25.10~questing)
ErrorMessage: trying to overwrite 
'/usr/libexec/docker/cli-plugins/docker-compose', which is also in package 
docker-compose-plugin (2.40.2-1~ubuntu.25.10~questing)
InstallationDate: Installed on 2025-10-19 (11 days ago)
InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
Python3Details: /usr/bin/python3.13, Python 3.13.7, python3-minimal, 3.13.7-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.21ubuntu3.1
 apt  3.1.6ubuntu2
SourcePackage: docker-compose-v2
Title: package docker-compose-v2 (not installed) failed to install/upgrade: 
trying to overwrite '/usr/libexec/docker/cli-plugins/docker-compose', which is 
also in package docker-compose-plugin (2.40.2-1~ubuntu.25.10~questing)
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: docker-compose-v2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130361

Title:
  package docker-compose-v2 (not installed) failed to install/upgrade:
  trying to overwrite '/usr/libexec/docker/cli-plugins/docker-compose'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2130361/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to