[Bug 2137443] Re: rust-coreutils /usr/bin/sha3sum conflicts with libdigest-sha3-perl

Simon Johnsson 2137443 at bugs.launchpad.net
Fri Jan 16 13:26:17 UTC 2026


I think a way to patch this would be to define sha3sum as an alternative
in libdigest-sha3-perl and coreutils-from-uutils. This could mean that
libdigest-sha3-perl would have to rename its installed binary to
sha3sum-perl for compatibility as well. Using a Replaces is not the way
to go here I would say as we want the tools to co-exist.

I am also changing the bug from affecting rust-coreutils to coreutils-
from-uutils, as rust-coreutils only installs the multicall coreutils
binary.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2137443

Title:
  rust-coreutils /usr/bin/sha3sum conflicts with libdigest-sha3-perl

Status in coreutils-from package in Ubuntu:
  Triaged
Status in libdigest-sha3-perl package in Ubuntu:
  Confirmed
Status in libstrictures-perl package in Ubuntu:
  New

Bug description:
  On Ubuntu 25.10, I encountered an error when trying to install this package.
  libdigest-sha3-perl is trying to install sha3sum, but it appears to be already installed by rust-coreutils.

  The log is shown below.

  $ sudo apt install libdigest-sha3-perl
  ...
  Unpacking libdigest-sha3-perl (1.05-1build5) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-zlJg1i/5-libdigest-sha3-perl_1.05-1build5_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/sha3sum', which is also in package coreutils-from-uutils (0.0.0~ubuntu24)
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-zlJg1i/5-libdigest-sha3-perl_1.05-1build5_amd64.deb
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  $ dpkg -L rust-coreutils | grep sha3sum
  /usr/lib/cargo/bin/coreutils/sha3sum
  $ ls -l /usr/bin/sha3sum 
  lrwxrwxrwx 1 root root 34 Sep 26 18:16 /usr/bin/sha3sum -> ../lib/cargo/bin/coreutils/sha3sum
  $ lsb_release -rd
  Description:    Ubuntu 25.10
  Release:        25.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2137443/+subscriptions




More information about the foundations-bugs mailing list