Hi @Zhiming Zhou (SSE, 222012061) I am following up to see if you are still experiencing any issues. I have tested the command on Raspberry Pi 2B with the OS version Raspbian GNU/Linux 11 (bullseye) and did not experience any issues.
Please find the below image for your reference and notice that the command systemctl status defender-iot-micro-agent.service
which is used to check the status of Defender-IoT-Micro-Agent-Edge returns the status cannot be found.
Please follow the steps in the article Install Defender for IoT micro agent for Edge to install the agent if you still face the same issue.
Execute the command sudo apt-get update
before you try to install the packages and see if that helps.
ERROR: No container runtime detected. Please install a container runtime and run this install again.
The command apt --fix-broken install
does not need any container installation to run. Can you execute the command systemd-detect-virt
to check if there are any containers/virtualization set up on your Raspberyy Pi? If the output of the command is not none
it implies that you are running the command from a container and there is no container runtime on the machine.
Please let us know if you need further assistance in the comments below and we would be glad to help you.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.