Configure Media

drakrpm-edit-media

Importante

First thing to do after an install is to add software sources (also known as repositories, media, mirrors). That means you must select the media sources to be used to install and update packages and applications. (see Add button below).

Nota

If you install (or upgrade) Mageia using an optical media (DVD or CD) or a USB device, there will be a software source configured to the optical media used. To avoid being asked to insert the media when you install new packages, you should disable (or delete) this media.  (It will have the media type CD-Rom).

Nota

Your system is running under an architecture which may be 32-bit (called i586), or 64-bit (called x86_64). Some packages are independent of whether your system is 32-bit or 64-bit; these are called noarch packages. They don't have their own noarch directories on the mirrors, but are all in both the i586 and the x86_64 media.

This tool is present in the Mageia Control Center under the tab Software management.[4]

Le colonne

Column Enable:

The checked media will be used to install new packages. Be cautious with some media such as Testing and Debug, they could make your system unusable.

Column Update:

The checked media will be used to update packages, it must be enabled. Only media with "Update" in its name should be selected. For security reasons, this column isn't modifiable in this tool, you must open a console as root and type drakrpm-edit-media --expert.

Column medium:

Mostra il nome del media. I repository ufficiali di Mageia per la versione finale contengono almeno:

  • Core che contiene per la maggior parte programmi supportati da Mageia.

  • Nonfree che contiene alcuni software proprietari

  • Tainted free software for which there might be patent claims in some countries.

    Each medium has 4 sub-sections:

  • Release the packages as of the day the this version of Mageia was released.

  • Updates the packages updated since release due to security or bug concerns. Everyone should have this medium enabled, even with a very slow internet connection.

  • Backports some packages of new versions backported from Cauldron (the next version under development).

  • Testing which is used for temporary tests of new updates, to allow the bug reporters and the QA team to validate the corrections.

Il bottone sulla destra

Rimuovi:

To remove a medium, click on it and then on this button. It is wise to remove the medium used for the installation (CD or DVD for example) since all the packages it contains are in the official Core release medium.

Modifica:

Allows you to modify the selected medium settings, (URL, downloader and proxy).

Aggiungi:

Add the official repositories available on the Internet. These repositories contain only safe and well tested software. Clicking on the "Add" button adds the mirrorlist to your configuration, it is designed to make sure that you install and update from a mirror close to you. If you prefer to choose a specific mirror, then add it by choosing "Add a specific media mirror" from the drop-down "File" menu.

Up and down arrows:

Change the list order. When Drakrpm looks for a package, it reads the list in the displayed order and will install the first package found for the same release number - in the event of a version mismatch, the latest release will be installed. So if possible, put the fastest repositories at the top.

Il menu

File -> Aggiorna:

A window pops up with the media list. Select the ones you want to update and click on the Update button.

File -> Add a specific media mirror:

Suppose you aren't happy with the actual mirror, because for example it's too slow or often unavailable, you can choose another mirror. Select all the actual media and click on Remove to take them out. Click on File -> Add a specific media mirror, choose between update only or the full set (if you do not know, choose the Full set of sources) and accept the contact by clicking on Yes. This window opens:

You can see, on the left, a list of countries, choose yours or one very close by clicking on the > symbol, this will display all the available mirrors in that country. Select one and click on OK.

File -> Aggiungi un media personalizzato:

E' possibile installare un nuovo media (da una terza fonte per esempio) che non è supportato da Mageia. Una nuova finestra apparirà:

Select the medium type, find a smart name that well define the medium and give the URL (or the path, according to the medium type)

Opzioni -> Opzioni globali:

This item allows you to choose when to "Verify RPMs to be installed" (always or never), the download program (curl, wget or aria2) and to define the download policy for information about the packages (on demand -by default-, update only, always or never).

Opzioni -> Gestisci chiavi:

To guarantee a high level of security, digital keys are used to authenticate the media. It is possible for each medium to allow or disallow a key. In the window that appear, select a medium and then click on Add to allow a new key or to select a key and click on Remove to disallow that key.

Avvertimento

Fai questo con cura, come faresti con tutte le domande relative alla sicurezza.

Opzioni -> Proxy:

If you need to use a proxy server for internet access, you can configure it here. You only need to give the Proxy hostname and if necessary a Username and Password.

For more information about configuring the media, see the Mageia Wiki page.



[4] You can start this tool from the command line, by typing drakrpm-edit-media as root.


CC BY-SA 3.0
Uploaded on 14/07/2017