kind3r / hass-addons

Integration of the offline TTLock sdk into Home Assistant
66 stars 26 forks source link

The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2 #36

Open alleku-arch opened 2 years ago

alleku-arch commented 2 years ago

I got this error when installing addon

The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2

If i try executed this comand into the hhass container

/bin/ash -o pipefail -c apk update apk-tools 2.12.7, compiled for armv7.

usage: apk [...] COMMAND [...]

Package installation and removal: add Add packages to WORLD and commit changes del Remove packages from WORLD and commit changes

pip --version pip 20.2.4 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)

apk --version apk-tools 2.12.7, compiled for armv7.

Log from haas

21-12-26 19:37:52 ERROR (SyncWorker_1) [supervisor.docker.addon] Can't build 8dc774ce/armv7-addon-ttlock-hass-integration:0.4.11: The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2 21-12-26 19:37:52 ERROR (SyncWorker_1) [supervisor.docker.addon] Build log: Step 1/19 : ARG BUILD_FROM Step 2/19 : FROM $BUILD_FROM ---> a267e8678e44 Step 3/19 : ENV LANG C.UTF-8 ---> Using cache ---> aa012e50b80b Step 4/19 : RUN apk update ---> Running in c4b2a7861267 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: No such file or directory

alleku-arch commented 2 years ago

ok i solved with this information https://community.home-assistant.io/t/supervisor-cant-install-add-ons/301771