Installing Edge Runtime on Ubuntu

Omar Navarro 326 Reputation points
2022-07-15T20:02:45.79+00:00

A bash script is being used to install the edge runtime. After running the command

   sudo apt-get update; \  
     sudo apt-get install aziot-edge defender-iot-micro-agent-edge  

the script grants permissions to the certificates. An error is returned stating aziotks does not exist. Is granting explicit permissions to the users aziotks and aziotcs still required?:

   sudo chown aziotks $IDENTITY_PRIVATE_KEY_PATH  
   sudo chown aziotcs $IDENTITY_PUBLIC_KEY_PATH  
   sudo chown aziotks $CA_PRIVATE_KEY_PATH  
   sudo chown aziotcs $CA_PUBLIC_KEY_PATH  
   sudo chown aziotcs $INTERMEDIATE_PUBLIC_KEY_PATH  
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.
534 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Omar Navarro 326 Reputation points
    2022-07-18T16:41:38.053+00:00

    The issue has been resolved. These lock files were causing issue between consecutive runs

       sudo rm -f /var/cache/apt/archives/lock  
       sudo rm -f /var/lib/dpkg/lock  
       sudo rm -f /var/lib/dpkg/lock-frontend  
    
    1 person found this answer helpful.