Error when installing Elastic Agent on the labs

While installing Elastic Agent on the Course: Elastic Observability Engineer (On-Demand), Module 2.1, after following the steps properly on the terminal (), I accidentally Ctrl + C and stopped the installation. When I try to reinstall, I am not allowed to do so and I cannot even uninstall the Elastic Agent to re-install the thing. I even tried to create another integration and use another token key but I still get Elastic Agent already installed as error. Any other sudo command asks for password which I do not have. Any help/suggestion?

Hello @Simriti_Bundhoo

Welcome to the community.

Please check the path from where you are executing the command. For sudo related question check below post :

Thanks!!

@Tortoise, I had used the commands you linked (as I mentioned in my post), and it wouldn't work because there's a partial installation of the software. Anyways, I have contacted the Elastic Agent Training Team and they proposed renewing the lab for me because the problem I mentioned is quite hard to solve. Anyone who faces the same issue, I suggest doing the same!

1 Like