Our client attempted to uninstall the Automox agent from a Linux machine but encountered multiple issues.
Details of Actions Taken:
-
Stopping the Agent Service:
~$ sudo service amagent stop
-
Deregistering the Agent:
~$ sudo /opt/amagent/amagent --deregister
Output: no certificate to deregister
-
Attempting to Purge the Agent Package:
~$ sudo apt-get purge amagent
Output: Reading package lists... Done Building dependency tree Reading state information... Done E: The package amagent needs to be reinstalled, but I can't find an archive for it. -
Reinstallation Attempt:
The client tried reinstalling the agent using the following command:curl -sS "https://console.automox.com/downloadInstaller?accesskey=ORGANIZATION-KEY" | sudo bash
However, the result indicated that the agent was already installed:
Output: /opt/amagent/amagent already installed
-
Dashboard Attempt:
The client also attempted to delete the agent directly via the Automox dashboard. Unfortunately, this action failed, as the dashboard indicated that the agent had not been connected for over 10 days.
Could you please assist with this issue and recommend the best way to remove the agent from Debian-based Linux operating systems.