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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ripgrep (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Dupe of https:/
$ date
Sun 11 Oct 2020 01:38:28 PM PDT
$ sudo apt update
...
Fetched 1,404 kB in 1s (1,056 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install ripgrep
[sudo] password for zachariah:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ripgrep
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,228 kB of archives.
After this operation, 4,502 kB of additional disk space will be used.
(Reading database ... 445348 files and directories currently installed.)
Preparing to unpack .../ripgrep_
Unpacking ripgrep (11.0.2-1build1) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/.
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
$ apt --version
apt 2.0.2ubuntu0.1 (amd64)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: ripgrep 11.0.2
ProcVersionSign
Uname: Linux 5.4.0-52-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
AptOrdering:
ripgrep:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sat Nov 7 06:03:17 2020
Dependencies:
DpkgTerminalLog:
Preparing to unpack .../ripgrep_
Unpacking ripgrep (11.0.2-1build1) over (11.0.2) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/.
DuplicateSignature:
package:
Unpacking ripgrep (11.0.2-1build1) over (11.0.2) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/.
ErrorMessage: trying to overwrite '/usr/.
InstallationDate: Installed on 2020-08-09 (90 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
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/.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |