conflicting files in bat and ripgrep

Bug #1956837 reported by Dmitry Markin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rust-ripgrep (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Ubuntu 20.04 both packages bat & ripgrep provide file /usr/.crates2.json (which is most probably unneeded), so it's not possible to have both packages installed.

Ubuntu version: Ubuntu 20.04.3 LTS.

Package versions:
bat = 0.12.1-1build1 (focal/universe)
ripgrep = 11.0.2-1build1 (focal/universe)

dpkg error message:
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
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/bat_0.12.1-1build1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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.