-
Notifications
You must be signed in to change notification settings - Fork 676
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
Cannot uninstall using brew on macOS 14.4 #727
Comments
I see the PR to fix this in homebrew-cask is merged, but doing |
@DamianPereira Even after the |
Thank you! I'll check it out. |
Similar issue, also happening with ExistentialAudio/BlackHole
|
ok manually editing |
Can you help me with this? What exactly do I need to edit in this file? I'm just trying to update but that's not possible when I cannot uninstall |
@lead0r Is this what you're looking for? https://github.com/Homebrew/homebrew-cask/pull/169322/files |
Yes, thank you, that worked! |
Can anyone please say how they managed to fix this issue? This is the formula on my Mac that is causing the problem: cask "background-music" do
version "0.4.3"
sha256 "c1c48a37c83af44ce50bee68879856c96b2f6c97360ce461b1c7d653515be7fd"
url "https://github.com/kyleneideck/BackgroundMusic/releases/download/v#{version}/BackgroundMusic-#{version}.pkg"
name "Background Music"
desc "Audio utility"
homepage "https://github.com/kyleneideck/BackgroundMusic"
livecheck do
url :url
strategy :github_latest
end
pkg "BackgroundMusic-#{version}.pkg"
uninstall_postflight do
system_command "/usr/bin/killall",
args: ["coreaudiod"],
sudo: true,
must_succeed: true
end
uninstall launchctl: "com.bearisdriving.BGM.XPCHelper",
quit: "com.bearisdriving.BGM.App",
pkgutil: "com.bearisdriving.BGM",
delete: [
"/Library/Application Support/Background Music",
"/Library/Audio/Plug-Ins/HAL/Background Music Device.driver",
"/usr/local/libexec/BGMXPCHelper.xpc",
]
zap trash: [
"/Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist",
"~/Library/Preferences/com.bearisdriving.BGM.App.plist",
]
end I tried editing it to remove the lines @kyleneideck linked, but then the hash changes and brew won't use it. Edit: GPT-4 helped! I followed suggestion #2 and it got rid of this app once and for all. |
Thanks, followed suggestions by #727 (comment) and #727 (comment) worked. |
Same here. Great find! |
A potentially easier solution is to remove the file from the Caskroom and then reinstall it. Silicon Mac Intel Mac Then reinstall |
Thank you. It seems that this was helpful, I just uninstalled it (rm) but how can I double-check that I finally got rid of this? |
I've tried solution with patched cask, but it doesn't work for me (it's already changed as in this PR. Sonoma 14.5 |
It worked for me on macOS Sonoma. I edited the file After that, running |
Description of the bug
Cannot uninstall after install with
brew
on macOS 14.4:https://developer.apple.com/documentation/macos-release-notes/macos-14_4-release-notes#Core-Audio
Steps to reproduce
brew
;brew
.Versions
The text was updated successfully, but these errors were encountered: