# Troubleshooting Automatic-Update Problems on Enterprise Agents

ThousandEyes software is architected to run a version check upon check-in with the ThousandEyes collector. This process will validate the currently installed version of the agent against the expected version in our system. If running a version lower than the expected version, the Agent will download the required packages, and update them.

This process is run during the update:

| Ubuntu                          | Red Hat Enterprise Linux/CentOS |
| ------------------------------- | ------------------------------- |
| apt-get update                  | yum update                      |
| apt-get install te-agent        | yum install te-agent            |
| apt-get install te-browserbot\* | yum install te-browserbot\*     |

\* The `te-browserbot` package is only required for instances running a browserbot installation. This does require additional resources on a Enterprise Agent (minimum 2GB RAM is recommended)

```
GPG error: http://apt.thousandeyes.com lucid Release: the following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99A1F5BE718900
```

When this occurs, a manual download and registration of the ThousandEyes public key is required. This can be done in either one or two steps: the one-step approach is shown below:

```
wget -q http://apt.thousandeyes.com/thousandeyes-apt-key.pub -O- | sudo apt-key add -
```

This will download and register the ThousandEyes public key, which will allow you to re-run the steps above as required in order to update the agent codebase.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thousandeyes.com/product-documentation/global-vantage-points/enterprise-agents/troubleshooting/troubleshooting-automatic-update-problems-on-enterprise-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
