Skip to content

[Bug] [FAILED] Failed to download package #2221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vdxdiky opened this issue Apr 14, 2025 · 1 comment
Open

[Bug] [FAILED] Failed to download package #2221

vdxdiky opened this issue Apr 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@vdxdiky
Copy link

vdxdiky commented Apr 14, 2025

[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-CLI/releases/download/v0.4.4-3-alpha1/linux-arm64-casaos-cli-v0.4.4-3-alpha1.tar.gz...
[FAILED] Failed to download package

@vdxdiky vdxdiky added the bug Something isn't working label Apr 14, 2025
@calocen
Copy link

calocen commented Apr 23, 2025

[Solved] with this workaround

Download the script:

curl -fsSL https://get.casaos.io > get_casaos.sh
chmod +x get_casaos.sh

Modify and add a sleep command in download loop at DownloadAndInstallCasaOS() function

        for PACKAGE in "${CASA_PACKAGES[@]}"; do
            Show 2 "Downloading ${PACKAGE}..."
            GreyStart
            ${sudo_cmd} wget -t 3 -q --show-progress -c  "${PACKAGE}" || Show 1 "Failed to download package"
            ColorReset
            echo -e "\t *** Little pause ${PACKAGE} ***"
            sleep 5
        done

Run the install script

sudo ./get_casaos.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants