Urpmi-utils — различия между версиями

Материал из Rosalab Wiki
Перейти к: навигация, поиск
(+ urpmi-package-cleanup)
(+ preliminary options for downloader and diff)
Строка 19: Строка 19:
 
| urpmi-package-cleanup || Чистка установленных пакетов
 
| urpmi-package-cleanup || Чистка установленных пакетов
 
|}
 
|}
 +
 +
== urpmi-downloader ==
 +
 +
<pre>
 +
Usage: "urpmi-downloader [options] package1 [package2 package3 ...]
 +
 +
Options:
 +
  Options inherited from urpmi:
 +
    -h, --help          show this help message and exit
 +
    -t, --tolerant      be tolerant of errors
 +
    -C, --cacheonly    run entirely from system cache, don't update cache
 +
    -c [config file], --config=[config file]
 +
                        config file location
 +
    -R [minutes], --randomwait=[minutes]
 +
                        maximum command wait time
 +
    -d [debug level], --debuglevel=[debug level]
 +
                        debugging output level
 +
    --showduplicates    show duplicates, in repos, in list/search commands
 +
    -e [error level], --errorlevel=[error level]
 +
                        error output level
 +
    --rpmverbosity=[debug level name]
 +
                        debugging output level for rpm
 +
    -q, --quiet        quiet operation
 +
    -v, --verbose      verbose operation
 +
    -y, --assumeyes    answer yes for all questions
 +
    --version          show Yum version and exit
 +
    --installroot=[path]
 +
                        set install root
 +
    --enablerepo=[repo]
 +
                        enable one or more repositories (wildcards allowed)
 +
    --disablerepo=[repo]
 +
                        disable one or more repositories (wildcards allowed)
 +
    -x [package], --exclude=[package]
 +
                        exclude package(s) by name or glob
 +
    --disableexcludes=[repo]
 +
                        disable exclude from main, for a repo or for
 +
                        everything
 +
    --obsoletes        enable obsoletes processing during updates
 +
    --noplugins        disable Yum plugins
 +
    --nogpgcheck        disable gpg signature checking
 +
    --disableplugin=[plugin]
 +
                        disable plugins by name
 +
    --enableplugin=[plugin]
 +
                        enable plugins by name
 +
    --skip-broken      skip packages with depsolving problems
 +
    --color=COLOR      control whether color is used
 +
    --releasever=RELEASEVER
 +
                        set value of $releasever in yum config and repo files
 +
    --setopt=SETOPTS    set arbitrary config and repo options
 +
 +
  urpmi-downloader options:
 +
    --destdir=DESTDIR  destination directory (defaults to current directory)
 +
    --urls              just list the urls it would download instead of
 +
                        downloading
 +
    --resolve          resolve dependencies and download required packages
 +
    --source            operate on source packages
 +
    --archlist=ARCHLIST
 +
                        only download packages of certain architecture(s)
 +
</pre>
 +
 +
== urpmi-repodiff ==
 +
Take 2 or more repositories and return a list of added, removed and changed packages.
 +
 +
Usage:
 +
<pre>
 +
repodiff --old=old_repo_baseurl [--old=old_repo2_baseurl ...] --new=new_repo_baseurl [--new=new_repo2_baseurl ...]
 +
</pre>

Версия 11:49, 12 декабря 2011

Urpmi-utils - набор утилит, расширяющих и дополняющих функциональность urpmi.

В настоящее время ведутся работы над следующими:

Tool Description
urpmi-repoclosure промерка замкнутости репозитория по зависимостям
urpmi-repograph построение графа зависимостей пакетов в репозитории
urpmi-repodiff diff двух репозиториев
urpmi-distrosync синхронизация локального набора пакетов с репозиторием
urpmi-build-distrib создание дистрибутива на основе нескольких репозиториев
urpmi-downloader скачивание пакета вместе со всеми зависимостями
urpmi-package-cleanup Чистка установленных пакетов

urpmi-downloader

Usage: "urpmi-downloader [options] package1 [package2 package3 ...]

Options:
  Options inherited from urpmi:
    -h, --help          show this help message and exit
    -t, --tolerant      be tolerant of errors
    -C, --cacheonly     run entirely from system cache, don't update cache
    -c [config file], --config=[config file]
                        config file location
    -R [minutes], --randomwait=[minutes]
                        maximum command wait time
    -d [debug level], --debuglevel=[debug level]
                        debugging output level
    --showduplicates    show duplicates, in repos, in list/search commands
    -e [error level], --errorlevel=[error level]
                        error output level
    --rpmverbosity=[debug level name]
                        debugging output level for rpm
    -q, --quiet         quiet operation
    -v, --verbose       verbose operation
    -y, --assumeyes     answer yes for all questions
    --version           show Yum version and exit
    --installroot=[path]
                        set install root
    --enablerepo=[repo]
                        enable one or more repositories (wildcards allowed)
    --disablerepo=[repo]
                        disable one or more repositories (wildcards allowed)
    -x [package], --exclude=[package]
                        exclude package(s) by name or glob
    --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
    --obsoletes         enable obsoletes processing during updates
    --noplugins         disable Yum plugins
    --nogpgcheck        disable gpg signature checking
    --disableplugin=[plugin]
                        disable plugins by name
    --enableplugin=[plugin]
                        enable plugins by name
    --skip-broken       skip packages with depsolving problems
    --color=COLOR       control whether color is used
    --releasever=RELEASEVER
                        set value of $releasever in yum config and repo files
    --setopt=SETOPTS    set arbitrary config and repo options

  urpmi-downloader options:
    --destdir=DESTDIR   destination directory (defaults to current directory)
    --urls              just list the urls it would download instead of
                        downloading
    --resolve           resolve dependencies and download required packages
    --source            operate on source packages
    --archlist=ARCHLIST
                        only download packages of certain architecture(s)

urpmi-repodiff

Take 2 or more repositories and return a list of added, removed and changed packages.

Usage:

repodiff --old=old_repo_baseurl [--old=old_repo2_baseurl ...] --new=new_repo_baseurl [--new=new_repo2_baseurl ...]