urpmi.setup Olivier Thauvin http://nanardon.homelinux.org/urpmi.setup/ This tools is designed to help user to setup urpmi to use mirror as source of packages. 1) USING IT urpmi.setup is a simple perl script: It retrieve a list of mirror from a web site an setup urpmi with it. Start without any arguments it retrieve the list and and launch appropriate urpmi.addmedia. Option are: (a '*' indicate you can set it in /etc/urpmi/mirror.config): -h|--help Give option and some information: Information give are calculate with all option giving. -t|--test It do nothing, else showing what it is suppose to do * -v|--verbose Make it verbose * -u|--url url Url to use to retrieve list * |--mdkver ver force mdk version to ver * |--arch arch force architecture to arch Take care to use a compatible arch 2) CONFIG FILE All words following a # are ignored. Format is simple: PARAM=VALUE For option option wich do not need any value (verbose), any are 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 version. A * means it concern all version. - Arch is the architecture (ppc,i586,i386,noarch...). A * means it concern all architecture. Actually, a noarch source is select for all arch, but i386 != i586 != athlon. - Localistation is for information only, can be empty. The rest of the line is the url. example: main:cooker:i586:Sweden:ftp://ftp.sunet.se/pub/Linux/distributions/mandrake-devel/cooker/i586/Mandrake/RPMS with ../base/hdlist.cz $Id$