Software updates

Like any other software system, Zentyal server requires periodic updates, either to add new features or to fix defects or system failures.

Zentyal distributes its software as packages and it uses Ubuntu’s standard tool, APT [1]. However, in order to ease this task, a web interface is provided to simplify the process. [2]

[1]Advanced Packaging Tool (APT) is a system for the management of software packages created by the Debian Project which greatly simplifies the installation and removal of programs on Linux http://wiki.debian.org/Apt
[2]For a more extensive explanation on how to install software packages in Ubuntu, please read the chapter on package management in Ubuntu’s official documentation https://help.ubuntu.com/10.04/serverguide/C/package-management.html

The web interface allows checking for new available versions of Zentyal components and installing them in a simple way. It also allows you to update the software supporting Zentyal, mainly to correct potential security flaws.

Management of Zentyal components

The management of Zentyal components allows you to install, update and delete Zentyal modules.

The component manager is a module, and like any other Zentyal module it must be enabled before being used. To manage Zentyal components you must access Software Management -> Zentyal components.

_images/software-ebox-components.png

Management of Zentyal components

When entering this section you will see the advanced view of the package manager, that you might have seen already in the installation process. This view has three tabs, each one for the actions of Installing, Updating and Deleting Zentyal components respectively.

On this view, there is an option to change to basic mode, on which you can install package collections depending on the role of the server you are setting up.

Getting back to the advanced view, let’s view in detail the actions that are available.

Component installation

This is the visible tab when entering the component management section. There are three columns here, one for the component name, another for the version currently available in the repositories and a third to select the component. In the lower part of the table you can view the buttons to Install, Update list, Select all and Deselect all.

In order to install the components required, simply select them and click on the Install button. Then access a page with a complete list of the packages to be installed, as well as some recommendations that, although not being required dependencies, can improve or increase the options of the installed components.

_images/confirm_install.png

Confirm the installation and recommendations

The Update list button synchronises the list of packets with the repositories.

Component update

The following tag, Update, shows between brackets the number of available updates. Apart from this feature, this section is organised in a similar way to the installation view, with only some minor differences. An additional column indicates the version currently installed and in the bottom of the table you can see a button which can be clicked once to select packages to upgrade. As with the installation of components, access to a confirmation screen showing the packages to be installed, is available.

Component deletion

The last tag, Delete, shows a table with the installed packages and their versions. In a similar way as with the previous view, you can select packages to uninstall and then click the Delete button in the lower left part of the table to complete the action.

Before performing the action, just like in previous examples, Zentyal will ask for confirmation before deleting the selected packages and their dependencies.

System Updates

The system updates section performs the updating of programs used by Zentyal. In order to carry out this function, Zentyal server integrates different system programs. These programs are referenced as dependencies, ensuring that when installing Zentyal, or any of the required modules, they are also installed. This guarantees the correct operation of the server. Similarly, these programs may have dependencies too.

Usually the update of a dependency is not important enough to create a new Zentyal package with new dependencies, but it may be interesting to install it in order to use its improvements or its patches to fix security flaws.

In order to see the system updates you must go to Software Management ‣ System Updates. Here you can see if your system is already updated or, otherwise, a list of packages that can be upgraded is displayed. If you install packages on the server without using the web interface, this data may be outdated. Therefore, every night a process is executed to search for available updates for the system. Such a search can be forced by clicking on the button Update list on the lower part of the page.

System Updates

System Updates

For each update, you can determine whether it is a security update using the information icon. If it is a security update the details about the security flaw included in the package changelog will be displayed by clicking on the icon.

If you want to perform an update, select the packages on which to perform the action and press the appropriate button. As a shortcut, the button Update all packages can be used. Status messages will be displayed during the update operation.

Automatic updates

Automatic updates allow Zentyal server to automatically install any updates available.

This feature can be activated by accessing the page Software Management -> Automatic Updates.

_images/software-automatic-updates.png

Automatic updates management

On that page you can also choose the time of the day during which these updates will be performed.

It is not advisable to use this option if the administrator needs to keep a higher level of security and control for the management of updates.