Интерактивная система просмотра системных руководств (man-ов)
>> urpmi.addmedia (8) ( Linux man: Команды системного администрирования )
urpmi.addmedia - adds a new rpms media for use with urpmi
urpmi.addmedia [options] <name> <url>
urpmi.addmedia tells urpmi that he can find new rpms at the specified
location. Currently supported medias are: local drives, removable drives
(such as cd's), http and ftp.
All users belonging to group urpmi are allowed to add a new media.
One of the following modes must be choosen:
urpmi.addmedia <name> http://<host>/<path> with <relative path of hdlist>
Where <name> is your reference for the media (e.g. MandrakeUpdate).
<host>/<path> is the location of the rpm directory on the net.
<relative path of hdlist> is the pathname where to find the hdlist of
the rpms. The location is given relative to <path>.
Note that wget is used to download files, you may add specific options to
wget by editing /etc/wgetrc file. Please refer to wget
documentation for more information.
urpmi.addmedia <name> ftp://<login>:<user>@<host>/<path> with <relative path of hdlist>
The same as for http, just add your login and user if required (Note that
you needn't to specify anonymous as login for anonymous access ftp servers).
Note that wget is used to download files, so if a firewall is used you may
have to add passive_ftp=on option to /etc/wgetrc.
urpmi.addmedia <name> file://<path> with <relative path of hdlist>
Where <name> is your reference for the media (e.g. Myrpms).
<path> is the location of the rpm directory on your machine.
urpmi.addmedia removable_<device>://<path> with <relative path of hdlist>
<device> is the name of your media as specified in the /dev/ directory
(e.g. cdrom, floppy, zip, ...).
<path> is the location of the rpm directory on your machine when media
add a medium which will be taken into account when updating only update media by
The urpmi executable (perl script)
Contains the list of all packages known by urpmi and their location. There
is one filelist per media(*).
Contain information about all known packages, it's a summary of rpm headers.
There is one filelist per media(*).
Contain synthesis information about all known packages built from hdlist files
that can be used by minimal closure algorithm. If these files are not present
use urpmi.update -a to generate them. These files are not mandatory.
Contains media description, previous format from older urpmi is accepted.
Contains package names that should be not automatically updated.
A simple text file containing all dependencies of all known packages.
A simple text file containning all provides and the list of associated
packages that contains them.
A simple text file containning for each Group used the list of package in