Интерактивная система просмотра системных руководств (man-ов)
urpmi.addmedia (8)
>> urpmi.addmedia (8) ( Linux man: Команды системного администрирования )
NAME
urpmi.addmedia - adds a new rpms media for use with urpmi
SYNOPSIS
urpmi.addmedia [options] <name> <url>
DESCRIPTION
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:
http:
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.
Removable device:
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
is mounted.
OPTIONS
--update
add a medium which will be taken into account when updating only update media by
urpmi.
FILES
/usr/bin/urpmi
The urpmi executable (perl script)
/var/lib/urpmi/list.*
Contains the list of all packages known by urpmi and their location. There
is one filelist per media(*).
/var/lib/urpmi/hdlist.*
Contain information about all known packages, it's a summary of rpm headers.
There is one filelist per media(*).
/var/lib/urpmi/synthesis.hdlist.*
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.
/etc/urpmi/urpmi.cfg
Contains media description, previous format from older urpmi is accepted.
/etc/urpmi/skip.list
Contains package names that should be not automatically updated.
/var/lib/urpmi/depslist.ordered
A simple text file containing all dependencies of all known packages.
/var/lib/urpmi/provides
A simple text file containning all provides and the list of associated
packages that contains them.
/var/lib/urpmi/compss
A simple text file containning for each Group used the list of package in
this group.