Hybrid VM Insights dependency agent for Ubuntu (Linux) installation fails

K. J. Skinner 181 Reputation points
2021-12-01T17:50:05.717+00:00

If attempting to install VM Insights dependency agent for a Hybrid VM as listed in Enable VM insights for a hybrid virtual machine, we are getting the following error on Ubuntu machines:

Dependency Agent 9.10.12.18430 Setup for Linux  
==========================================================================  
  
Checking installation environment...  
No old version of the Dependency Agent found.  Performing fresh installation.  
  
Extraction of dependency-agent.deb failed.  Installer may be corrupt.  LINE='' SIZE='' SUM=''.  
  
The Dependency Agent was not installed.  
  
See https://aka.ms/ServiceMapTroubleshooting (exit code = 0x0000005e) for assistance.  

This happens after downloading the agent from https://aka.ms/dependencyagentlinux and running sh InstallDependencyAgent-Linux64.bin -s as root and prevents the installation of this agent. The extraction of dependency-agent.deb failure is the key line of the problem, but doesn't give us a way to resolve it.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,883 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Ejjagiri 261 Reputation points Microsoft Employee
    2021-12-08T04:26:50.257+00:00

    Hi @KJSkinner-2253
    Sorry for the delay in responding to this.

    Goal State Agent in a part of VM Agent (walinux agent), can you please check and ensure that the linux agent is installed and running inside the VM.
    Run "sudo waagent --version" the result should be something like below (with Goalstate agent version)
    155822-waagent.png

    Please follow the below article to install/enable the waagent for Ubuntu.
    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/update-linux-agent#ubuntu


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.