=head1 NAME urpmi.cfg - urpmi option and media configuration file format =head1 DESCRIPTION The urpmi.cfg file is divided in multiple sections: one section to set global options, and one section per media. =head1 GLOBAL OPTIONS Some global options can be activated by default. The following sample shows how to disable signature checking and avoid transaction splits : { no-verify-rpm split-length: 0 } The following options can be written in this section : =over =item B Same as specifying B<--allow-force> for B, disabled by default. =item B Same as specifying B<--allow-nodeps> for B, disabled by default. =item B Specify which download program to use: B or B. =item B Same as specifying B<--excludedocs> for B, disabled by default. =item B Same as B<--excludepath> for B. This options allows to give a comma separated list of paths to be excluded on installation. There is no path exclusion by default. =item B Same as B<--fuzzy> for B or B. Enable or disable fuzzy search, disabled by default. Enabling it can be written in various ways : C or C or C or C. =item B This option is not available on the command line. It allows to use a comma separated list of key ids to be globally accepted (keys still need to be authorized by B) for any medium unless a specific B option for this medium is given. There is no default (even Mandriva public key id 70771ff3 is not included by default). =item B Same as B<--limit-rate> for all tools. This option allows to control download speed; there is no limitation by default. The number is given in kilo-bytes per second, unless a suffix C or C is added. =item B Don't import pubkeys when updating media. =item B Specifies that the media should not be reconfigured (by a reconfiguration file present on the medium). =item B Same as B<--norebuild> for B, B and B, disabled by default (meaning that B will try to rebuild hdlists by default). =item B Control cache management for B, default is only activated as B. =item B A comma-separated list of package names that must never be removed (just like B dependencies). =item B Specify how many times the downloader should retry in case of non-permanent errors. =item B Same as B<--split-length> for B. This option allows to control the minimal length of splitted transactions. The default value is 1 (smallest possible transaction). Setting this value to 0 disables the splitting of transactions. =item B Same as B<--split-level> for B. This option allows to control if transactions should be splitted depending of the number of packages to upgrade. The default value is 20. =item B Same as B<--strict-arch> for B. Boolean option, disabled by default, meaning that packages can be upgraded with versions for another architecture. =item B Same as B<--verify-rpm> for B. Enable or disable signature checking (it's enabled by default). Disabling it can be written in various ways (as for all the other boolean options) : C or C or C or C. =back =head1 MEDIUM DESCRIPTION A medium is described as follows : name url { hdlist: ... ... list of options, one per line ... } where B is the medium name (space characters must be prefixed by a backslash) and where the optional B is the medium URL (if no B is given, it will be guessed according to the mandatory list file). Most other options like B, B, B, B, B are for internal use and should be changed only by experienced users. Options like B, B or B can be modified by users to respectively mark mediums as update sources, to have them being ignored, or to specify the allowed GPG key ids for packages from the medium for verification (unless of course signature checking has been disabled globally). It's also possible to override B and B in a medium description. Media can be marked as B: this means that they won't be updated by B or other means. This is useful for read-only media such as CDs. Please note that B is automatically set by B or B if a remote pubkey file is available on the mirror. This file contains all the GPG armor keys that may be used. =head1 BUGS A C<{> should finish a line, as well as a C<}> should start it when used. This means the construction C<{ no-verify-rpm }> on a single line is invalid. =head1 AUTHOR Pascal Rigaux (original author), Francois Pons, Rafael Garcia-Suarez, (current maintainer) =head1 SEE ALSO urpmi(8), urpmi.files(5).