3. The Software Media Manager

Use this tool to configure the package media repositories. Figure 5.6, “The “Software Media Manager”” shows some media already defined: “Main”, “Contrib”, etc. You can also add other software media: a CD from a magazine containing RPMs, a Web repository, etc.

Figure 5.6. The “Software Media Manager

The Software Media Manager

Use check boxes of the left-hand columns to flag the repositories

Enabled?

Uncheck this box to temporarily disable the corresponding medium. The packages contained in this medium will not be available until you enable the medium again.

Updates?

This box must be checked for update media, that is, media that contains updates of packages that are already in another medium, albeit with an older version number. Thus only update media are taken into account when looking for updates.

Action Buttons on the Right

Remove

Discard a medium which you no longer use. Simply select the medium to be removed in the list and click this button.

Edit

Change the medium's parameters: the URL or the relative path to the synthesis/hdlist (if you do not know what we are talking about, it is wise to leave this window via Cancel instead of Save changes).

In case you need to pass through a specific proxy to access this particular medium, you can configure it here by clicking on Proxy.

Faster Media Updates. The relative path string allows you to change from using hdlist files to synthesis files, which are much smaller but with less information on packages. Synthesized files only carry information about package names, their dependencies and a short summary, so you won't be able to search for files inside packages from synthesized lists. Also, you won't be able to see the full description for a package if you click on its name.

To switch to the synthesis form of hdlist, simply prefix the file name with synthesis., so that for example: media_info/hdlist_main.cz becomes media_info/synthesis.hdlist_main.cz.

Add

Add to your system all publicly available official package sources from Internet repositories. This is useful for example if you have a fast Internet connection or only have the first installation CD at hand. Choose a mirror geographically near to your location.

After choosing a mirror and clicking Ok, package information for the source you chose is downloaded and all included packages will be available.

Add custom

This button provides access to a new dialog, in which you define all needed parameters for a new software package medium. Please bear in mind that the required parameters, and available options, depend on the type of medium being defined.

Figure 5.7. Adding a Custom Package Repository Media

Adding a Custom Package Repository Media

Update

You are shown a list of already defined, enabled, media; select the ones you want to update the list of available packages for, and click Update. This is useful for remote media to which new packages are being added.

Manage keys

It is important that any package you install is authenticated. To do so, each package can be electronically signed with a “key”, and you can allow/disallow keys on a per-medium basis. On Figure 5.8, “Package Repository Authentication Key Management”, you can see that the Mandriva Linux key is allowed for medium “Main”. Click on Add to allow another key for the selected medium (beware, do this with care, as with all security-related questions), and on Remove to remove a key from the selected medium.

Figure 5.8. Package Repository Authentication Key Management

Package Repository Authentication Key Management

Proxy

If you are sitting behind a firewall and you still need to access remote media (especially for package updates), you can do so if you have a proxy server which leads to the Internet (at least in an area where you can find a package server). Normally it should be enough to fill in the Proxy hostname to get it working (Figure 5.9, “Specifying a Proxy for Remote Media”). If you need a user / password combination to get through the proxy, you can also specify these here. Just confirm your changes by clicking on OK and you are done.

Figure 5.9. Specifying a Proxy for Remote Media

Specifying a Proxy for Remote Media

Parallel

If you are running a large network of computers, you may want to install a package on all the computers in parallel; this button opens a dialog window allowing the configuration of the “Parallel” mode. As it is rather complicated and only useful to a limited group of people, this short introduction will not give further details about it.

Global options

This button allows you to configure the program used to retrieve remote packages and whether the packages should be checked against a key. These choices affect all package sources.

Up and Down arrows

These buttons allow changing the order in which sources will be used when installing packages. By default, the newest version of a given package will always be installed, but if the same version is found on two different media, the one from the first medium in the list will be installed.

[Tip] Tip

Therefore, it is better to move fastest media up...