> For the complete documentation index, see [llms.txt](https://docs.linuxcontrolcenter.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linuxcontrolcenter.com.br/en/host-actions/packate-update.md).

# 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**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-bf2553b10fbabb1e6772981c894be4d600207cff%2Fhosts_dashboard.png?alt=media)
2. Select one or more hosts by checking the boxes, then click the **Actions** button.
3. Select the **Package Update** action.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-ca3df217304ebac17227b955315a180e67b899a2%2Fbotao_package_update.png?alt=media)
4. Confirm the action by clicking **Yes**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-c47ee1c4ba13fb02e46d3f241054c455705bf8b3%2Fconfirma_atualizacao.png?alt=media)
5. Open the host where the action was executed and click **Actions History**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-b3f76fdbc5ff6a28a7b28109f9673a91572a9142%2Ftela_general_seta_actions.png?alt=media)
6. Wait for the actions *Package Update*, *Package Check Update*, and *Photography* to reach the **Processed** status.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-f33d1962580e60c1d838d704a2f356d6923b1b2b%2Fhistory_package_update.png?alt=media)
7. Once the action is completed successfully, return to the **General** screen.
8. Click **Show Packages**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-a6a2e64b8966fc954856bd43d137a33cf7508d05%2Ftela_general_host.png?alt=media)
9. Finally, check the **Packages Updatable** box. You should now see that there are no packages available for update.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-7fa0ee502cdeeb3b391c7cd787f349d3c8a388f1%2Flista_atualizada.png?alt=media)
