1

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?

Sibeesh Venu
  • 18,755
  • 12
  • 103
  • 140
  • Did you have any problems with the moby-engine portion of the tutorial? I'm struggling with 'missing' kernel features on Ubuntu 20.04. – itstudes Aug 03 '20 at 10:29
  • @itstudes Are you sure that you followed the right commands? The Ubuntu 20.04 is in Tier 2 as I mentioned in the answer. – Sibeesh Venu Aug 03 '20 at 11:41
  • I ran the command as you suggested within your answer and that worked fine but then could not proceed further with installing moby-engine due to 'missing' kernel modules. When you mention that Ubuntu 20.04 is in Tier 2, does this mean that I don't need to install moby-engine? I can just install iotedge? – itstudes Aug 03 '20 at 12:05
  • @itstudes No, you should install Debian 9 package, that is the suggestion mentioned in the doc for the Tier 2 OSes – Sibeesh Venu Aug 03 '20 at 13:08

2 Answers2

2

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.

Sibeesh Venu
  • 18,755
  • 12
  • 103
  • 140
  • It is not mentioned in the doc because it only list Tier 1 OSes for IoT Edge and Ubuntu 20.04 does is not currently Tier 1. – Venkat Yalla Jul 29 '20 at 16:24
1

I was getting the same error while installing IOT Edge on Ubuntu 20.04 on Raspberry PI 4, I was changing the os version in this step:

curl https://packages.microsoft.com/config/ubuntu/20.04/multiarch/prod.list > ./microsoft-prod.list

and I was getting the error in the next steps. This repo does no contain any builds for arm64.

things worked out for me when I left the tutorial command untouched this means 18.04.

curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list > ./microsoft-prod.list

and I was able to install IOT Edge.

Dharman
  • 30,962
  • 25
  • 85
  • 135