Losant edge agent raspberry pi install fail

when i run this

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \

i get this

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster

Hi @steven_ri,

Thanks for posting. This looks like an issue installing Docker on the Pi. Not particularly an issue with the Losant Edge Agent. There have been some known issues installing Docker on the “Buster” distro of Raspbian.

See: https://github.com/docker/for-linux/issues/709

There are some workarounds in there that may help! Otherwise, I’d recommend using an older version of Raspbian until the issues are fixed.

1 Like

thank you i will try that

1 Like