prevents installation of ripgrep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rust-lscolors (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
rust-ripgrep (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The package contains the file /usr/.crates2.json which is also included in ripgrep and crashes apt when trying to install both on focal. This was also the case on eoan but there at least apt did not crash.
The following log is when trying to install ripgrep when lscolors 0.6.0-1build1 is installed. When removing lscolors ripgrep installs fine.
The following NEW packages will be installed:
ripgrep (11.0.2-1build1)
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 ... 242988 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)