Skip to content
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

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

Open
Retroman445 opened this issue Oct 5, 2021 · 2 comments

Comments

@Retroman445
Copy link

Retroman445 commented Oct 5, 2021

Installing fails with "The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2"
image

Supervidor Logfile:
21-10-05 11:10:50 INFO (SyncWorker_3) [supervisor.docker.addon] Starting build for 6872d8d8/armv7-addon-local_vlc:18
21-10-05 11:10:59 ERROR (SyncWorker_3) [supervisor.docker.addon] Can't build 6872d8d8/armv7-addon-local_vlc:18: The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2
21-10-05 11:10:59 ERROR (SyncWorker_3) [supervisor.docker.addon] Build log: 
Step 1/18 : ARG BUILD_FROM=hassioaddons/base:7.0.3
Step 2/18 : FROM $BUILD_FROM
 ---> a6b4abf955c9
Step 3/18 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 2226c4195be7
Step 4/18 : ENV HOME=/home/vlc
 ---> Using cache
 ---> f22bd45746ed
Step 5/18 : RUN apk update
 ---> Running in 4bc54eb406a3
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

fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: No such file or directory

2 errors; 39 distinct packages available
Removing intermediate container 4bc54eb406a3
@Retroman445
Copy link
Author

Ah, this is the culprit:
gliderlabs/docker-alpine#386 (comment)

@r0667002
Copy link

r0667002 commented Nov 1, 2021

Did you manage to fix it? Because dpkg is not recognised by my installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants