Public bug reported: 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_11.0.2-1build1_amd64.deb ... Unpacking ripgrep (11.0.2-1build1) ... dpkg: error processing archive /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb (--unpack): trying to overwrite '/usr/.crates2.json', which is also in package lscolors 0.6.0-1build1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ripgrep_11.0.2-1build1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: rust-lscolors (Ubuntu) Importance: Undecided Status: New ** Affects: rust-ripgrep (Ubuntu) Importance: Undecided Status: New ** Also affects: rust-ripgrep (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881418 Title: prevents installation of ripgrep To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-lscolors/+bug/1881418/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs