netbird icon indicating copy to clipboard operation
netbird copied to clipboard

[macOS] Can not upgrade Netbird-UI as homebrew is searching for an uninstall file that is not there

Open TonyBostonTB opened this issue 9 months ago • 5 comments

I am trying to upgrade netbird(-ui) via homebrew but it's borked somehow, here's what I am doing.

brew uninstall --force netbird-ui
==> Uninstalling Cask netbird-ui
env: /Applications/Netbird UI.app/uninstaller.sh: No such file or directory
Error: Failure while executing; `/usr/bin/env /Applications/Netbird\ UI.app/uninstaller.sh` exited with 127. Here's the output:
env: /Applications/Netbird UI.app/uninstaller.sh: No such file or directory

When trying to upgrade, I get this

==> Upgrading 1 outdated package:
netbirdio/tap/netbird-ui 0.27.1 -> 0.27.4
==> Upgrading netbird-ui
...
All dependencies satisfied.
env: /Applications/Netbird UI.app/uninstaller.sh: No such file or directory
==> Purging files for version 0.27.4 of Cask netbird-ui
Error: netbirdio/tap/netbird-ui: Failure while executing; `/usr/bin/env /Applications/Netbird\ UI.app/uninstaller.sh` exited with 127. Here's the output:
env: /Applications/Netbird UI.app/uninstaller.sh: No such file or directory

I do not see a way around this for now. Any suggestions?

TonyBostonTB avatar May 05 '24 15:05 TonyBostonTB

Facing the same issue. Any workarounds for this?

ankit-ls avatar Jun 06 '24 06:06 ankit-ls

Have the same issue and haven’t been able to figure out a workaround.

iggbom avatar Jun 06 '24 07:06 iggbom

Bumping this issue since I am seeing the same!

lblazewski avatar Jun 26 '24 09:06 lblazewski

Same here. Force reinstall gave the same error.

twyxxywt avatar Jun 28 '24 14:06 twyxxywt

I found a hacky way to fix this for me at least.

Download the latest pkg - https://github.com/netbirdio/netbird/releases/download/v0.28.3/netbird-ui_0.28.3_darwin_arm64_signed.zip

Extract it. And "uninstall.sh" is in ./netbird_ui_darwin_arm64/ folder. Copy it as /Applications/Netbird\ UI.app/uninstaller.sh. chmod +x on it.

twyxxywt avatar Jun 28 '24 15:06 twyxxywt