Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`launchctl:` does not support wildcards, but a few casks use it anyway: avast-secureline-vpn, boom, box-drive, paragon-extfs, paragon-ntfs #79661
Comments
For anyone tackling this task, run |
General troubleshooting steps
--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
The
lanchtctl:
key in theuninstall
stanza does not support wildcards, but a few Casks attempt to use this anyway. This ends up making it a no-op since that this string doesn't match any launchd job ids.PR #79620 fixes this for the sound-control cask, but these casks all have the same problem:
From
brew cask --debug uninstall
you can see that the*
is escaped, but even if it wasn't, launchctl doesn't have any built in support for regexes so it wouldn't work in either case. See #79620 for a little more discussion on this issue.To fix this you'll need to install each cask, identify the full names of the launchd jobs it installs, and then enumerate all the job ids in the cask. Or improve
launchctl:
so that it accepts wildcards.