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

Bug #1900003 reported by Matthew Cole
This bug report is a duplicate of:  Bug #1868517: Stray /usr/.crates2.json file. Edit Remove
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
rust-bat (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Appears to be repeatedly conflicting with bat-extras and ripgrep. Had to uninstall both.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: bat 0.12.1-1build1
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:
 bat:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Oct 14 23:02:15 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-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: rust-bat
Title: package bat 0.12.1-1build1 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
Matthew Cole (mcole8) 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
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.