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
update(blackhole-2ch): kickstart "com.apple.audio.coreaudiod" Operation not permitted #171570
Comments
I have the same error and found this.
Solution: With OS X Sonoma 14.4 update there is no rights to relaunch coreaudiod - https://forums.developer.apple.com/forums/thread/748228?answerId=784882022#784882022
|
Yes, I patched the Cask files for We had a discussion the other day about the solution, and someone was kind enough to write a small patch script - https://github.com/orgs/Homebrew/discussions/5291 |
Thank you @klaushardt and @krehel, I solved my problem with removing the uninstall cask script from local file and kill coreaudiod manually. I didn't search the issue in discussions, sorry for my mistake. Manual editing is required for all users. Is it correct because there is not any method to update installed cask in local homebrew metadata? |
@emindeniz99 No there isn't, because the uninstall process can often change over time, so we use the version that matches the currently installed version. If you were to remove the cask's directory from the Caskroom, and use |
I uninstalled the old version by manually modified system_command "/bin/launchctl",
args: [
"kickstart",
"-kp",
"system/com.apple.audio.coreaudiod",
], to system_command "/usr/bin/killall",
args: [
"coreaudiod",
], |
Thx @kyan001! I had to modify it as the new recipe states (commit): system_command "/usr/bin/killall",
args: ["coreaudiod"],
sudo: true,
must_succeed: true |
This comment has been minimized.
This comment has been minimized.
A potentially easier solution is to remove the file from the Silicon Mac Intel Mac Then reinstall |
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
Linking to the relevant issue on the BlackHole repo. |
BlackHole was transfered during the migration from my Intel Mac to the Silicon Mac. It worked after these commands:
|
sudo nano /opt/homebrew/Caskroom/background-music/.metadata/0.4.0/20231225152717.155/Casks/background-music.rb |
The worked for me if you dont include the "i" in rfi i.e.: Thanks all! |
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Command that failed
brew upgrade
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
Related Issues
kyleneideck/BackgroundMusic#727 (comment)
The text was updated successfully, but these errors were encountered: