| FAQ/HOWTO |
|---|
| 04/01/2006 : Comment utiliser urpmi --parallel |
| 09/03/2005 : Comment installer plusieurs distributions |
| 07/07/2004 : Introduction à Linux |
| 07/07/2004 : Gestion des logiciels ( tar.gz, rpm et urpmi ) |
| 07/07/2004 : Comment installer le pilote NForce ? |
| Mandriva : HOWTO add easily officials and third parties repos | 16/04/2008 20:38:59 |
|---|---|
Mandriva 2008 Spring gems #1 : urpmi.addmedia --mirrorlistThis is maybe one of the most useful feature in the new Mandriva 2008.1 Spring : the ability to automatically officials or third parties repos in CLI with urpmi.addmedia. Indeed, previously users were using websites like Easyurpmi to add officials Mandriva mirrors, but also to add third parties mirrors like PLF. Whereas the Mandriva Media manager, drakrpm-edit-media, was allowing to add easily and automatically Mandriva officials repositories, it was impossible to do it for third parties repositories. On top of that it means that when using CLI only, you add to enter very complicated urpmi.addmedia commands.
Since Mandriva 2008.1 Spring, a new option have been added which allow to add mirrors from a list. With this option, urpmi.addmedia will try to add the nearest mirror. The only thing needed is a server giving the list of mirrors in a format compatible for urpmi.addmedia. This feature has been developed based on ideas from bug #29161. A new option --mirrorlist, and a new special variable $MIRRORLIST have been introduced. Let's see how to use them !
Please note that you can add only some specific media like for example main/release, or main/backports. For further informations, please have a look at urpmi.addmedia manpage. | |
1 comment (s) | FACORAT Fabrice |