2.8.1 Introduction

NEW FEATURE

Since the present version you can configure the software repositories by User Interface!

Since the current version you can update the appliance by user interface (please refer to PSAM 3.2 Software Updates). The update process works like this: the software builds a dependency tree in which all the available software are listed and netted in family by their mutual dependency. In this way each new version or new software to be installed is checked against the tree to understand if its installation involves other software packages. Then the update system checks about the availability of each involved software package and at last it actually downloads it and install it in the proper and expected order.

This job can be completed because of the repositories. A repository is a sort of web site exposing its packages plus dependency informations for each of them. So in order to create the dependency tree, the update software must connect to at least one repository.

Usually each repository contains a family of package, i.e. "security update", "base system packages", "third party add-ons"

2.8.2 Accessing the repository list

To access to the actual repository list you have to click on the "Software repository" left menu entry, under the section "SERVER CONFIGURATION". 

figure 1. List of repositories

Please note the "Enabled" column which shows you the usable repositories. 

Please consider that a value of "False" in the "Enabled" column means that the involved repository won't be used to check for updates and to build the dependency tree!

Each entry in the list can be accessed by clicking on its "Name" (first column as in figure 1. List of repositories).

figure 2. Configuration of the single repository

2.8.3 Create a new repository 

You can create a new repository using the "New Repository" button above the list shown in figure 1. List of repositories

figure 3. The "New Repository" button

You better have some data noted on paper before starting with the creation, because the form for a new repository will need:

figure 4. Create one new repository

 

  • Name: the name you give to this repository and the one that will be shown in the list of repositories
  • Text: this is where you define all the options to make your repository work fine. Please refer to the official guide to get the necessary background information about setting  up a new repository: http://yum.baseurl.org/wiki/RepoCreate
  • File Name: The name of the file to be written on the filesystem. This file will contain all the information provided and will be used by the update software

multiple entries are possible!

Please note that is perfectly normal to have multiple repositories in the same file! To join together more than one repository, just specify the same file name and the entry will be concatenated to it.

Even if not mandatory, it's a good practice to name the repository files as something.repo. The ".repo" extensions isn't used by the system, still it can be useful for maintenance purposes.

  • Enabled: This is a flag which points out if the system is going to either use this repository or not.
When you are fine with the new entry just press the "Create" button in order to create it:

 

figure 5. The new repository has been created

 

2.8.4 Update one repository 

If you need to update one of yours repositories, then start from the figure 2. Configuration of the single repository. You can see the "Edit" button at the bottom of the form.

figure 6. Edit one repository

The "Edit Repository" form will appear as in figure 6. Edit one repository. Change anything you need and then press the "Update" button at the bottom of the form.

figure 7. Your repository has been updated!

You are going to read the "Show repository" form (as in figure 2. Configuration of the single repository) with a message informing you that the update has been performed (please refer to figure 7. Your repository has been updated!)

If you want to remove one repository from the system consideration, then just edit it and uncheck the "Enabled" option in the lower part of the form. This will prevent any use by the update software.

2.8.5 Delete one repository 

You can't delete any repository from the User Interface. Instead you can disable any of them at your wish. In order to wipe out any reference to any repository you need to access to the appliance by ssh remote console and manually change the file to delete the interested entry.

You can also delete the file itself, but in this case every entry contained in that file will be deleted as well
  • No labels