package bat (not installed) failed to install/upgrade: trying to overwrite '/usr/.crates2.json', which is also in package ripgrep 11.0.2-1build1

Bug #1870139 reported by George White
This bug report is a duplicate of:  Bug #1868517: Stray /usr/.crates2.json file. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rust-bat (Ubuntu)
Confirmed
Undecided
Unassigned
rust-ripgrep (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ripgrep and bat appear to share the same /usr/.crates2.json file, which causes a conflict when attempting to install both packages side-by-side.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: bat (not installed)
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu21
AptOrdering:
 bat:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Apr 1 14:18:42 2020
DpkgTerminalLog:
 Preparing to unpack .../bat_0.12.1-1build1_amd64.deb ...
 Unpacking bat (0.12.1-1build1) ...
 dpkg: error processing archive /var/cache/apt/archives/bat_0.12.1-1build1_amd64.deb (--unpack):
  trying to overwrite '/usr/.crates2.json', which is also in package ripgrep 11.0.2-1build1
ErrorMessage: trying to overwrite '/usr/.crates2.json', which is also in package ripgrep 11.0.2-1build1
InstallationDate: Installed on 2020-02-04 (56 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 2.0.1
SourcePackage: rust-bat
Title: package bat (not installed) failed to install/upgrade: trying to overwrite '/usr/.crates2.json', which is also in package ripgrep 11.0.2-1build1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
George White (georgeunix-5) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rust-bat (Ubuntu):
status: New → Confirmed
Changed in rust-ripgrep (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.