{"id":4296,"date":"2022-12-20T17:48:54","date_gmt":"2022-12-20T20:48:54","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/urpmi-cfg-man5\/"},"modified":"2022-12-20T17:48:54","modified_gmt":"2022-12-20T20:48:54","slug":"urpmi-cfg-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/urpmi-cfg-man5\/","title":{"rendered":"URPMI.CFG (man5)"},"content":{"rendered":"<h1 align=\"center\">URPMI.CFG<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#GLOBAL OPTIONS\">GLOBAL OPTIONS<\/a><br \/> <a href=\"#MEDIUM DESCRIPTION\">MEDIUM DESCRIPTION<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">urpmi.cfg \u2212 urpmi option and media configuration file format<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The urpmi.cfg file is divided in multiple sections: one section to set global options, and one section per media.<\/p>\n<h2>GLOBAL OPTIONS <a name=\"GLOBAL OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Some global options can be activated by default. The following sample shows how to disable signature checking and avoid transaction splits :<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">{ <br \/> no\u2212verify\u2212rpm <br \/> split\u2212length: 0 <br \/> }<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options can be written in this section : <b><br \/> allow-force<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212allow\u2212force<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>allow-nodeps<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212allow\u2212nodeps<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>xml-info<\/b><\/p>\n<p style=\"margin-left:17%;\">For remote media, specify when files.xml.lzma, changelog.xml.lzma and info.xml.lzma are downloaded: <b><br \/> never <br \/> on-demand<\/b><\/p>\n<p style=\"margin-left:23%;\">(This is the default).<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\">The specific xml info file is downloaded when urpmq\/urpmf\/rpmdrake ask for it. urpmi.update will remove outdated xml info file.<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\">nb: if urpmq\/urpmf\/rpmdrake is not run by root, the xml info file is downloaded into \/tmp\/.urpmi\u2212<uid>\/<\/p>\n<p style=\"margin-left:17%;\"><b>update-only<\/b><\/p>\n<p style=\"margin-left:23%;\">urpmi.update will update xml info files already required at least once by urpmq\/urpmf\/rpmdrake.<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\">nb: with <b>update-only<\/b>, urpmi.update will not update \/tmp\/.urpmi\u2212<uid>\/ xml info files<\/p>\n<p style=\"margin-left:17%;\"><b>always<\/b><\/p>\n<p style=\"margin-left:23%;\">all xml info files are downloaded when doing urpmi.addmedia and urpmi.update<\/p>\n<p style=\"margin-left:11%;\"><b>no-recommends<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212no\u2212recommends<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>auto<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212auto<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>compress<\/b><\/p>\n<p style=\"margin-left:17%;\">Deprecated (use rsync-options)<\/p>\n<p style=\"margin-left:11%;\"><b>curl-options<\/b><\/p>\n<p style=\"margin-left:17%;\">Additional options to pass to <b>curl<\/b>\u2019s command line when downloading files.<\/p>\n<p style=\"margin-left:11%;\"><b>default-media<\/b><\/p>\n<p style=\"margin-left:17%;\">A comma-separated list of media names. By default, only those media will be taken into account (that is, when you don\u2019t specify an alternate list of media via the <b>\u2212\u2212media<\/b> command-line option.)<\/p>\n<p style=\"margin-left:11%;\"><b>disable-certificate-check<\/b><\/p>\n<p style=\"margin-left:17%;\">Disables checking of certificates when connecting to a https medium. By default the certificates are checked and the connection will fail if the certificate is invalid. This option shouldn\u2019t be used for maximum security.<\/p>\n<p style=\"margin-left:11%;\"><b>download-all<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212download\u2212all<\/b> option for urpmi: downloads all packages before installing into the specified directory. If you want to use the default location, assign an empty string to it ( <small>WARNING<\/small> ! &#8220;yes&#8221; or &#8220;1&#8221; are <small>NOT<\/small> the options you really want to use here!)<\/p>\n<p style=\"margin-left:11%;\"><b>downloader<\/b><\/p>\n<p style=\"margin-left:17%;\">Specify which download program to use: <b>wget<\/b> or <b>curl<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>excludedocs<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212excludedocs<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>excludepath<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212excludepath<\/b> for urpmi. This options allows to give a comma separated list of paths to be excluded on installation. There is no path exclusion by default.<\/p>\n<p style=\"margin-left:11%;\"><b>fuzzy<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212fuzzy<\/b> for urpmi or urpmq. Enable or disable fuzzy search. Disabled by default. Enabling it can be written in various ways : &#8220;fuzzy&#8221; or &#8220;fuzzy: yes&#8221; or &#8220;fuzzy: on&#8221; or &#8220;fuzzy: 1&#8221;.<\/p>\n<p style=\"margin-left:11%;\"><b>keep<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212keep<\/b> for urpmi or urpmq.<\/p>\n<p style=\"margin-left:11%;\"><b>key-ids<\/b><\/p>\n<p style=\"margin-left:17%;\">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>rpm<\/b>) for any medium unless a specific <b>key-ids<\/b> option for this medium is given. There is no default (even Mageia public key id 70771ff3 is not included by default).<\/p>\n<p style=\"margin-left:11%;\"><b>ignoresize<\/b><\/p>\n<p style=\"margin-left:17%;\">Don\u2019t check file systems for sufficient disk space before installation. Same as specifying <b>\u2212\u2212ignoresize<\/b> for urpmi. Disabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>limit-rate<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212limit\u2212rate<\/b> for all tools. This option allows to control download speed; there is no limitation by default. The number is given in bytes per second, unless a suffix &#8220;K&#8221; or &#8220;M&#8221; is added.<\/p>\n<p style=\"margin-left:11%;\"><b>max-round-robin-tries<\/b><\/p>\n<p style=\"margin-left:17%;\">For mirrorlist, the maximum number of mirrors to try before giving up. (since sometimes all mirrors have the same problem and it is useless to try more).<\/p>\n<p style=\"margin-left:11%;\"><b>days-between-mirrorlist-update<\/b><\/p>\n<p style=\"margin-left:17%;\">After a number of days, urpmi.update will update the list of mirrors (to get potential new mirrors).<\/p>\n<p style=\"margin-left:11%;\"><b>nopubkey<\/b><\/p>\n<p style=\"margin-left:17%;\">Don\u2019t import pubkeys when updating media.<\/p>\n<p style=\"margin-left:11%;\"><b>norebuild<\/b><\/p>\n<p style=\"margin-left:17%;\">Obsolete. Enabled by default.<\/p>\n<p style=\"margin-left:11%;\"><b>pre-clean, post-clean, clean<\/b><\/p>\n<p style=\"margin-left:17%;\">Control cache management for urpmi, default is only activated as <b>post-clean<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>priority-upgrade<\/b><\/p>\n<p style=\"margin-left:17%;\">A comma-separated list of package names that must be installed first, and that trigger an urpmi restart.<\/p>\n<p style=\"margin-left:11%;\"><b>prohibit-remove<\/b><\/p>\n<p style=\"margin-left:17%;\">A comma-separated list of package names that must never be removed (just like <b>basesystem<\/b> dependencies).<\/p>\n<p style=\"margin-left:11%;\"><b>prozilla-options<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212prozilla\u2212options<\/b> for urpmi, urpmq or urpmi.addmedia. Additional options to pass to <b>prozilla<\/b> when downloading files.<\/p>\n<p style=\"margin-left:11%;\"><b>resume<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as specifying <b>\u2212\u2212resume<\/b> for urpmi. Resume transfer of partially-downloaded files.<\/p>\n<p style=\"margin-left:11%;\"><b>retry<\/b><\/p>\n<p style=\"margin-left:17%;\">Specify how many times the downloader should retry in case of non-permanent errors.<\/p>\n<p style=\"margin-left:11%;\"><b>rsync-options<\/b><\/p>\n<p style=\"margin-left:17%;\">Additional options to pass to <b>rsync<\/b> when downloading files. Note that the rsync options will also be used for ssh media.<\/p>\n<p style=\"margin-left:11%;\"><b>split-length<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212split\u2212length<\/b> for urpmi. This option allows to control the minimal length of splitted transactions. The default value is 8. Setting this value to 0 disables the splitting of transactions.<\/p>\n<p style=\"margin-left:11%;\"><b>split-level<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212split\u2212level<\/b> for urpmi. This option allows to control if transactions should be splitted depending of the number of packages to upgrade. The default value is 1.<\/p>\n<p style=\"margin-left:11%;\"><b>strict-arch<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212strict\u2212arch<\/b> for urpmi. Boolean option, enabled by default, meaning that packages can not be upgraded with versions for another architecture.<\/p>\n<p style=\"margin-left:11%;\"><b>verify-rpm<\/b><\/p>\n<p style=\"margin-left:17%;\">Same as <b>\u2212\u2212verify\u2212rpm<\/b> for urpmi. Enable or disable signature checking (it\u2019s enabled by default). Disabling it can be written in various ways (as for all the other boolean options) : &#8220;no\u2212verify\u2212rpm&#8221; or &#8220;verify\u2212rpm: no&#8221; or &#8220;verify\u2212rpm: off&#8221; or &#8220;verify\u2212rpm: 0&#8221;.<\/p>\n<p style=\"margin-left:11%;\"><b>wget-options<\/b><\/p>\n<p style=\"margin-left:17%;\">Additional options to pass to <b>wget<\/b>\u2019s command line when downloading files.<\/p>\n<h2>MEDIUM DESCRIPTION <a name=\"MEDIUM DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A medium is described as follows :<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">name url { <br \/> &#8230; list of options, one per line &#8230; <br \/> }<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">where <b>name<\/b> is the medium name (space characters must be prefixed by a backslash) and where <b>url<\/b> is the medium <small>URL.<\/small><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Most other options like <b>list<\/b>, <b>media_info_dir<\/b>, <b>synthesis<\/b>, <b>removable<\/b>, <b>virtual<\/b> are for internal use and should be changed only by experienced users.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Options like <b>update<\/b>, <b>ignore<\/b> or <b>key-ids<\/b> can be modified by users to respectively mark mediums as update sources, to have them being ignored, or to specify the allowed <small>GPG<\/small> key ids for packages from the medium for verification (unless of course signature checking has been disabled globally). It\u2019s also possible to override <b>verify-rpm<\/b> and <b>downloader<\/b> in a medium description.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>noreconfigure<\/b> flag can be added to specify that the media should not be reconfigured (by a reconfiguration file present on the mirror).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Media can be marked as <b>static<\/b>: this means that they will never get updated by urpmi.update or other means. This is useful for read-only media such as CDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Please note that <b>key-ids<\/b> is automatically set by urpmi.update or urpmi.addmedia if a remote pubkey file is available on the mirror. This file contains all the <small>GPG<\/small> armor keys that may be used.<\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A &#8220;{&#8221; should finish a line, as well as a &#8220;}&#8221; should start it when used. This means the construction &#8220;{ no\u2212verify\u2212rpm }&#8221; on a single line is invalid.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Thierry Vignaud <tv@mageia.org> (current maintainer), Pascal Rigaux (original author), Fran\u00c3\u00a7ois Pons, Rafael Garcia-Suarez<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>urpmi<\/b>(8), <b>urpmi.files<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  urpmi.cfg \u2212 urpmi option and media configuration file format <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,119],"class_list":["post-4296","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-urpmi"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4296"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4296\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}