Public bug reported: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-5.4.0-48 linux-headers-5.4.0-48-generic linux-image-5.4.0-48-generic linux-modules-5.4.0-48-generic linux-modules-extra-5.4.0-48-generic Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: ripgrep 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,228 kB of archives. After this operation, 4,502 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 ripgrep amd64 11.0.2-1build1 [1,228 kB] Fetched 1,228 kB in 0s (7,464 kB/s) Selecting previously unselected package ripgrep. (Reading database ... 219750 files and directories currently installed.) Preparing to unpack .../ripgrep_11.0.2-1build1_amd64.deb ... Unpacking ripgrep (11.0.2-1build1) ... dpkg: error processing archive /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb (--unpack): trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package DistroRelease: Ubuntu 20.04 Package: ripgrep 11.0.2 ProcVersionSignature: Ubuntu 5.4.0-7642.46~1598628707~20.04~040157c~dev-generic 5.4.44 Uname: Linux 5.4.0-7642-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.9 AptOrdering: ripgrep:amd64: Install NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Oct 14 22:40:38 2020 Dependencies: DpkgTerminalLog: Preparing to unpack .../ripgrep_11.0.2-1build1_amd64.deb ... Unpacking ripgrep (11.0.2-1build1) ... dpkg: error processing archive /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb (--unpack): trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 DuplicateSignature: package:ripgrep:11.0.2 Unpacking ripgrep (11.0.2-1build1) ... dpkg: error processing archive /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb (--unpack): trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 ErrorMessage: trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 InstallationDate: Installed on 2020-10-13 (1 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.1 SourcePackage: ripgrep Title: package ripgrep 11.0.2 failed to install/upgrade: trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ripgrep (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package focal package-conflict -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899865 Title: package ripgrep 11.0.2 failed to install/upgrade: trying to overwrite '/usr/.crates2.json', which is also in package bat 0.12.1-1build1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ripgrep/+bug/1899865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs