Managing Software Repositories and Services

Add additional software repositories to your system to install third-party software. By default, the product repositories such as openSUSE-DVD 11.2 and a matching update repository are automatically configured during the installation. Depending on the initially selected product, a separate language add-on repository with translations, dictionaries, etc. might also be configured.

Here also manage subscriptions to so-called Services. A Service in this context is a Repository Index Service (RIS) that can offer one or more software repositories. Such a Service can be changed dynamically by its administrator or vendor.

[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.

Adding Software Repositories

To add product repositories either click Software Repositories directly in the Software pane of the YaST control center, or Configuration+Repositories... in the Software Management module. Proceed as follows:

  1. Click Add.

  2. Select the repository type. Normally you will want to stick with the default Specify URL.... For add-on CDs or DVDs choose the relevant option. Each repository provides files describing content of the repository. Check Download repository description files to download these files now. If the option is unchecked, YaST will automatically download the files when it needs them later. Click Next.

  3. Either provide the necessary data or insert the medium. Confirm with Continue. It will take some time until YaST has downloaded and parsed the metadata of the repository. Once done you can install software from this repository as described in Section 3.2, “Using the Qt Interface” resp. Section 3.3, “Using the GTK+ Interface”.

If you want to add a repository of the openSUSE® Build Service, such as the Mozilla repository (containing packages with the most recent versions of Firefox and Thunderbird), use the Community Repositories configuration dialog of YaST:

  1. Start the YaST module Software Repositories.

  2. Click Add.

  3. Choose Community Repositories and proceed with Next.

  4. From the preconfigured list of repositories choose the ones you would like to add by ticking the respective check boxes. The Mozilla repository, for example, is listed as openSUSE BuildService - Mozilla.

    Confirm with OK.

  5. Accept to Import the GnuPG key. You need to import a key for each repository you have chosen.

  6. The new software repositories are now listed in the Configured Software Repositories overview. Click OK to leave the software repositories configuration.

Managing Repository Properties

The Configured Software Repositories overview of the Software Repositories lets you change the following properties of the repositories:

Status

The repository status can either be Enabled or disabled. You can only install packages from repositories that are enabled. Disable a repository to turn it off temporarily. In order to completely remove a repository, Delete it rather than disable it.

[Tip]

Double-clicking on a repository name toggles its status.

Refresh

When refreshing a repository, its content description (package names, versions, etc.) is downloaded to a local cache that is used by YaST. It is sufficient to do this once for static repositories such as CDs or DVDs, whereas repositories whose content changes often should be refreshed frequently. The easiest way to keep a repositories cache up-to-date is to Automatically Refresh it. You can also do a manual refresh by clicking on the Refresh button.

Keep Downloaded Packages

Packages from remote repositories are downloaded before being installed. By default, they are deleted upon a successful installation. Activating Keep Downloaded Packages prevents the deletion of downloaded packages. The download location is configured in /etc/zypp/zypp.conf, by default it is /var/cache/zypp/packages.

Priority

The Priority of a repository is a value between 0 and 200, where 0 is the highest priority. If a package is available in more than one repository, then the repository with the highest priority takes precedence. This is useful if you want to give a local repository (for example, a DVD) a higher priority to avoid downloading packages unnecessarily from the Internet, although they have the same or a higher version number.

[Important]Priority vs. Version

The repository with the highest priority takes precedence in any case, even when this means to not install the package with the highest version number. Therefore make sure that the update repository always has the highest priority (20 by default), otherwise you might install an outdated version that will not get updated until the next online update.

On the other hand, if you add repositories providing new versions for programs shipped with openSUSE (for example a repository with the latest KDE or GNOME version), make sure it has got a higher priority than the standard repositories, otherwise packages from these repositories will not be installed by default.

Name and URL

To change a repository name or it's URL, select it from the list with a single click and then click Edit.

Managing Repository Keys

To ensure their integrity, software repositories can be signed with the GPG Key of the repository maintainer. Whenever you add a new repository, YaST offers the ability to import its key. Verify it as any other GPG key and make sure that it does not change. If you detect a key change, something could be wrong with the repository and you should disable it as an installation source until you know the cause of the key change.

To manage all imported keys, click GPG Keys... in the Software Repositories module. Select an entry with the mouse to see the key properties. Add new keys, Edit or Delete existing ones.