azure iot edge install error

Denny Figuerres 11 Reputation points
2021-03-07T20:22:44.763+00:00

when i run the commands from https://learn.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge?view=iotedge-2018-06#install-a-container-engine

the line apt-get update fails due to an issue with the microsoft package list data.

sudo apt-get update Hit:1 http://packages.microsoft.com/repos/code stable InRelease   
Hit:2 http://archive.raspberrypi.org/debian buster InRelease   
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease   
Get:4 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch InRelease [29.8 kB]   
Get:5 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch/main all Packages [546 B]   
Get:6 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch/main armhf Packages [9,633 B]   
Get:6 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch/main armhf Packages [9,633 B]   
Get:6 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch/main armhf Packages [9,633 B]   
Err:6 https://packages.microsoft.com/debian/stretch/multiarch/prod stretch/main armhf Packages File has unexpected size (10080 != 9633).   
Mirror sync in progress? [IP: 13.82.67.141 443] Hashes of expected file: - Filesize:9633 [weak] - SHA512:9647f5abb5207ba12d5b3451617e8fb8edf15b4d153ac36dc556d6efa0fd55130a2b95544cb0749d1f2ea937b9b6ba105ac66444d87f6ff49b165d38fc8ae7cf - SHA256:eafce3a374dbe39c74a32999a738d759a0d4a17927d99f9799f5b12de1cb2af2 - SHA1:5b84c2de72e9fcda7e2d94139826fcb9e6cc0fae [weak] - MD5Sum:998af8cdb0f6c97fc4f39215528f8cf4 [weak] Release file created at: Sat, 06 Mar 2021 02:24:12 +0000 Fetched 29.8 kB in 2s (17.3 kB/s) Reading package lists... Done E: Failed to fetch https://packages.microsoft.com/debian/stretch/multiarch/prod/dists/stretch/main/binary-armhf/Packages.bz2 File has unexpected size (10080 != 9633). Mirror sync in progress? [IP: 13.82.67.141 443] Hashes of expected file: - Filesize:9633 [weak] - SHA512:9647f5abb5207ba12d5b3451617e8fb8edf15b4d153ac36dc556d6efa0fd55130a2b95544cb0749d1f2ea937b9b6ba105ac66444d87f6ff49b165d38fc8ae7cf - SHA256:eafce3a374dbe39c74a32999a738d759a0d4a17927d99f9799f5b12de1cb2af2 - SHA1:5b84c2de72e9fcda7e2d94139826fcb9e6cc0fae [weak] - MD5Sum:998af8cdb0f6c97fc4f39215528f8cf4 [weak] Release file created at: Sat, 06 Mar 2021 02:24:12 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead.   
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
574 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Denny Figuerres 11 Reputation points
    2021-03-11T21:01:29.587+00:00

    it looks like the package list feed data has been updated and i was able to install the moby engine on the device.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.