-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coreutils: conflicts with system commands /sbin/sha{1,224,256,384,512}sum
#201163
Comments
The issue doesn't seem to happen with I guess this issue can be resolved when the build infrastructure is updated to use a more recent version (15.2?) of macOS. |
Do Bottles built on macOS 15 will not install Beyond that I'm not sure there's much we can do; we probably can't/shouldn't replace the contents of |
$ brew reinstall coreutils
==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/manifests/9.5-1
Already downloaded: /Users/suda/Library/Caches/Homebrew/downloads/2e0eb76f257e69ed842ff2ed10c0d7edf1d6e7387460a11babef9b62771bed24--coreutils-9.5-1.bottle_manifest.json
==> Fetching coreutils
==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/blobs/sha256:a5fee7f3a08317464bd61051a5186ffa6cc7e81fb8de6b6ecee65cbc612a6b6b
Already downloaded: /Users/suda/Library/Caches/Homebrew/downloads/ad38f14baac7db73f79196fec03210d37fc5215e560d3406a281910a27de36d9--coreutils--9.5.sonoma.bottle.1.tar.gz
==> Reinstalling coreutils
==> Pouring coreutils--9.5.sonoma.bottle.1.tar.gz
==> Caveats
Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g".
If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with:
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
==> Summary
🍺 /usr/local/Cellar/coreutils/9.5: 477 files, 10.9MB
==> Running `brew cleanup coreutils`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
$ ls -l /usr/local/bin/sha*sum
lrwxr-xr-x 1 suda staff 35 Dec 15 01:59 /usr/local/bin/sha1sum@ -> ../Cellar/coreutils/9.5/bin/sha1sum
lrwxr-xr-x 1 suda staff 37 Dec 15 01:59 /usr/local/bin/sha224sum@ -> ../Cellar/coreutils/9.5/bin/sha224sum
lrwxr-xr-x 1 suda staff 37 Dec 15 01:59 /usr/local/bin/sha256sum@ -> ../Cellar/coreutils/9.5/bin/sha256sum
lrwxr-xr-x 1 suda staff 37 Dec 15 01:59 /usr/local/bin/sha384sum@ -> ../Cellar/coreutils/9.5/bin/sha384sum
lrwxr-xr-x 1 suda staff 37 Dec 15 01:59 /usr/local/bin/sha512sum@ -> ../Cellar/coreutils/9.5/bin/sha512sum |
Ah, yes, I see -- |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
brew install coreutils
What happened (include all command output)?
The
/usr/local/bin/sha{1,224,256,384,512}sum
symlinks installed by Homebrew conflicts with the system commands/sbin/sha{1,224,256,384,512}sum
.IIUC, the system commands
/sbin/sha{1,224,256,384,512}sum
were not present in macOS 14.Not sure about 15.0 and 15.1.
What did you expect to happen?
The
/usr/local/bin/sha*sum
links should be probably prefixed with theg
prefix.Or, the
break_macos_users
notice should be updated to includesha*sum
:homebrew-core/Formula/c/coreutils.rb
Lines 59 to 61 in 7745d32
Step-by-step reproduction instructions (by running
brew
commands)`brew install coreutils`
The text was updated successfully, but these errors were encountered: