首页 > 解决方案 > 在 Debian9 上安装 Azure IoT Edge

问题描述

我打算按照下面的URL过程安装Azure IoT Edge,但是报错了,没有先推进。你能告诉我原因和避免的计划吗?

https://docs.microsoft.com/ja-jp/azure/iot-edge/how-to-install-iot-edge-linux

Linux Debian9(内核 4.9)

root# apt-get install iotedge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 iotedge : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
E: Unable to correct problems, you have held broken packages.

标签: azureazure-iot-edge

解决方案


请参阅安装 IoT Edge

curl --insecure https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv ./microsoft.gpg /etc/apt/trusted.gpg.d/
curl --insecure https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list
mv ./microsoft-prod.list /etc/apt/sources.list.d/
apt update

apt install aziot-edge

推荐阅读