Predbat Add-on error

Salve Conoscenti!
I would be interested to know if anyone has any ideas about why I have the following error when I try to add Predbat as an Add-on:
The command '/bin/bash -o pipefail -c apt-get update && apt-get upgrade -y' returned a non-zero code: 159

I have tried removing the Predbat Add-on, restarting HA and re-adding Predbat, but this makes no difference.

I an running HA core 2024.9.1 Supervisor 2024.09.1 in Home Assistant Supervised on a Pi 4 running Raspberry Pi OS.

Thank you very much for your advice.

1 Like

I’ve kind of the same issue when trying to follow the tutorial for creating an add-on from here:

Even if I reduce the Dockerfile to have only a ‘RUN echo hallo2134’ statement, the command will not be executed but fail while the installation with

“The command ‘/bin/ash -o pipefail -c echo hallo2134’ returned a non-zero code: 159”

My system setup is same as from @papasierra , so Pi4 with PiOS and HA Supervised (2024.12.3) + Core (2025.1.2)