gravitl / netclient

Apache License 2.0
66 stars 31 forks source link

Can't install Netclient on M1 #659

Open cedricve opened 9 months ago

cedricve commented 9 months ago

Tried installing following release on my M1 - Sonoma 14.2.

Netclient-M1.pkg - 12.4 MB - Nov 17

But get following error:

Screenshot 2023-12-18 at 15 28 27

sergregory commented 8 months ago

Same for me. I was able to install the intel version via rosetta, but it works really buggy (cannot disconnect from the mesh, etc.) - I believe it is because of the emulation process. I also was not able to install through brew, but the errors were different:

➜  downloads brew install --cask --force netclient
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#################################################################################################################################################################### 100.0%
==> Downloading https://fileserver.netmaker.org/releases/download/v0.21.2/netclient-arm64.tgz
Already downloaded: /Users/grigory/Library/Caches/Homebrew/downloads/b1ed73cba7915dbfca225f5c2e5fa3f364adb081e89fdfbf0d39c7445c624714--netclient-arm64.tgz
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#################################################################################################################################################################### 100.0%
All formula dependencies satisfied.
==> Installing Cask netclient
==> Running installer script '/opt/homebrew/Caskroom/netclient/0.21.2/install.sh'
Password:
xattr: No such file: /opt/homebrew/bin/netclient
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.
==> Linking Binary 'netclient' to '/opt/homebrew/bin/netclient'
chmod: Unable to change file mode on /Applications/netclient: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/netclient.yml: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/nodes.yml: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/servers.yml: Operation not permitted
==> Unlinking Binary '/opt/homebrew/bin/netclient'
==> Purging files for version 0.21.2 of Cask netclient
Error: Failure while executing; `/usr/bin/env /bin/chmod -R -- 0755 /Applications/netclient` exited with 1. Here's the output:
chmod: Unable to change file mode on /Applications/netclient: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/netclient.yml: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/nodes.yml: Operation not permitted
chmod: Unable to change file mode on /Applications/netclient/servers.yml: Operation not permitted
CharlieCortial commented 8 months ago

I also have both problems described by @sergregory