HuckleberryLovesYou / Homeassistant-Supervised-on-Raspberry-Pi-5

This is a tutorial about the installation of Homeassistant Supervised on your Raspberry Pi 5 running Raspberry Pi OS 64bit
19 stars 4 forks source link

homeassistant-supervised : Depends: docker-ce but it is not installable #5

Open AntoineProvost opened 3 months ago

AntoineProvost commented 3 months ago

Hello there,

Thanks for your clear and amazing tutorial ! (For a new user of python, it's great to have all these "check" steps to see if the previous one worked).

Unfortunately I'm stuck at the very end of the install when running the "apt install" :

apt install ./homeassistant-supervised.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'homeassistant-supervised' instead of './homeassistant-supervised.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 homeassistant-supervised : Depends: docker-ce but it is not installable
E: Unable to correct problems, you have held broken packages.

Do you have an idea how I can resolve that ?

HuckleberryLovesYou commented 3 months ago

Thanks for your Response! Which way did you use to install Docker-ce? The problem might be that I had no way of testing the script in variant 1. That could mean something doesn't go right. The check-step only checks docker-ce and docker-cli. If you used variant 1 please try again using variant 2 after taking a look into the Troubleshooting Section, where the uninstall of the unfinished setup happens. Otherwise check if the os agent you installed is the right one.

AntoineProvost commented 3 months ago

I already used the variant 2 as the first one didn't work at first It seems however that if I rewind steps, that I can't update the docker :

apt update && apt upgrade -y
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease        
Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease                 
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease                  
Ign:5 https://download.docker.com/linux/ubuntu bookworm InRelease              
Err:6 https://download.docker.com/linux/ubuntu bookworm Release
  404  Not Found [IP: 2600:9000:218f:6e00:3:db06:4200:93a1 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.