arthurdent75 / SimpleScheduler

An Home Assistant AddOn to schedule entities on/off on weekly base
183 stars 36 forks source link

Unable to install 2.11 #141

Closed pmajkutewicz closed 9 months ago

pmajkutewicz commented 9 months ago

Popup: The command '/bin/bash -o pipefail -c apt-get install -y coreutils wget curl python3 python3-dev python3-pip' returned a non-zero code: 100

Supervisor logs:

23-11-22 14:58:48 ERROR (MainThread) [supervisor.docker.addon] Can't build 00185a40/aarch64-addon-simplescheduler:2.11: The command '/bin/bash -o pipefail -c apt-get install -y     coreutils     wget     curl    python3     python3-dev     python3-pip' returned a non-zero code: 100
23-11-22 14:58:48 ERROR (MainThread) [supervisor.docker.addon] Build log: 
Step 1/12 : ARG BUILD_FROM

Step 2/12 : FROM ${BUILD_FROM}

 ---> 64b146dd73ec

Step 3/12 : RUN apt-get update -y && apt upgrade -y

 ---> Using cache

 ---> c0551562be87

Step 4/12 : RUN apt-get install -y     coreutils     wget   curl    python3     python3-dev     python3-pip

 ---> Running in 88474c9bb3e5

Reading package lists...

Building dependency tree...

Reading state information...

Package python3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package wget is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wget' has no installation candidate
E: Package 'python3' has no installation candidate
E: Unable to locate package python3-dev
E: Package 'python3-pip' has no installation candidate

HAOS:

Core: 2023.11.3
Supervisor: 2023.11.3
Operating System: 11.1
Frontend: 20231030.2

Hardware:


Raspberry Pi 4

rpi4-64```
klauskkinski commented 9 months ago

Same problem here and same configuration...

arthurdent75 commented 9 months ago

I made a clean install on a clean system without any trouble... Looking at the log, the issue seems to be something related to docker in your Raspberry. It is very unlikely that the apt command is unable to find wget e python packages! Try to reboot the whole Raspberry, it should clean the docker cache.

klauskkinski commented 9 months ago

Indeed, it did work after a complete RPI reboot. Thanks for being very responsive! Many thanks!

pmajkutewicz commented 9 months ago

@arthurdent75 Did a "Reboot system" - and I'm stuck with the same error :/

@klauskkinski Did You use "Reboot system" option or power off / power on cycle?

arthurdent75 commented 9 months ago

@pmajkutewicz have you updated the operating system to 11.2 ? This will surely clean the things up

pmajkutewicz commented 9 months ago

@arthurdent75 Sure.

Core: 2023.11.3
Supervisor: 2023.11.6
Operating System: 11.2
Frontend: 20231030.2

And getting same error as before:

The command '/bin/bash -o pipefail -c apt-get install -y coreutils wget curl python3 python3-dev python3-pip' returned a non-zero code: 100
klauskkinski commented 9 months ago

@klauskkinski Did You use "Reboot system" option or power off / power on cycle?

Ufff, I don't remember.... I would suspect full reboot but not power off/on, but it's a guess at this time...