mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 16:09:02 -05:00
[GH-ISSUE #198] Newt Installscript fails #1129
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @legionGer on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/198
Describe the Bug
Hey,
I tried installing newt on both Alpine and Debian 13, the install script will fail on both ...
xxx@newt:~# curl -fsSL https://pangolin.net/get-newt.sh | bash [INFO] Installing latest version of newt... [INFO] Fetching latest version from GitHub... [ERROR] Failed to fetch latest version informationcurl -fsSL https://api.github.com/repos/fosrl/newt/releases/latest returns a 404.
Installing newt manually will also fail to fetch information about the latest version.
Environment
To Reproduce
Try installing newt on a fresh OS.
Expected Behavior
To download newt-
@HubEight commented on GitHub (Dec 10, 2025):
I have this error too.
@gshomelab commented on GitHub (Dec 10, 2025):
Getting the same error
@Tilvisun commented on GitHub (Dec 10, 2025):
I suspect the new RC version as the reason.
As workaround, you could download the installer script and hardcode the latest normal version:
replace this:
1271e8235e/get-newt.sh (L33-L60)with:
echo "1.6.0"@bbe123 commented on GitHub (Dec 10, 2025):
Same issue here, deb 13
@Malith-Rukshan commented on GitHub (Dec 11, 2025):
Since this repository removed the latest version (Release ID) from GitHub, the default installation script no longer works. The script relies on the
https://api.github.com/repos/fosrl/newt/releases/latestendpoint to fetch the latest version, which now returns a 404 error.Workaround:
You can directly specify the version number you want by replacing the
get_latest_version()function with:As mentioned in https://github.com/fosrl/newt/issues/198#issuecomment-3638832068
✅ Alternative Solution:
Alternatively, you can use this modified script that already includes the fix:
@mkadrlik commented on GitHub (Dec 11, 2025):
Can confirm that this works; after updating the script and executing it,
newtis now properly getting its' config file, and handling connections properly. Much appreciated for the fix!@marcschaeferger commented on GitHub (Dec 11, 2025):
@legionGer @HubEight @gshomelab @bbe123
Fixed now. I just verified it in a fresh VM.
@Tilvisun @Malith-Rukshan It’s not related to the RC release, but to the patch release 1.6.1, which was created only to fix the Nix package / failing go test.
When 1.6.1 was published, the latest tag was moved from 1.6.0 to 1.6.1, but the 1.6.1
release was withdrawn in the release progress for a few reasons. We will re-release 1.6.1 soon.
But for now i added the latest tag back to 1.6.0
See #194 for details.
@oschwartz10612 commented on GitHub (Dec 11, 2025):
Thank you @marcschaeferger!!