hassio-hdd-tools
hassio-hdd-tools copied to clipboard
Failed to install addon 0.46 on raspberry pi 4b
Upon installing based on readme I am getting pop-up from Supervisor:
The command '/bin/ash -o pipefail -c apk add --no-cache coreutils util-linux ncurses build-base make fio hdparm perl smartmontools vim apk-cron' returned a non-zero code: 11
I am using this on my PI 4B with 4GB on HassOS 64-bit. Could you probably give some more details as I cannot reproduce this.
Can you please verify if the error is gone with the latest release? 0.47 is available.
I do not know if it is working now (probably not), but for me this fork: https://github.com/McGiverGim/hassio-hdd-tools is working OK with amd64 and armv8 installations (after supervisor-2021.03.x update)
Just tried on 0.47 + supervisor core-2021.3.3. Getting:
21-03-09 08:21:26 INFO (SyncWorker_5) [supervisor.docker.addon] Starting build for dac3d81b/armv7-addon-hdd_tools:0.47
21-03-09 08:21:29 ERROR (SyncWorker_5) [supervisor.docker.addon] Can't build dac3d81b/armv7-addon-hdd_tools:0.47: The command '/bin/ash -o pipefail -c apk add --no-cache coreutils util-linux ncurses build-base make fio hdparm perl smartmontools vim apk-cron' returned a non-zero code: 11
21-03-09 08:21:29 ERROR (SyncWorker_5) [supervisor.docker.addon] Build log:
Step 1/17 : ARG BUILD_FROM
Step 2/17 : FROM $BUILD_FROM
---> 21461176cb52
Step 3/17 : RUN apk add --no-cache coreutils util-linux ncurses build-base make fio hdparm perl smartmontools vim apk-cron
---> Running in 5154fae5346d
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later)
ERROR: unable to select packages:
apk-cron (no such package):
required by: world[apk-cron]
build-base (no such package):
required by: world[build-base]
coreutils (no such package):
required by: world[coreutils]
fio (no such package):
required by: world[fio]
hdparm (no such package):
required by: world[hdparm]
make (no such package):
required by: world[make]
ncurses (no such package):
required by: world[ncurses]
perl (no such package):
required by: world[perl]
smartmontools (no such package):
required by: world[smartmontools]
util-linux (no such package):
required by: world[util-linux]
vim (no such package):
required by: world[vim]
Removing intermediate container 5154fae5346d
https://github.com/gliderlabs/docker-alpine/issues/386
Probably you get something there. I cannot verify the issue and I am using almost the same setup.
If you find a solution which does not include something like adding DNS or other fancy commands to the Dockerfile
, please let us know in here.
Just tried on 0.47 + supervisor core-2021.3.3. Getting:
21-03-09 08:21:26 INFO (SyncWorker_5) [supervisor.docker.addon] Starting build for dac3d81b/armv7-addon-hdd_tools:0.47
...
Removing intermediate container 5154fae5346d
Exactly the same for me. PI4b+ 32bit raspbian
Yesterday i ran into the same issue. My search led me to:
https://github.com/docker-library/php/issues/1118
From which i took away two things:
- The cause seems to be a ipv6 issue
- Alpine v3.12 does not seem to have the issue
Downgrading from alpine3.13
to alpine3.12
solved it for me.
Same issue here. @Rme2001 how to downgrade to alpine3.12?
In theory, actual Home Assistant uses alpine3.14. The error has been fixed or it remains with this version?