Search code examples
azureiotraspbianazure-iot-hubazure-iot-edge

Malformed line 1 in source list /etc/apt/sources.list.d/microsoft-prod.list Install Azure IoT Edge runtime on Linux


I am trying to install Azure IoT Edge runtime on Raspberry OS and I am always getting this error "Malformed line 1 in source list /etc/apt/sources.list.d/microsoft-prod.list (type)" when I follow this tutorial. Please check the preceding image.

enter image description here

Anyone else faced this issue?


Solution

  • Ubuntu 20.04 comes under the Tier 2 OSes, hence the Debian 9 packages from the Azure IoT Edge releases repo should work out of the box with Ubuntu 20.04. See this issue in GitHub for more info and follow the other steps mentioned in the doc.

    Tier 1:

    enter image description here

    Tier 2:

    enter image description here

    In the end, I installed Rasbian OS and followed the doc, you can see more info on that here.