# Package Update

## Requisitos

Linux Control Center = 2.10.X ou superior

## Overview

A ação Package Update atualiza todos os pacotes do host ou do grupo de hosts no LCC. Esta ação permite manter todos pacotes de todos os hosts da sua infraestrutura atualizados de maneira extremamente simples.

## Objetivo

O Objetivo deste documento é demonstrar como utilizar a ação Package Update do LCC.

## Atualização de Pacotes em Hosts

{% hint style="info" %}
É necessário rodar um Package Check Update antes de executar a ação Package Update. Caso tenha rodado em um período maior que 1 semana, é recomendado rodar o Package Check Update novamente antes de realizar o Package Update.

Siga o passo a passo do link abaixo para rodar o Package Check Update; <https://docs.7dev.net.br/host-actions/package-check-update>
{% endhint %}

1. No menu lateral esquerdo do LCC, clique em **Hosts**.

   ![](/files/wbA4uj40jqgmWfrVZjIR)
2. Marque uma o mais caixas de seleção dos hosts desejado e clique no botão **Actions**
3. Selecione a ação **Package Update**.

   ![](/files/0byfevaTsDudngo7DMXW)
4. Confirme a ação clicando em **Yes**

   ![](/files/LJVocNsTy6I5kgfZjCt3)
5. Abra o host cujo enviou a ação e clique em **Actions History**

   ![](/files/Zr6g9cUxIVqCtmGOgChX)
6. Aguarde as ações *Package update,* *Package Check Update* e *Photography* ficarem com o status **Processed**

   ![](/files/JzokwQmTwb0ODS7oLyKu)
7. Após a ação finalizar com sucesso, volte para a tela **General**
8. Clique em **Show packages**

   ![](/files/jKuNMk0qg4fxqC6b6hJ2)
9. Para finalizar , marque a caixa **Packages Updatable** e será possível observar que não existe nenhum pacote para atualização.

   ![](/files/EMQgaeQak035VQ8QbChy)


---

# 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/host-actions/package-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.
