--- title: "How to change Segura™ to use the new repository" slug: "installation-how-to-change-senhasegura-to-use-the-new-repository" updated: 2026-11-03T14:48:26Z published: 2026-11-03T14:48:26Z canonical: "docs.senhasegura.io/installation-how-to-change-senhasegura-to-use-the-new-repository" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.senhasegura.io/llms.txt > Use this file to discover all available pages before exploring further. # How to change Segura™ to use the new repository This document provides guidance on updating the Segura™ to use a new repository. This update is necessary to ensure that your system receives future updates. Important After changing Segura™ to use the new repository, If you’re using a version prior to 3.33 and wish to update Segura™ to version 3.33 or later, please refer to the article [How to update versions prior to 3.33](/v4-2/docs/how-to-update-senhasegura-in-stages). ## Requirements - Secure Shell (SSH) client - Administrator credentials for the Segura™ server - The script "aptfix" file from Segura™, you can get from the [file link](https://downloads.senhasegura.io/d/other/aptfix) Attention Starting from **August 19, 2024**, all updates will utilize the new Segura™ repository. The old repository will no longer be available after this date. ## Path to access To configure the use of the new repository, first, start an [SSH admin session](/v4-2/docs/administration-ssh-access) on your Segura™ server. ## Steps to Update 1. Download the file “aptfix”. ``` wget https://downloads.senhasegura.io/d/other/aptfix ``` 2. Start an SSH [admin session](/v4-2/docs/administration-ssh-access) 3. Transfer the file to the Segura™ server using SSH and administrator credentials. 4. **Execute the script** with `sudo` in any directory, using the following command. ``` sudo chmod +x aptfix ``` ``` sudo ./aptfix ``` 5. Wait for the script to complete. 6. Once complete, **run** the commands: ``` sudo apt update ``` ``` sudo apt install orbit-cli ``` Attention If the repository setup needs to be updated, the platform will indicate what to do next. 1. Once done, to update the Segura™ solution, follow our documentation that best suits your needs: - [Update Segura™ online](/v4-2/docs/installation-how-to-update-senhasegura-online). - [Update Segura™ offline](/v4-2/docs/installation-how-to-update-senhasegura-offline). - [How to update Segura™ in a cluster](/v4-2/docs/installation-how-to-update-cluster). - **If you’re using a version prior to 3.33**, please refer to the article [How to update versions prior to 3.33](/v4-2/docs/how-to-update-senhasegura-in-stages).