I mentioned in the first post that I use Supervised HA installation, this is actual
Supervised Ha runs on Raspbian (I guess last version or close)
Actually, i use like 20 addons and it installs without problem, but this one doesn’t
I googled the error and as I understand this image works on Alpine Linux and there are some problems with getting Alpine Linux image
It shouldn’t matter as the container for the addon will/should have alpine… that’s the point of docker… the container contains and complies with the requirements
There is some confusion, here, apparently.
The addon is building its own docker image, and this is the step where it’s failing.
OP, I assume the host is a RPI in 32bits.
There is a known issue in this setup as of alpine 3.13. HA currently uses 3.14.
To fix, you have to update libseccomp2 on the RPI host, to a version which is not available in the standard repos. You have to:
# Get signing keys to verify the new packages, otherwise they will not install
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
# Add the Buster backport repository to apt sources.list
$ echo 'deb http://httpredir.debian.org/debian buster-backports main contrib non-free' | sudo tee -a /etc/apt/sources.list.d/debian-backports.list
$ sudo apt update
$ sudo apt install libseccomp2 -t buster-backports
I’m facing the same issue, but running hass.io (haos). So I can’t use commands like “apt”. Do you or somebody else have an idea of how I can update libseccomp2 on hass.io?
Actually, I’m on the most recent OS version. The OS is on version “core-2021.8.1” and the supervisor is on “supervisor-2021.06.8” using Docker 20.10.6.
I can install add-ons but when I want to install an add-on, that is manually added (concretely “weather station mqtt”) I get following error-log:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:109
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 14:57:48 (2 occurrences)
Last logged: 21:12:38
Failed to to call /addons/local_weather_station_mqtt/install - The command '/bin/ash -o pipefail -c apk add --no-cache nodejs-npm' returned a non-zero code: 1
There is a similar issue described in the add-ons git repo that was fixed updating libseccomp2.
openssl (no such package):
required by: world[openssl]
Removing intermediate container 1af517d031fe ’
I was pointed by the Michael (developer) the reason is old libseccomp2 library but after reading the thread I feel like it could be something else in my case.