[GH-ISSUE #1144] Error installing AmneziaVPN via brew #402

Closed
opened 2026-10-14 03:20:49 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @arseniy-gl on GitHub (Oct 10, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1144

Describe the bug
An error occurs when installing AmneziaVPN via brew:

Error: amneziavpn: It seems the App source '/Applications/AmneziaVPN.app' is not there.

To Reproduce

  1. Run this command in termenal: brew install --cask amneziavpn
  2. See error:
❯ brew install --cask amneziavpn
==> Upgrading 1 outdated package:
amneziavpn 4.6.0.3 -> 4.7.0.0
==> Upgrading amneziavpn
==> Caveats
amneziavpn is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
  softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed.

==> Downloading https://github.com/amnezia-vpn/amnezia-client/releases/download/
Already downloaded: /Users/ars/Library/Caches/Homebrew/downloads/19b2728f4f95bfde246fe43e60e5e42c3ac43ed977e952fef010f57401e08997--AmneziaVPN_4.7.0.0.dmg
==> Removing files:
/Applications/AmneziaVPN.app
Password:
==> Purging files for version 4.7.0.0 of Cask amneziavpn
Error: amneziavpn: It seems the App source '/Applications/AmneziaVPN.app' is not there.

Screenshots

2024-10-10_09-30-29

Desktop (please complete the following information):

  • OS: MacOS
  • Version 14.6
Originally created by @arseniy-gl on GitHub (Oct 10, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1144 **Describe the bug** An error occurs when installing AmneziaVPN via brew: ``` Error: amneziavpn: It seems the App source '/Applications/AmneziaVPN.app' is not there. ``` **To Reproduce** 1. Run this command in termenal: `brew install --cask amneziavpn` 2. See error: ```shell ❯ brew install --cask amneziavpn ==> Upgrading 1 outdated package: amneziavpn 4.6.0.3 -> 4.7.0.0 ==> Upgrading amneziavpn ==> Caveats amneziavpn is built for Intel macOS and so requires Rosetta 2 to be installed. You can install Rosetta 2 with: softwareupdate --install-rosetta --agree-to-license Note that it is very difficult to remove Rosetta 2 once it is installed. ==> Downloading https://github.com/amnezia-vpn/amnezia-client/releases/download/ Already downloaded: /Users/ars/Library/Caches/Homebrew/downloads/19b2728f4f95bfde246fe43e60e5e42c3ac43ed977e952fef010f57401e08997--AmneziaVPN_4.7.0.0.dmg ==> Removing files: /Applications/AmneziaVPN.app Password: ==> Purging files for version 4.7.0.0 of Cask amneziavpn Error: amneziavpn: It seems the App source '/Applications/AmneziaVPN.app' is not there. ``` **Screenshots** ![2024-10-10_09-30-29](https://github.com/user-attachments/assets/b4836b56-eaaf-4bdf-b9e5-29edcff219a3) **Desktop (please complete the following information):** - OS: MacOS - Version 14.6
Author
Owner

@ruschecker commented on GitHub (Jan 11, 2025):

Well i am far from homebrew-casc developers but I see that we should fix this
github.com/Homebrew/homebrew-cask@0b9afa6eda/Casks/a/amneziavpn.rb (L25)
Than AmneziaDMG appears in application.
Next step is not obvious for me - how to automatically trigger that installer.
Probably we should repack it. It looks like pkg now ( with installer ) but should contain application itself

<!-- gh-comment-id:2585353586 --> @ruschecker commented on GitHub (Jan 11, 2025): Well i am far from homebrew-casc developers but I see that we should fix this https://github.com/Homebrew/homebrew-cask/blob/0b9afa6eda8db1bbe107169e245a9c7184f75a01/Casks/a/amneziavpn.rb#L25 Than AmneziaDMG appears in application. Next step is not obvious for me - how to automatically trigger that installer. Probably we should repack it. It looks like pkg now ( with installer ) but should contain application itself
Author
Owner

@metya commented on GitHub (Mar 8, 2025):

can confrim that

<!-- gh-comment-id:2708374489 --> @metya commented on GitHub (Mar 8, 2025): can confrim that
Author
Owner

@artjxm commented on GitHub (May 14, 2025):

For those like me who just wanted to install/upgrade the app, try this:
Upgrade AmneziaVPN (my case):

brew upgrade --force amneziavpn

Source

<!-- gh-comment-id:2880721035 --> @artjxm commented on GitHub (May 14, 2025): For those like me who just wanted to install/upgrade the app, try this: Upgrade AmneziaVPN (my case): ```bash brew upgrade --force amneziavpn ``` [Source](https://github.com/orgs/Homebrew/discussions/4232#discussioncomment-5015739)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#402
No description provided.