-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Bug]: Uninstalling netclient from homebrew results in error #23
Comments
I have a same problem with macos 13 |
This also prevents upgrade from gravitl/netclient/netclient 0.16.1 -> 0.16.3 |
#22 fixes |
If this is fixed, why can I still not upgrade netclient?
|
Adding the uninstall.sh script to the uninstall stanza seems to resolve it; not a homebrew dev so I'm not sure if that's the right way to go about it. |
This is still a problem in MacOS: harish@harishs-mbp-2 ~ % brew uninstall netclient --force --ignore-dependencies |
@hseshadr to fix this problem, I had to edit uninstall script: {
} to... uninstall script: {
executable: "#{staged_path}/uninstall.sh",
sudo: true,
} After that I was able to uninstall netclient with Your path to the |
Also in Version 0.17.1. it is still a bug. |
Still an issue in 0.20 @infused-kim solution works |
Contact Details
No response
What happened?
Attempting to uninstall netclient using brew returns an error:
~ % brew uninstall netclient
==> Uninstalling Cask netclient
==> Running uninstall script
Error: Cask 'netclient' definition is invalid: uninstall :script without :executable.
Version
v0.16.3
What OS are you using?
Mac
Relevant log output
Contributing guidelines
The text was updated successfully, but these errors were encountered: