# Linux software packages upgrade

### Benefits

* Obtain the latest security updates
* Patch recent vulnerabilities

### Applicable Products

* TMG800, TMG3200, TMG7800-CTRL
* TSG800, TSG3200
* ProSBC, ProSBC+

### TelcoBridges repository

The operating system software upgrade is performed using *yum* software package manager. The repository sites providing RPM packages are configured from /etc/yum.repos.d/. TelcoBridges provides its own repository of operating system files (<http://repo.telcobridges.com>).\
On a High Availability 1+1 system (HA), this procedure needs to be done on both primary and secondary systems.<br>

If the unit or Linux server does not have access to Internet (or does not have DNS configured), you should configure an offline repository on your local machine as explained in the section below.

* [Configure a local offline Repository for Telcobridges Linux](https://docs.telcobridges.com/wiki/Configure_Offline_Repository)

### Operating system software packages update

The operator can use one of the two methods available: The Web Portal (GUI) or command line interface.

#### Web Portal

To upgrade software packages, follow this procedure from the web interface of the unit:

* Hosts -> Status -> TBxxxxxx -> Action -> Upgrade Linux Packages, then 'Apply Action':

<figure><img src="https://docs.telcobridges.com/w/images/7/7d/Upgrade_Linux_Packages.jpg" alt=""><figcaption></figcaption></figure>

When the upgrade is in progress, no status is shown. You will see a similar screen:

<figure><img src="https://docs.telcobridges.com/w/images/a/a0/Upgrade_Linux_Progress.jpg" alt=""><figcaption></figcaption></figure>

It may take up to 8-10 mins. You need to refresh the page until you see this:

<figure><img src="https://docs.telcobridges.com/w/images/d/d4/Centos_Upgrade_Complete.jpg" alt=""><figcaption></figcaption></figure>

Once complete, reboot the host: Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot

#### Command line

Alternatively, you can ssh to the unit and run the following command:

```
# yum clean all
# yum update
```

Reboot the unit

```
# reboot
```

<mark style="background-color:yellow;">**Special note: For upgrading to Toolpack 3.3, run the following commands:**</mark>

<mark style="background-color:yellow;">**Command line**</mark>

```
# yum groupinstall Toolpack-Prerequisites
# yum update
# yum install openssl30 openssl30-libs
```

\
Here is a link to the main [TelcoBridges repository](https://repo.telcobridges.com/tbos)


---

# 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://prosbcdocs.telcobridges.com/maintenance-and-troubleshooting/system-upgrade/linux-software-packages-upgrade.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.
