[GH-ISSUE #2744] Installer fails on clean macOS / without Rosetta on Apple Silicon (Intel build requires Rosetta) #1247

Open
opened 2026-10-13 20:38:54 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @naumenkoff on GitHub (Jun 16, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2744

Describe the bug

On a clean macOS installation, or on macOS without Rosetta installed, the AmneziaVPN .pkg installer fails during installation. The installer completes partially, but the postinstall script ends with a package script error.

This appears to happen because the app inside the package is built for Intel only. When the app is extracted from the package and launched directly from Payload/Applications, macOS prompts to install Rosetta. After Rosetta is installed, the installer completes successfully.

To Reproduce

  1. Use a clean macOS installation on Apple Silicon, or remove Rosetta if it is not installed.
  2. Run the AmneziaVPN .pkg installer.
  3. The installation fails with a postinstall/script error.
  4. Optionally, unpack the .pkg, open AmneziaVPN_install.pkg, navigate to Payload/Applications, and launch AmneziaVPN.
  5. macOS prompts to install Rosetta because the application is Intel-only.
  6. After installing Rosetta, rerun the installer and it completes successfully.

Expected behavior

The installer should either:

  • detect that Rosetta is missing and prompt the user to install it before continuing,
  • provide an ARM-native build so Rosetta is not required,
  • or clearly document in the installation instructions that Rosetta is required.

Log files

Relevant log lines from the installation:

Sun Jun 14 02:47:33 MSK 2026 CMD: launchctl bootout system /Library/LaunchDaemons/AmneziaVPN.plist
Boot-out failed: 5: Input/output error
Sun Jun 14 02:47:33 MSK 2026 EXIT: 5
...
Sun Jun 14 02:47:33 MSK 2026 CMD: launchctl kickstart -k system/AmneziaVPN-service
2026-06-14 02:53:18+03 Noutbuk-Stanislaw softwareupdated[83293]: Package Authoring: error running installation-check script: TypeError: null is not an object (evaluating 'cpuFeatures.split') at x-distribution:///installer-gui-script[1]/installation-check[1]/@script
2026-06-14 02:57:33+03 Noutbuk-Stanislaw package_script_service[6448]: PackageKit: Terminating PKInstallTask(pid:6449). Task has exceeded its 600 seconds of runtime.
2026-06-14 02:57:38+03 Noutbuk-Stanislaw installd[1377]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "При запуске скриптов из пакета «AmneziaVPN_4.8.18.0_macos.pkg» произошла ошибка."

Screenshots

N/A

Desktop (please complete the following information):

  • OS: macOS 27 Beta 27.0
  • Architecture: Apple Silicon
  • Rosetta: Not installed initially

Additional context

The installer works after Rosetta is installed. This strongly suggests the current build/package depends on Intel compatibility and should either:

  • check for Rosetta before installation,
  • offer to install Rosetta automatically,
  • ship an ARM-native build,
  • or clearly state Rosetta as a requirement in the documentation.
Originally created by @naumenkoff on GitHub (Jun 16, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2744 ## Describe the bug On a clean macOS installation, or on macOS without Rosetta installed, the AmneziaVPN `.pkg` installer fails during installation. The installer completes partially, but the postinstall script ends with a package script error. This appears to happen because the app inside the package is built for Intel only. When the app is extracted from the package and launched directly from `Payload/Applications`, macOS prompts to install Rosetta. After Rosetta is installed, the installer completes successfully. ## To Reproduce 1. Use a clean macOS installation on Apple Silicon, or remove Rosetta if it is not installed. 2. Run the AmneziaVPN `.pkg` installer. 3. The installation fails with a postinstall/script error. 4. Optionally, unpack the `.pkg`, open `AmneziaVPN_install.pkg`, navigate to `Payload/Applications`, and launch `AmneziaVPN`. 5. macOS prompts to install Rosetta because the application is Intel-only. 6. After installing Rosetta, rerun the installer and it completes successfully. ## Expected behavior The installer should either: * detect that Rosetta is missing and prompt the user to install it before continuing, * provide an ARM-native build so Rosetta is not required, * or clearly document in the installation instructions that Rosetta is required. ## Log files Relevant log lines from the installation: ```text Sun Jun 14 02:47:33 MSK 2026 CMD: launchctl bootout system /Library/LaunchDaemons/AmneziaVPN.plist Boot-out failed: 5: Input/output error Sun Jun 14 02:47:33 MSK 2026 EXIT: 5 ... Sun Jun 14 02:47:33 MSK 2026 CMD: launchctl kickstart -k system/AmneziaVPN-service ``` ```text 2026-06-14 02:53:18+03 Noutbuk-Stanislaw softwareupdated[83293]: Package Authoring: error running installation-check script: TypeError: null is not an object (evaluating 'cpuFeatures.split') at x-distribution:///installer-gui-script[1]/installation-check[1]/@script ``` ```text 2026-06-14 02:57:33+03 Noutbuk-Stanislaw package_script_service[6448]: PackageKit: Terminating PKInstallTask(pid:6449). Task has exceeded its 600 seconds of runtime. 2026-06-14 02:57:38+03 Noutbuk-Stanislaw installd[1377]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "При запуске скриптов из пакета «AmneziaVPN_4.8.18.0_macos.pkg» произошла ошибка." ``` ## Screenshots N/A ## Desktop (please complete the following information): * OS: macOS 27 Beta 27.0 * Architecture: Apple Silicon * Rosetta: Not installed initially ## Additional context The installer works after Rosetta is installed. This strongly suggests the current build/package depends on Intel compatibility and should either: * check for Rosetta before installation, * offer to install Rosetta automatically, * ship an ARM-native build, * or clearly state Rosetta as a requirement in the documentation.
Author
Owner

@naumenkoff commented on GitHub (Jun 16, 2026):

install.log
post-install.log

<!-- gh-comment-id:4723598908 --> @naumenkoff commented on GitHub (Jun 16, 2026): [install.log](https://github.com/user-attachments/files/29021389/install.log) [post-install.log](https://github.com/user-attachments/files/29021390/post-install.log)
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#1247
No description provided.