openSUSE:Backports How To Use

Jump to: navigation, search

Overview

This page describes how to use Backports repos on SUSE Linux Enterprise.

Adding the PackageHub module to SLE

The recommended method is to obtain PackageHub packages via SCC. Follow the instructions on https://packagehub.suse.com/how-to-use/

Enable extra modules

On a plain SLE 12 some packages may not install due to unresolvable dependencies. In such cases it may be necessary to enable additional modules like the Workstation Extension or SDK.

Adding the repositories manually

This method is an alternative which bypasses SCC package delivery and adds the raw binary repository without layering or filtering.

The repo can be added using either yast or simply zypper as root:

 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12/standard/openSUSE:Backports:SLE-12.repo

If running Service Pack 1, add the SP1 repo in addition:

 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP1/standard/openSUSE:Backports:SLE-12-SP1.repo

If running Service Pack 2, add the SP2 repo in addition:

 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP2/standard/openSUSE:Backports:SLE-12-SP2.repo

If running Service Pack 3, add the SP3 repo in addition:

 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP3/standard/openSUSE:Backports:SLE-12-SP3.repo

Now packages from the backports repo can be installed as usual using yast, zypper or packagekit.

YaST/zypper may ask for the following gpg key to be imported:

 Key Name :       openSUSE:Backports OBS Project <openSUSE:Backports@build.opensuse.org>
 Key Fingerprint: 637B32FF 3D83F07A 7AE1C40A 9C214D40 65176565

Adding test repositories

These test repositories contain packages and updates that are being considered for release. The packages may be in an intermediate, incomplete, or broken state, but in most cases represent what will be released after a verification period.

 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Maintenance:/Test:/Backports_SLE-12/SLE_12/openSUSE:Maintenance:Test:Backports_SLE-12.repo
 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Maintenance:/Test:/Backports_SLE-12-SP1/SLE_12_SP1/openSUSE:Maintenance:Test:Backports_SLE-12-SP1.repo
 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Maintenance:/Test:/Backports_SLE-12-SP2/SLE_12_SP2/openSUSE:Maintenance:Test:Backports_SLE-12-SP2.repo
 zypper addrepo -fc http://download.opensuse.org/repositories/openSUSE:/Maintenance:/Test:/Backports_SLE-12-SP3/SLE_12_SP3/openSUSE:Maintenance:Test:Backports_SLE-12-SP3.repo