urpmi.setup Olivier Thauvin http://nanardon.homelinux.org/urpmi.setup/ This tool was designed to help the user setting up urpmi so it uses mirrors as source of packages. 1) USING IT urpmi.setup is a simple perl script: It retrieves a list of mirror from a web site and setup urpmi from it. Started without argument, it retrieves the list and launches the appropriate urpmi.addmedia commands. Options are: (a '*' indicates you can set it in /etc/urpmi/mirror.config): -h|--help Gives options and some information: Information output takes all given options in account. -t|--test Do nothing, just show what it would do * -v|--verbose Make it verbose * -u|--url url Url to use to retrieve list * |--mdkver ver Force Mandrake linux version to ver * |--arch arch Force architecture to arch Ensure you use a compatible architecture 2) CONFIG FILE All words following a # are ignored. Format is simple: PARAM=VALUE For options that do not need any value (i.e. verbose), any value is ok. 3) FILE FORMAT The mirror list should be set like this: Name:Version:Arch:Localisation:Address with hdlist... - Name is the name of the source, usally main, contrib or update - Version is the Mandrake Linux version. A * means it concern all versions. - Arch is the architecture (ppc,i586,i386,noarch...). A * means it concern all architectures. Actually, a noarch source is selected for all arch, but i386 != i586 != athlon. - Localisation is for information only, can be empty. The remaining information is the mirror's url. example: main:cooker:i586:Sweden:ftp://ftp.sunet.se/pub/Linux/distributions/mandrake-devel/cooker/i586/Mandrake/RPMS with ../base/hdlist.cz $Id$