[Bug 2127231] Re: /usr/bin/b3sum is a dangling symlink

Keith Thompson 2127231 at bugs.launchpad.net
Wed Mar 25 22:20:31 UTC 2026


Most coreutils command are provided in /usr/bin as symlinks to
/usr/lib/cargo/bin/coreutils.

/usr/lib/cargo/bin/coreutils contains symlinks to /usr/bin/coreutils
(provided by rust-coreutils).

"coreutils --list" lists the supported commands.

The following commands are listed by `coreutils --list` but do not
appear as hard links in usr/lib/cargo/bin/coreutils :

b3sum
hostname
kill
more
uptime

Conversely, /usr/lib/cargo/bin/coreutils/relpath exists as a hardlink to
/usr/bin/coreutils, but neither gnu-coreutils nor rust-coreutils
supports a "relpath" command. (There's a "relpath" command in the fp-
tuils, Free Pascal utilities, package).

Suggestion: The contents of the /usr/lib/cargo/bin/coreutils directory
should exactly match the set of commands supported by rust-coreutils, as
listed by `coreutils --list`. That would, among other things, correct
this problem by creating the target of the /usr/bin/b3sum symlink.

Of course not all commands from /usr/lib/cargo/bin/coreutils need to be
provided as symlinks under /usr/bin. Some such commands, for various
reasons, are implemented via other packages, most commonly GNU
coreutils. (I presume some thought has been given to *which* commands
should be provided by GNU coreutils, though I wonder why the system uses
gnu-coreutils true and rust-coreutils for false.)

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

Title:
  /usr/bin/b3sum is a dangling symlink

Status in coreutils-from package in Ubuntu:
  Triaged

Bug description:
  A number of checksum commands are installed as symlinks in /usr/bin, 
  pointing to the uutils command in ../lib/cargo/bin/coreutils .
   
  uutils normally provides both "b2sum" and "b3sum" commands, but 
  b3sum is missing in Ubuntu 25.10.

  $ ls -l /usr/bin/b2sum /usr/bin/b3sum 
  lrwxrwxrwx 1 root root 32 Sep 26 11:16 /usr/bin/b2sum -> ../lib/cargo/bin/coreutils/b2sum
  lrwxrwxrwx 1 root root 32 Sep 26 11:16 /usr/bin/b3sum -> ../lib/cargo/bin/coreutils/b3sum
  $ ls -lL /usr/bin/b2sum /usr/bin/b3sum 
  ls: cannot access '/usr/bin/b3sum': No such file or directory
  -rwxr-xr-x 115 root root 10828088 Sep 24 08:36 /usr/bin/b2sum
  $

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: coreutils-from-uutils 0.0.0~ubuntu24
  Uname: Linux 6.6.87.2-microsoft-standard-WSL2 x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Thu Oct  9 20:27:12 2025
  PackageArchitecture: all
  SourcePackage: coreutils-from
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list