-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Has it been resolved? Or “won’t fix”?
Devin
…On May 23, 2024 at 5:05 PM -0700, github-actions[bot] ***@***.***>, wrote:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
The only way to globally resolve this would be to submit a PR to https://github.com/homebrew/Brew to detect and intercept the outdated |
The recommended command is retroactive if that makes any difference.
Devin
…On May 23, 2024 at 8:13 PM -0700, Bevan Kay ***@***.***>, wrote:
The only way to globally resolve this would be to submit a PR to https://github.com/homebrew/Brew to detect and intercept the outdated kickstart command and replace it with the correct command. In future we would ideally replace these commands with a set of commands available through a Ruby DSL and not allow ad-hoc preflight/postflight blocks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Closing this as workaround has been provided |
I tried all the above and its not working... (because my blackhole-2ch.rb doesn't exist)
|
Modifying
|
finally! this one worked. thanks! |
instead of this fix i had issues with I did something else:
profit
|
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: