summaryrefslogtreecommitdiffstats
path: root/pod/urpmi.8.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/urpmi.8.pod')
-rw-r--r--pod/urpmi.8.pod422
1 files changed, 422 insertions, 0 deletions
diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod
new file mode 100644
index 00000000..a253ce34
--- /dev/null
+++ b/pod/urpmi.8.pod
@@ -0,0 +1,422 @@
+=head1 NAME
+
+urpmi - rpm downloader, installer and dependency solver
+
+=head1 SYNOPSIS
+
+ urpmi [options] [package_names | rpm_files...]
+
+=head1 DESCRIPTION
+
+urpmi authorizes well-known rpms (or rpm files) to be installed including
+all their dependencies. You can use it to install the dependencies of a
+source package, or a source package itself.
+
+You can compare rpm vs. urpmi with insmod vs. modprobe or dpkg vs apt-get.
+Just launch urpmi followed by what you think is the name of the
+package(s), and urpmi will:
+
+- Propose different package names if the name was ambiguous, and quit.
+
+- If only one corresponding package is found, check whether its
+dependencies are already installed.
+
+- If not, propose to install the dependencies, and on a positive answer,
+proceed.
+
+Note that urpmi handles installations from various types of media (ftp,
+http, rsync, local and nfs volumes, and removable media such as CDROMs)
+and is able to install dependencies from a medium different from the
+original package's media. For removable media, urpmi may ask you to insert
+the appropriate disk, if necessary. To add a new medium containing rpms,
+run urpmi.addmedia. To remove an existing medium, use urpmi.removemedia.
+To update the package list (for example when the ftp archive changes) use
+urpmi.update.
+
+=head1 OPTIONS
+
+=over
+
+=item B<--help>
+
+Print a help message and exit (this is the same as B<-h> or B<-?>).
+
+=item B<--update>
+
+Use only update media. This means that B<urpmi> will search
+packages and resolve dependencies only in media marked as containing updates.
+
+=item B<--media> I<media1,...,mediaN>
+
+Select specific media to be used, instead of defaulting
+to all available media (or all update media if B<--update> is used).
+
+=item B<--excludemedia> I<media1,...,mediaN>
+
+Do not use the specified media.
+
+=item B<--searchmedia> I<media>
+
+Use only the specified media to search for packages when combined with
+B<--auto-select>.
+
+=item B<--sortmedia> I<media1,...,mediaN>
+
+Sort the specified media. Substrings may be used
+to simplify grouping.
+
+=item B<--synthesis> I<file>
+
+Use the specified synthesis file instead
+of the urpmi database for searching packages and resolving dependencies.
+
+=item B<--auto>
+
+Install all required dependencies without asking.
+
+=item B<--auto-select>
+
+Automatically
+select all packages that have to be upgraded, according to already installed
+packages and packages listed in various registered media.
+
+=item B<--no-install>
+
+Only download packages, don't install them. You'll find them in
+F</var/cache/urpmi/rpms>.
+
+=item B<--no-uninstall>
+
+Never ask to uninstall a package but prefer aborting instead.
+This can be safer in auto mode.
+
+=item B<--keep>
+
+When some dependencies cannot be satisfied,
+change the selection of packages to try to keep existing packages instead
+of removing them. This behaviour generally rejects the upgrade of packages
+given on command line (or when using B<--auto-select>) when a dependency error
+occurs.
+
+=item B<--split-level I<number>>
+
+Split urpmi's operation in small transactions when
+the total number of packages to upgrade is greater than the given I<number>.
+This option is activated by default, and the default value of I<number> is
+20.
+
+=item B<--split-length I<count>>
+
+Split urpmi's operation in small transactions of at
+least I<count> packages. The default is 1 and setting this value to 0 just
+disables splitting in small transactions.
+
+=item B<--fuzzy>
+
+Disable fast search on exact
+package name; that means that urpmi will propose all packages matching
+the name partially, even if one of them matches exactly the specified name
+(this is the same as B<-y>).
+
+=item B<--src> I<name>
+
+Search a source package matching I<name> and
+select all its dependencies by default, unless B<--install-src> is used in order
+to install the source package itself.
+
+=item B<--install-src>
+
+Install only the source
+package (no binary packages will be installed).
+
+=item B<--clean>
+
+Remove all packages from the cache in directory F</var/cache/urpmi/rpms>.
+
+=item B<--noclean>
+
+Do not remove any package from the cache in directory
+F</var/cache/urpmi/rpms>.
+
+=item B<--force>
+
+Assume yes on all questions.
+
+=item B<--allow-nodeps>
+
+With this option, urpmi will ask the user on error whether it should
+continue the installation without checking dependencies. By default, urpmi
+exits immediately in this case.
+
+=item B<--allow-force>
+
+With this option, urpmi will ask the user on error whether it should
+proceed to a forced installation. By default, urpmi exits immediately in
+this case.
+
+=item B<--parallel> I<alias>
+
+Activate distributed execution of urpmi to other machines (it is mandatory
+that urpmi is installed, but it is not necessary to have media defined on
+any machines). I<alias> defines which extension module is to be used by
+urpmi (currently, B<urpmi-parallel-ka-run> or B<urpmi-parallel-ssh> are
+available) and which machines should be updated. This alias is defined in
+the file F</etc/urpmi/parallel.cfg> as described below.
+
+=item B<--root> I<directory>
+
+Use the file system tree rooted for rpm install. All operations and
+scripts will run after chroot(2). The rpm database that lies in the rooted
+tree will be used, but the urpmi configuration comes from the normal
+system.
+
+=item B<--use-distrib> I<directory>
+
+Configure urpmi on the fly from a distrib tree, useful to install a chroot
+with the B<--root> option.
+
+=item B<--wget>
+
+Use wget for downloading distant files. By default curl
+is used if available, or wget instead.
+
+=item B<--curl>
+
+Use curl for downloading distant
+files. By default curl is used if available, or wget instead.
+
+=item B<--limit-rate I<rate>>
+
+Try to limit the download speed, I<rate> is given in bytes/sec. This
+option is not active by default.
+
+=item B<--resume>
+
+Resume transfer of partially-downloaded files.
+
+=item B<--retry> I<times>
+
+Retries to download files over FTP or HTTP the specified number
+of times.
+
+=item B<--proxy> I<proxyhost[:port|1080]>
+
+Use specified HTTP proxy.
+
+=item B<--proxy-user> I<user:password>
+
+Use
+specified user and password to use for proxy authentication. Specifying
+B<--proxy-user=ask> will cause urpmi to prompt for a username and a password.
+
+=item B<--bug> I<directory>
+
+Create a bug report in I<directory>. You have to send a compressed
+archive of the directory to the urpmi maintainer for the bug being (probably)
+reproduced.
+
+=item B<--env> I<directory>
+
+Use a different environment directly from a bug
+report to replay a bug. The argument is the same argument given to B<--bug> option.
+
+=item B<--verify-rpm>
+
+=item B<--no-verify-rpm>
+
+Activate or deactivate rpm signature checking. It's activated
+by default.
+
+=item B<--test>
+
+Test (same as B<rpm --test>) installation of packages but do
+not modify the system.
+
+=item B<--excludepath> I<string>
+
+Do not install files of which the
+names begin with the given I<string> (same as B<rpm --excludepath>).
+
+=item B<--excludedocs>
+
+Do not install documents files (same as B<rpm --excludedocs>).
+
+=item B<--ignoresize>
+
+Don't check
+file systems for sufficient disk space before installation. This is equivalent
+to B<rpm --ignoresize>.
+
+=item B<--skip> I<pattern,...>
+
+You can specify a list of packages which installation should be skipped.
+You can also include patterns between //, just like in
+F</etc/urpmi/skip.list> (see urpmi.files(5)).
+
+=item B<--more-choices>
+
+When several packages are found, propose more choices than the default.
+
+=item B<--norebuild>
+
+Don't try to rebuild the hdlist files from the RPMs if the original hdlist
+wasn't readable or was corrupted.
+
+=item B<--strict-arch>
+
+Upgrade only packages if the newer version has the same architecture as
+the one installed. Mostly useful on machines that support several
+architectures (32 and 64 bit).
+
+=item B<-a>
+
+If multiple packages match the given substring, install them all.
+
+=item B<-p>
+
+Allow search in provides to find package (default).
+
+=item B<-P>
+
+Do not search in provides to find package (this
+is the opposite of B<-p>).
+
+=item B<-y>
+
+This is the same as B<--fuzzy>.
+
+=item B<-s>
+
+This is the same as B<--src>.
+
+=item B<-q>
+
+Quiet mode: when calling rpm no upgrade status is printed.
+
+=item B<-v>
+
+Proposes a verbose mode with various messages.
+
+=back
+
+=head1 EXAMPLES
+
+=over
+
+=item urpmi ssh://foo@bar.net/home/foo/test.rpm
+
+Fetch F</home/foo/test.rpm> from server bar.net over ssh using user foo.
+You can use a public key or enter your password.
+
+=item urpmi --media foo- --auto-select
+
+Fetch all the updates from media containing C<foo-> in their name.
+
+=back
+
+=head1 FILES
+
+See urpmi.files(5).
+
+=head1 EXIT CODES
+
+=over
+
+=item 1
+
+Command line inconsistency.
+
+=item 2
+
+Problem registering local packages.
+
+=item 3
+
+Source packages not retrievable.
+
+=item 4
+
+Medium is not selected.
+
+=item 5
+
+Medium already
+exists.
+
+=item 6
+
+Unable to save configuration.
+
+=item 7
+
+Urpmi database locked.
+
+=item 8
+
+Unable to
+create bug report.
+
+=item 9
+
+Unable to open rpmdb.
+
+=item 10
+
+Some files are missing for installation.
+
+=item 11
+
+Some transactions failed but not all.
+
+=item 12
+
+All transactions failed.
+
+=item 13
+
+Some files are missing and some transactions failed but not all.
+
+=item 14
+
+Some files are missing and all transactions failed.
+
+=back
+
+=head1 BUG REPORTS
+
+If you find a bug in B<urpmi> please report it using the command :
+
+ urpmi --bug bug_name_as_directory ...
+
+This will automatically create a directory called F<bug_name_as_directory>
+containing necessary files to reproduce it if possible. Please test the
+report using
+
+ urpmi --env bug_name_as_directory ...
+
+to check that the bug is still here. Obviously, only reproducible bugs can
+be resolved. For sending the report, make a tarball of this directory and
+send it directly to the current maintainer with a description of what you
+think is wrong.
+
+=head1 BUGS
+
+When a package is removed, it may not be replaced
+with an older version.
+
+=head1 AUTHOR
+
+Pascal Rigaux (original author), Francois Pons,
+Rafael Garcia-Suarez, <rgarciasuarez@mandriva.com> (current maintainer)
+
+=head1 CONTRIBUTORS
+
+Please mail to authors if you are not belonging to this alphabetically
+sorted list after having contributed. Andrej Borsenkow, Guillaume
+Cottenceau, Philippe Libat, Bryan Paxton, Guillaume Rousse, Michael
+Scherer, Alexander Skwar, Olivier Thauvin, Erwan Velu, Florent Villard.
+
+=head1 SEE ALSO
+
+urpmi.addmedia(8), urpmi.update(8), urpmi.removemedia(8), urpmf(8),
+urpmq(8), urpmi.cfg(5), urpmi.files(5).