flyctl from macports reports "flyctl is invalid: release not found"

running flyctl, as installed from macports (0.2.12), reports the following:

> fly version
The current version of flyctl is invalid: release not found
but there is not a newer version available. Proceed with caution!
fly v2024.2.15-v0.2.12.1707955200 darwin/arm64 Commit: <none> BuildDate: 2024-02-15T00:00:00Z BranchName: v0.2.12

Here is the macports page for flyctl: Install flyctl on macOS with MacPorts.

Previous versions from macports (at least 0.1.146) did not report this error. I’m not sure whether that’s because the old version didn’t include this error reporting, or because the new version includes a regression.

I got around this issue by uninstalling flyctl from macports, and then reinstalling using the install script:

> sudo port uninstall flyctl
Password:
The following versions of flyctl are currently installed:
 1) flyctl @0.1.146_0
 2) flyctl @0.2.12_0 (active)
Enter option(s) [1-2/all]: all
--->  Uninstalling flyctl @0.1.146_0
--->  Deactivating flyctl @0.2.12_0
--->  Cleaning flyctl
--->  Uninstalling flyctl @0.2.12_0

> curl -L https://fly.io/install.sh | sh
[...]

I don’t see any indication that fly from macports is officially supported by fly, so I’m posting this primarily to create a search result on the forum for future users who search for the error message.

2 Likes

Added flyctl

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.