# Package Update

## Requirements

* Linux Control Center 2.10.X or higher

## Overview

The **Package Update** action updates all packages on a host or a group of hosts in LCC. This action allows you to keep all packages across your infrastructure fully updated in an extremely simple way.

## Objective

The purpose of this document is to demonstrate how to use the **Package Update** action in LCC.

## Updating Packages on Hosts

{% hint style="info" %}
You must run a **Package Check Update** before executing the **Package Update** action. If the check was done more than one week ago, it is recommended to run **Package Check Update** again before performing the update.
{% endhint %}

* Follow the guide at the link below to run **Package Check Update**:
* <https://docs.linuxcontrolcenter.com.br/en/host-actions/package_check_update>

1. In the left menu of LCC, click on **Hosts**.

   ![](/files/jdZKGkyP3J03ki551buJ)
2. Select one or more hosts by checking the boxes, then click the **Actions** button.
3. Select the **Package Update** action.

   ![](/files/N2gkCwE4JyLjSlEsozt6)
4. Confirm the action by clicking **Yes**.

   ![](/files/IxKxUdL0m2GP8wj31HHc)
5. Open the host where the action was executed and click **Actions History**.

   ![](/files/2KwniytBkXLkxGHnORW8)
6. Wait for the actions *Package Update*, *Package Check Update*, and *Photography* to reach the **Processed** status.

   ![](/files/mLvj9EP5YGPQ9TxOKqJb)
7. Once the action is completed successfully, return to the **General** screen.
8. Click **Show Packages**.

   ![](/files/fZ6KxksdybLuJdPPblvs)
9. Finally, check the **Packages Updatable** box. You should now see that there are no packages available for update.

   ![](/files/4RGVDdww6EwQPjuJpIq5)


---

# 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.linuxcontrolcenter.com.br/en/host-actions/packate-update.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.
