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.

Requirements

  • Secure Shell (SSH) client
  • Administrator credentials for the Segura server
  • The script "aptfix" file from Segura, you can get from the file link
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 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
  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:


Do you still have questions? Reach out to the Segura Community.