package bat (not installed) failed to install/upgrade: trying to overwrite '/usr/.crates2.json', which is also in package ripgrep 11.0.2-1build1
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)
ProcVersionSign
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_
Unpacking bat (0.12.1-1build1) ...
[1mdpkg:[0m error processing archive /var/cache/
trying to overwrite '/usr/.
ErrorMessage: trying to overwrite '/usr/.
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
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 2.0.1
SourcePackage: rust-bat
Title: package bat (not installed) failed to install/upgrade: trying to overwrite '/usr/.
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.