Keeping the System Up-to-date

openSUSE offers a continuous stream of software security patches for your product. The updater applet informs you about the availability of patches and lets you easily install them with just a few clicks.

Using the KDE Updater Applet

The openSUSE community also provides updates to newer versions of software packages. The updater applet optionally keeps a list of all programs installed on your system and informs you whenever newer versions are available. Whats more, the updater can also search for and install new drivers when new hardware is attached.

[Note]Patches vs. New Versions

The patches offered by openSUSE either fix security holes or serious errors in the software. A patch normally does not upgrade to a newer version and does not offer additional functionality. A new program version offered by the community may offer fixes, too, but primarily adds new functionality.

The updater applet resides in the system tray of your panel depicting the head of the SUSE mascot (Geeko), which changes depending on the availability and relevance of patches and the status of the updater. Whenever the icon changes, a tool tip displaying the current status is shown, too. The applet is started by default. Choose Applications+System+Desktop Applet+kupdateapplet from the main menu to manually start it.

Green Geeko Head with Green Arrows

No patches available. When new versions are available, a tool tip appears when the mouse is moved over the icon.

Green Geeko Head with Yellow Arrows

The updater applet is busy (for example checking for updates, installing software).

Red Start with Arrow

Security patches available.

Orange Star with Arrow

Important patches are available.

Blue square with Arrow

Trivial patches are available.

Yellow Triangle with Exclamation Mark

An error occurred.

Blue Circle with Question Mark

No update repository is defined. When you click the updater applet in this state, you are asked whether to check for updates. If you agree, the YaST Online Update Configuration module is started.

Installing Patches

Whenever the updater icon shows the availability of patches, left-click to open the software installation window. It lists the number of Security and Recommended patches available. While the security patches are installed by default, you can choose whether to install the recommended ones as well. Some patches, such as new kernel versions, require to restart your computer. Check Do not Install Updates that Require a Restart to skip these updates for now. Start updating your system by clicking Install.

Figure 3.1. KDE Updater Applet: Simple Update View

KDE Updater Applet: Simple Update View

A click on Details opens the Available Updates window which shows a detailed list of all patches and allows you to alter the selection of packages that will be installed. Apart from the patch name the Type (Security, Recommended or Optional), a short Summary and the patch version number is shown. Patches are sorted alphabetically by default—change this by clicking on a column headline (Name, Summary, Type, New Version, Catalog, or Restart). Click Install to proceed.

Figure 3.2. KDE Updater Applet: Detailed Update View

KDE Updater Applet: Detailed Update View

You will be prompted for the root password after having proceeded with Install. The updater performs the installation of the patches. See the system tray (KDE) or the notification area (GNOME) for status messages and a progress meter.

The YaST Online Update offers advanced features to customize the patch installation. Please refer to Chapter YaST Online Update (↑Reference) for more information.

Installing New Software Versions

New software versions are available from software repositories provided by the openSUSE community. By default, no such repositories are preconfigured. To add a repository, right-click on the updater icon and choose Add/Remove Update Sources. You need to enter the root password to start the Configured Software Repositories module. A list from which you can choose popular community repositories is already preconfigured (Add+Community Repositories), for even more community repositories refer to http://en.opensuse.org/Additional_YaST_Package_Repositories.

[Warning]Trusting External Software Sources

Before adding external software repositories to your list of repositories make sure this repository can be trusted. openSUSE is not responsible for any potential problems arising from software installed from third party software repositories.

The updater applet does not monitor repositories for new software versions by default. To enable this feature, open the configuration window as described in Section 3.3.1.3, “Configuring the Updater Applet” and tick the check box Show Available Upgrades When Back-End Provides Them check box. When the updater icon indicates the availability of updates, click on the icon to launch the software installation window. Click on Details and then on the Upgrade tab to open the list with new software versions. Either select single packages by checking the box in front of an entry, or click Select All Packages. Install starts the installation of the selected software packages. You will be prompted for the root password. See the system tray (KDE) or the notification area (GNOME) for status messages and a progress meter.

Configuring the Updater Applet

By default the updater is started on login, checks for updates every 24 hours, shows recurring notifications every 60 minutes and only monitors the availability of patches. To change this behavior, right-click the applet icon and choose Configure Applet.

Figure 3.3. KDE Updater Applet: Configuration

KDE Updater Applet: Configuration

The configuration dialog also offers to change the following settings:

Back-End

Choose between different back-ends. The Package Kit Plugin is used by default. If you prefer the ZYpp Plugin, make sure the package kde4-kupdateapplet-zypp is installed.

Always Show Detailed View

Activate this option when you prefer the detailed patch view that lists all patches available with short summaries rather than the simple view.

Check for Updates only When System Is Connected to Charger

Prohibits checking for updates when running on batteries in order to save power. This option is activated by default but only affects mobile computers.

Check for Updates only When System Is under Low Load

Prohibits checking for updates when the system is under heavy load. This option is activated by default.

Search for Drivers When New Hardware is Attached

Provided a repository offering appropriate drivers, the updater can automatically install drivers for hardware such as USB devices.

Using the GNOME Updater Applet

The updater applet resides in the notification area of your panel. It's icon changes depending on the availability and relevance of patches and the status of the updater. The applet is started by default, choose Computer+More Applications+System+Update System.

[Note]Icon visibility

By default, the updater applet icon is only visible in the notification area, if patches are available.

Open box with a globe

The updater is busy (for example checking for updates, installing software).

Red Star with Exclamation Mark

Security patches available.

Orange Star with an Up Arrow

Recommended patches are available.

Yellow Star with a Down Arrow

Optional patches are available.

Yellow Triangle with Exclamation Mark

An error occurred.

Installing Patches

Whenever the updater icon shows the availability of patches, left-click the icon and choose Update System Now. Provide the root password. The patches avaiable will be installation in the background.

Alternatively, left-click the updater icon and choose Show Updates to open the Software Update Viewer. In the overview it shows the number of patches available per category. Click on Review to open a detailed view where all patches sorted by category are listed. Security patches are displayed first, trivial patches last. Click on a patch to see details, such as a description, version number, repository, and—if available—a link to bugzilla, the Novell bug tracking system.

By default all patches are marked for installation. Uncheck the checkbox in front of a patch to prevent a patch from being installed.

Figure 3.4. GNOME Software Update Viewer: Detailed Update View

GNOME Software Update Viewer: Detailed Update View

You will be prompted for the root password after having proceeded with Apply Updates or Update System. The updater performs the installation of the patches. After having finished the installation, choose whether to Install More Updates or whether to Close the Software Update Viewer.

The YaST Online Update offers advanced features to customize the patch installation. Please refer to Chapter YaST Online Update (↑Reference) for more information.

Configuring the Updater Applet

To configure the updater applet, either right-click the updater icon in the panel and choose Preferences, or start the confuguration dialog with Computer+Control Center+System+Software Updates to manually start it.

Figure 3.5. GNOME Updater Applet: Configuration

GNOME Updater Applet: Configuration

The configuration dialog offers to change the following settings:

Check for Updates

Choose how often a check for updates is performed: Hourly, Daily, Weekly, or Never.

Automatic Install

Configure whether patches are installed automatically or not (default). Automatic installation can be chosen for either security patches only or for all patches.

Check for Major Upgrades

Choose how often a check for major updgrades is performed: Daily, Weekly, or Never.

Display Notification Settings

Determine whether and when to show the updater applet icon in the panel with this options.