I did some digging in the docker-install.sh script, and “routed around” what I think was the problem (I think they have an IF;THEN;ELSE in the CHECK_FORKED method with incorrect FI placement. However… when the script then executes as a dist:DEBIAN version:JESSIE I still get an error when apt get tries to pull from the repository to install Docker:
> + sudo -E sh -c add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian jessie edge"
> Traceback (most recent call last):
> File "/usr/bin/add-apt-repository", line 167, in <module>
> sp = SoftwareProperties(options=options)
> File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
> File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
> File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
> (self.id, self.codename))
> aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
It would seem that the OSMC apt system is expecting a Raspbian deb, not a Debian one. (I admit, I’m pretty new to the apt/Debian/Raspbian world, so I could be way off.) Any thoughts on how to proceed? The Docker install script carves out specifically for Raspbian; perhaps I should be following that versus the straight Debian case for RaspPI.
EDIT: I should add, I just realized that since I was running a Raspberry Pi Zero W the sources.list for that ARM A6 hardware does point to Raspbian. Maybe I just can’t run Docker on this kit!
EDIT2: YAY! Docker installed (I mod’d the os-release file, temporarily, to ID=raspbian) and Homebridge is running! I think the sigO is starting to get annoyed at the lamp going on and off and on and off and on and off… she’s calling Siri names.