Skip to content
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]: brew upgrade netclient failed #21

Open
BleedingSky opened this issue Oct 15, 2022 · 1 comment
Open

[Bug]: brew upgrade netclient failed #21

BleedingSky opened this issue Oct 15, 2022 · 1 comment
Labels

Comments

@BleedingSky
Copy link

I tried to upgrade netclient from 0.16.0 to 0.16.1 on my laptop with M1 chip and macOS Monterey, but brew upgrade netclient failed with the message Error: Cask 'netclient' definition is invalid: uninstall :script without :executable. The same error will also occur if I try brew uninstall netclient or brew reinstall netclient.

> brew upgrade netclient
==> Upgrading 1 outdated package:
gravitl/netclient/netclient 0.16.0 -> 0.16.1
==> Upgrading netclient
==> Downloading https://fileserver.netmaker.org/v0.16.1/darwin/netclient-arm64.tgz
Already downloaded: /Users/xyz/Library/Caches/Homebrew/downloads/9f9edc353fa2425663f1294b3bac0a5ff9e472d3e3ddbc873be1b740431f5143--netclient-arm64.tgz
All formula dependencies satisfied.
==> Running uninstall script
==> Purging files for version 0.16.1 of Cask netclient
Error: Cask 'netclient' definition is invalid: uninstall :script without :executable.

By the way, I have to modify the PATH variable in /Library/LaunchDaemons/com.gravitl.netclient.plist manually to make netclient work, since homebrew put the binaries of wireguard-tools in /opt/homebrew/bin instead of /opt/homebrew/sbin on my system.

> which wg
/opt/homebrew/bin/wg
@mattkasun
Copy link
Contributor

#22 fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants