# HG changeset patch # User Aleksej Bobylev # Date 1332427210 -7200 # Node ID 8877356b3ed69d759d0331be07090dd907b53796 # Parent 80892f78e6466390c2dd465c1dcbadde77ba01c1 doc: add some clear markup to en, providing it in css (do we need 88% letters size? its small; auto-hyphenation added), add ru doc diff -r 80892f78e646 -r 8877356b3ed6 doc/style.css --- a/doc/style.css Wed Mar 14 03:59:11 2012 -0300 +++ b/doc/style.css Thu Mar 22 16:40:10 2012 +0200 @@ -1,10 +1,19 @@ /* CSS style for SliTaz Doc */ -html { min-height: 102%; } -body { font: 88% sans-serif, vernada, arial; margin: 0; } +html { min-height: 102%; } +body { + font: 100% sans-serif, Vernada, Arial; + margin: 0; + -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; +} + h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; } -h2 { color: #d66018; } h3 { color: #666; font-size: 140%; } -a:hover { text-decoration: none; } +h2 { color: #d66018; } +h3 { color: #666; font-size: 140%; } + +a, a:link, a:visited { color: #436976; text-decoration: none; } +a:hover, a:focus { text-decoration: underline; } + img { border: 0pt none; vertical-align: middle; } pre { background-color: #f8f8f8; @@ -12,6 +21,8 @@ padding: 10px; border-radius: 4px; } +code { background-color: #f8f8f8; } +code, tt { color: #666; } #header { background: #351a0a; @@ -39,10 +50,6 @@ } #lang a { - text-decoration: none; padding: 0 2px; } -#lang a:hover { - text-decoration: underline; -} diff -r 80892f78e646 -r 8877356b3ed6 doc/tazpkg.en.html --- a/doc/tazpkg.en.html Wed Mar 14 03:59:11 2012 -0300 +++ b/doc/tazpkg.en.html Thu Mar 22 16:40:10 2012 +0200 @@ -1,5 +1,5 @@ - + Tazpkg Manual (en) @@ -16,19 +16,25 @@
+

NAME

+

- Tazpkg - Tiny autonomous zone package manager + Tazpkg—Tiny autonomous zone package manager

+

SYNTAX

+
  tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]
 
+

DESCRIPTION

+

-Tazpkg is an ultralightweight (~ 35KB) package manager to +Tazpkg is an ultralightweight (~ 80KB) package manager to install, list, download, update or remove precompiled packages on a GNU/Linux system. Tazpkg offers commands for searching and creating packages and was created independently for the project. @@ -43,48 +49,54 @@

Tazpkg is entirely built from scratch using SHell script, -compatible with Bash; it runs under Ash - part of the Busybox +compatible with Bash; it runs under Ash—part of the Busybox project. Tazpkg is distributed under the free GNU license GPL V3.

+

COMMANDS

-

list

+ + +

list

+

List packages installed on the system. This command displays a column list of all installed packages, It also allows you to list the categories, packages based on category and packages placed on hold. -You can also use the 'search' command for a list based -on a term or package name: +You can also use the search command +for a list based on a term or package name:

 # tazpkg list
-# tazpkg list cat|categories
+# tazpkg list cat|categories
 # tazpkg list blocked
 
- -

xhtml-list

+ +

xhtml-list

+

-The 'xhtml-list' command can create a XHTML list +The xhtml-list command can create a XHTML list of all the packages installed on the system which can be read with your preferred Web browser. It can be run as a normal -user and creates a page 'installed-packages.html' in +user and creates a page installed-packages.html in your current directory. Note that you can change the name of the generated list via the command line:

 # tazpkg xhtml-list
-# tazpkg xhtml-list list-name.html
+# tazpkg xhtml-list list-name.html
 
- -

list-mirror

+ +

list-mirror

+

List packages available on the mirror. This command will -display the 'packages.list' file recharged from the mirror. +display the packages.list file recharged from the mirror. If this doesn't exist, you will be asked to launch -'tazpkg recharge' as administrator (root) for a list of -available packages . The --diff option is used to display +tazpkg recharge as administrator (root) +for a list of available packages . The --diff option is used to display the differences between the last and current list of packages:

@@ -92,105 +104,116 @@
 # tazpkg list-mirror --diff
 
- -

info

+ +

info

+

Display any information available in the receipt for the -package in question - its version, category, maintainer, +package in question—its version, category, maintainer, Web site and any dependencies (see also Tazwok for more information on receipts):

-# tazpkg info busybox
+# tazpkg info busybox
 
- -

desc

+ + +

desc

+

Description of the package (if it exists). This command -displays the 'description.txt' file of each package (a simple +displays the description.txt file of each package (a simple text file, justified to 80 characters to fit in a standard terminal):

-# tazpkg desc busybox
+# tazpkg desc busybox
 
- -

list-config

+ +

list-config

+

-Lists the system configuration files. The --box option displays +Lists the system configuration files. The --box option displays in table format:

# tazpkg list-config
 # tazpkg list-config --box
 
- -

list-files

+ +

list-files

+

List all files installed with a package. This command will -simply read and display the 'files.list' of each package which is +simply read and display the files.list of each package which is automatically generated when the package is created and is also used to remove files when uninstalling a package. To list the files installed with the package bc:

-# tazpkg list-files bc
+# tazpkg list-files bc
 
- -

search

+ + +

Search for packages by owner or package name. This command will search for the term wanted in the installed packages and the list of available packages on the mirror. To obtain the latest list of installable packages on the mirror, just -run 'tazpkg recharge' before conducting a search: +run tazpkg recharge before conducting a search:

-# tazpkg search gcc
+# tazpkg search gcc
 
- -

search-file

+ +

search-file

+

-The 'search-file' command allows you to search for a file +The search-file command allows you to search for a file among the files installed by the packages. This command is very useful to find the full path to a file and determine if a file is present on the system. Example:

- $ tazpkg search-file libnss
+ $ tazpkg search-file libnss
 
- -

install

+ +

install

+

This command allows the installation of a local package with -the .tazpkg extension. See 'get-install' to install a +the .tazpkg extension. See +get-install to install a package from the internet. Note that you can force the -installation via the --forced, uninstall and reinstall options +installation via the --forced, uninstall and +reinstall options or specify the root system where you want to install the -packages via the -root= option: +packages via the --root= option:

-# tazpkg install package-1.0.tazpkg
-# tazpkg install path/to/package-1.0.tazpkg --forced
-# tazpkg install path/to/package-1.0.tazpkg --root=/mnt/rootfs
+# tazpkg install package-1.0.tazpkg
+# tazpkg install path/to/package-1.0.tazpkg --forced
+# tazpkg install path/to/package-1.0.tazpkg --root=/mnt/rootfs
 
- -

install-list or get-install-list

+ +

install-list or get-install-list

Install a set of packages listed in a file. This command allows you to (download and) install several packages with a single command and can also be forced:

-
# tazpkg install-list my-packages.list
-# tazpkg get-install-list my-packages.list --forced
+
# tazpkg install-list my-packages.list
+# tazpkg get-install-list my-packages.list --forced
 
- -

link

+ + +

This command allows the installation of a package from another media device. The set up is done through symbolic links and consumes very little @@ -198,62 +221,68 @@ from an USB key:

-# tazpkg link openoffice /media/usbdisk
+# tazpkg link openoffice /media/usbdisk
 
- -

remove

+ +

remove

+

Remove a package. You will be asked for confirmation (y/N). This command will delete all files installed with the package. -To view the list of files, use the 'list-files' command -followed by the name of the package. Example +To view the list of files, use the list-files +command followed by the name of the package. Example with the package bc:

-# tazpkg remove bc
+# tazpkg remove bc
 
- -

extract

+ +

extract

+

Extract a package into a directory. If you do not specify the destination directory, the package will be extracted -in the current directory using the name package-version: +in the current directory using the name package-version:

-# tazpkg extract package.tazpkg
-# tazpkg extract package.tazpkg target/dir
+# tazpkg extract package.tazpkg
+# tazpkg extract package.tazpkg target/dir
 
- -

pack

+ +

pack

+

-The 'pack' command will create a package from a directory +The pack command will create a package from a directory prepared in advance or from an unpacked package. It can also manually create a .tazpkg package (see the Tazwok documentation for the automatic creation of packages). To pack a package:

-# tazpkg pack package-version
+# tazpkg pack package-version
 
- -

repack

+ +

repack

+

-The 'repack' command allows you to recreate a package from +The repack command allows you to recreate a package from the files on a system where it was previously installed. To repack a package:

-# tazpkg repack package
+# tazpkg repack package
 
- -

repack-config

+ +

repack-config

+

-The 'repack-config' command recreates a package -of the system configuration files (see list-config). It is enough +The repack-config command recreates a package +of the system configuration files (see +list-config). It is enough to install the package to find the current configuration. To repack the configuration files:

@@ -261,24 +290,28 @@ # tazpkg repack-config
- -

recharge

+ +

recharge

+

Recharge the list of available packages on the mirror. -This command will download the most recent 'packages.list' +This command will download the most recent packages.list of installable packages on the mirror and before starting will save the old list. Once the list is updated, -you can then use the 'list' and 'search' commands. To view -and list the differences, you can use 'list-mirror --diff'; and to view -and update packages, you can simply 'upgrade'. To recharge the +you can then use the list and +search commands. To view +and list the differences, you can use list-mirror --diff; +and to view and update packages, you can simply +upgrade. To recharge the latest list of packages:

 # tazpkg recharge
 
- -

up or upgrade

+ +

up or upgrade

+

Upgrade allows you to update all installed packages available on the current mirror. Upgrading packages is an important @@ -288,7 +321,7 @@ offers the latest versions of software. Note that this function is aimed at people with SliTaz installed on a hard drive. Updated packages in LiveCD mode will be lost on -system shutdown. To upgrade or display the full 'up' options: +system shutdown. To upgrade or display the full up options:

 # tazpkg up
@@ -297,58 +330,65 @@
 # tazpkg up -r -i
 
- -

check

+ +

check

+

-The 'check' command can check dependencies on installed +The check command can check dependencies on installed packages and determine whether all the files needed for the repacking of packages are present:

-# tazpkg check package
+# tazpkg check package
 
- -

block or unblock

+ +

block or unblock

+

-The 'block' and 'unblock' commands permit you to block +The block and unblock commands permit you to block installed package versions so that they are not maintained -by an 'upgrade'. The list of packages on hold are contained -in the /var/lib/tazpkg/blocked-packages.list. This file can also +by an upgrade. The list of packages +on hold are contained +in the /var/lib/tazpkg/blocked-packages.list. This file can also be edited by hand. To block or unblock a package such as Grub:

-# tazpkg block grub
-# tazpkg unblock grub
+# tazpkg block grub
+# tazpkg unblock grub
 
- -

get

+ +

get

+

Get a package from the mirror (if it exists). The downloaded package is stored in the current directory. To find the path -you can use 'pwd'. To get the Grub package: +you can use pwd. To get the Grub package:

-# tazpkg get grub
+# tazpkg get grub
 
- -

get-install

+ +

get-install

+

Get and install a package from a mirror on the internet. -The 'get-install' command begins by checking whether the +The get-install command begins by checking whether the package exists on the mirror and if it has been already downloaded. For a list of packages on the mirror, we must -use the 'list-mirror' command. To install the package Grub: +use the list-mirror command. +To install the package Grub:

-# tazpkg get-install grub
+# tazpkg get-install grub
 
- -

clean-cache

+ +

clean-cache

+

Remove *.tazpkg packages downloaded to the cache. During installation, Tazpkg keeps a copy of packages downloaded @@ -360,63 +400,72 @@ # tazpkg clean-cache - -

setup-mirror

+ +

setup-mirror

+

-Setup the URL for the mirror. The 'setup-mirror' command +Setup the URL for the mirror. The setup-mirror command will ask for the URL of the new mirror. You can specify multiple URLs separated by spaces. Note that you can also -modify the main /var/lib/tazpkg/mirror file. The URL must -point to the directory containing the 'packages.list' and +modify the main /var/lib/tazpkg/mirror file. The URL must +point to the directory containing the packages.list and packages:

 # tazpkg setup-mirror
 
- -

reconfigure

+ +

reconfigure

+

Replays the post-install script from the package. Example using gcc:

-# tazpkg reconfigure gcc
+# tazpkg reconfigure gcc
 
- -

depends or rdepends

+ + +

depends or rdepends

+

Displays a dependency tree or reverse dependency tree for a package. Examples using mpd:

-# tazpkg depends mpd
-# tazpkg rdepends mpd
+# tazpkg depends mpd
+# tazpkg rdepends mpd
 
- -

add-undigest or setup-undigest

+ + +

add-undigest or setup-undigest

+

Set the URL of an additional unofficial mirror to test packages that are not yet present on the official mirrors. Note, you can also -manually edit the file in /var/lib/tazpkg/undigest/'repository'. The URL -must point to the directory containing the packages and 'packages.list': +manually edit the file in /var/lib/tazpkg/undigest/repository. +The URL must point to the directory containing the packages and +packages.list:

-# tazpkg add-undigest public-repository http://my.home.org/slitaz
-# tazpkg setup-undigest local-repository /home/slitaz/packages
+# tazpkg add-undigest public-repository http://my.home.org/slitaz
+# tazpkg setup-undigest local-repository /home/slitaz/packages
 
- -

remove-undigest

+ +

remove-undigest

+

Removes the URL of an undigest mirror:

-# tazpkg remove-undigest my-repository
+# tazpkg remove-undigest my-repository
 
- -

list-undigest

+ +

list-undigest

+

Lists additional undigest mirrors:

@@ -424,28 +473,29 @@ # tazpkg list-undigest - -

convert

+ +

convert

+

Converts a Debian package (.deb), Redhat (.rpm), Slackware (.tgz) or Archlinux (.pkg.tar.gz) package into a SliTaz package (.tazpkg):

-# tazpkg convert alien-package
+# tazpkg convert alien-package
 
- -

set-release

+ +

set-release

-The 'set-release' command changes the current version and +The set-release command changes the current version and upgrades all of the packages to the latest release:

-# tazpkg set-release cooking
+# tazpkg set-release cooking
 
- -

bugs

+ +

bugs

Generates a list of known bugs in the packages:

diff -r 80892f78e646 -r 8877356b3ed6 doc/tazpkg.fr.html --- a/doc/tazpkg.fr.html Wed Mar 14 03:59:11 2012 -0300 +++ b/doc/tazpkg.fr.html Thu Mar 22 16:40:10 2012 +0200 @@ -1,5 +1,5 @@ - + Manuel de Tazpkg (fr) diff -r 80892f78e646 -r 8877356b3ed6 doc/tazpkg.pt_BR.html --- a/doc/tazpkg.pt_BR.html Wed Mar 14 03:59:11 2012 -0300 +++ b/doc/tazpkg.pt_BR.html Thu Mar 22 16:40:10 2012 +0200 @@ -1,5 +1,5 @@ - + Manual Tazpkg (pt) diff -r 80892f78e646 -r 8877356b3ed6 doc/tazpkg.ru.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/tazpkg.ru.html Thu Mar 22 16:40:10 2012 +0200 @@ -0,0 +1,468 @@ + + + + Руководство TazPKG + + + + + + + + + + +
+ +

НАЗВАНИЕ

+ +

TazPKG — менеджер пакетов в системе SliTaz GNU/Linux.

+ + +

СИНТАКСИС

+ +
+tazpkg [команда] [пакет|папка|шаблон|список|категория|--опции] [папка|--опции]
+
+ + +

ОПИСАНИЕ

+ +

TazPKG — это сверхлегкий (~ 80 КБ) менеджер пакетов, позволяющий +устанавливать, выдавать список, загружать, обновлять и удалять бинарные пакеты +в системе GNU/Linux. TazPKG предоставляет команды для поиска и создания пакетов, +он был создан независимо от проекта. Пакеты с расширением *.tazpkg — это архивы +CPIO, содержащие сжатую при помощи GZip файловую систему, рецепт и +дополнительное описание. TazPKG также управляет зависимостями на основе +рецептов, находящихся в пакетах. Каждый рецепт содержит полную информацию +о пакете, а также может содержать пре- и пост-установочные функции. Тот же самый +рецепт использует TazWok для компиляции исходников и создания пакетов +.tazpkg.

+ +

TazPKG разработан полностью с нуля, он написан на скрипте, совместимом +с Bash. TazPKG работает под управлением Ash, который входит в состав проекта +BusyBox. TazPKG распространяется под свободной лицензией GNU GPL v3.

+ + +

КОМАНДЫ

+ + +

list

+ +

Список пакетов, установленных в системе. Эта команда может выводить список +всех установленных пакетов, список категорий, список пакетов определенной +категории, и список пакетов заблокированных от обновления. Вы можете также +использовать команду search для вывода списка +на основе условия или названия пакета:

+ +
+# tazpkg list
+# tazpkg list cat
+# tazpkg list категория
+# tazpkg list blocked
+
+ + +

xhtml-list

+ +

Эта команда сохраняет список всех пакетов, установленных в системе, в файл +формата xHTML для просмотра в браузере. Команду может запускать обычный +пользователь, она создает файл installed-packages.html в той папке, +откуда она была запущена. Обратите внимание, что вы можете изменить имя файла +с помощью командной строки:

+ +
+# tazpkg xhtml-list
+# tazpkg xhtml-list имя-списка.html
+
+ + +

list-mirror

+ +

Список пакетов, доступных на зеркале. Эта команда покажет файл +packages.list, загруженный с зеркала. Если этого файла нет, вам будет +предложено запустить tazpkg recharge +с правами администратора (root), чтобы получить список доступных пакетов. +Параметр --diff позволяет отобразить различия между новым и текущим +списками пакетов:

+ +
+# tazpkg list-mirror
+# tazpkg list-mirror --diff
+
+ + +

info

+ +

Показать всю информацию по интересующему вас пакету. Информация содержится +в рецепте пакета — его версия, категория, разработчик, сайт и все зависимости +(см. также Tazwok для получения дополнительной информации по рецептам):

+ +
+# tazpkg info busybox
+
+ + +

desc

+ +

Описание пакета (если оно существует). Эта команда выводит файл +description.txt из каждого пакета (простой текстовый файл, шириной до +80 символов, чтобы поместиться в стандартном терминале):

+ +
+# tazpkg desc busybox
+
+ + +

list-config

+ +

Список конфигурационных системных файлов. Параметр --box отображает +список в виде таблицы:

+ +
+# tazpkg list-config
+# tazpkg list-config --box
+
+ + +

list-files

+ +

Список всех файлов, которые устанавливаются при установке пакета. Эта команда +просто читает и отображает файл files.list каждого пакета (он создается +автоматически при создании пакета, а также используется для удаления файлов при +удалении пакета). Чтобы получить список файлов, установленных пакетом bc:

+ +
+# tazpkg list-files bc
+
+ + + + +

Поиск пакета по имени владельца или названию пакета. Эта команда будет искать +в списке установленных пакетов и в списке пакетов, доступных на зеркале. Для +того, чтобы получить новейший список пакетов с зеркала, просто запустите +tazpkg recharge перед началом проведения поиска:

+ +
+# tazpkg search gcc
+
+ + +

search-file

+ +

Эта команда ищет файл среди всех файлов, которые были установлены с пакетами. +Это бывает очень полезно, когда нужно найти полный путь к файлу или определить, +присутствует ли файл в системе. Пример:

+ +
+$ tazpkg search-file libnss
+
+ + +

install

+ +

Эта команда позволяет устанавливать ранее загруженный пакет с расширением +.tazpkg. См. get-install, если вы +хотите установить пакет из интернета. Обратите внимание, что вы можете выполнить +принудительную установку с параметром --forced, удалить и +переустановить пакет с параметрами uninstall и reinstall +соответственно. Также вы можете указать путь к корню файловой системы, в которую +вы хотите установить пакет, с помощью параметра --root=…:

+ +
+# tazpkg install пакет-1.0.tazpkg
+# tazpkg install путь/к/пакету-1.0.tazpkg --forced
+# tazpkg install путь/к/пакету-1.0.tazpkg --root=/mnt/rootfs
+
+ + +

install-list
+get-install-list

+ +

Установить набор пакетов, перечисленных в файле. Команда +install-list позволяет вам установить за один раз несколько ранее +загруженных пакетов, а команда get-install-list перед установкой списка +пакетов предварительно загружает их из интернета. Эти команды также понимают +параметр форсированной установки:

+ +
+# tazpkg install-list мои-пакеты.list
+# tazpkg get-install-list мои-пакеты.list --forced
+
+ + + + +

Эта команда позволяет установить пакет, уже установленный на другом носителе. +Установка заключается в создании символьных ссылок и требует очень мало памяти. +Обычно это применяется, когда система работает в оперативной памяти и нужно +установить дополнения с USB-флэш:

+ +
+# tazpkg link openoffice /media/usbdisk
+
+ + +

remove

+ +

Удалить пакет. Вас спросят о подтверждении (y/N). Эта команда удаляет все +файлы, которые устанавливались в составе пакета. Для просмотра списка файлов, +используйте команду list-files с названием +пакета. Пример удаления пакета bc:

+ +
+# tazpkg remove bc
+
+ + +

extract

+ +

Распаковать пакет в папку. Если вы не укажете папку назначения, то пакет +будет распакован в папку с именем пакет-версия, которая будет +создана в текущей папке:

+ +
+# tazpkg extract пакет.tazpkg
+# tazpkg extract пакет.tazpkg папка/назначения
+
+ + +

pack

+ +

Эта команда создаст пакет из заранее подготовленной папки или из +распакованного пакета. Используя эту команду вы можете создать пакет .tazpkg +вручную (см. документацию Tazwok по вопросу автоматического создания пакетов). +Упаковать пакет:

+ +
+# tazpkg pack пакет-версия
+
+ + +

repack

+ +

Эта команда позволяет восстановить пакет из файлов в системе, где он был +ранее установлен. Переупаковать пакет:

+ +
+# tazpkg repack пакет
+
+ + +

repack-config

+ +

Эта команда воссоздает пакет с конфигурационными системными файлами (см. +list-config). Для того, чтобы восстановить +текущую конфигурацию, потом достаточно будет установить созданный пакет. +Упаковать конфигурационные файлы:

+ +
+# tazpkg repack-config
+
+ + +

recharge

+ +

Обновление списка пакетов, доступных на зеркале. Эта команда загрузит с +зеркала самый последний список устанавливаемых пакетов packages.list и, +прежде чем продолжить, сохранит старый список. После обновления списка, вы +можете использовать команды list и +search. Для просмотра списка различий используйте +команду list-mirror --diff, а для просмотра и обновления пакетов +просто скомандуйте upgrade. Обновить список +пакетов:

+ +
+# tazpkg recharge
+
+ + +

up
+upgrade

+ +

Команда позволяет обновить все установленные пакеты, доступные на текущем +зеркале. Обновление пакетов — важная составляющая безопасности системы, и вы +можете чувствовать себя в безопасности с последними обновлениями и +исправлениями. Хотя проект SliTaz и крохотный, но он обеспечивает регулярные +обновления по безопасности и как правило, предоставляет последние версии ПО. +Обратите внимание, что эта функция предназначена для людей, установивших SliTaz +на жесткий диск. Обновленные пакеты в режиме LiveCD, будут потеряны при +выключении системы. Обновить или показать все параметры команды up:

+ +
+# tazpkg up
+# tazpkg --help-up
+# tazpkg up --recharge --install
+# tazpkg up -r -i
+
+ + +

check

+ +

Эта команда может проверить зависимости установленных пакетов и определить, +все ли файлы, необходимые для переупаковки пакета присутствуют:

+ +
+# tazpkg check пакет
+
+ + +

block
+unblock

+ +

Команды позволяют вам блокировать и разблокировать установленную версию +пакета. Заблокированный пакет не будет обновляться командой +upgrade. Список заблокированных пакетов +находится в файле /var/lib/tazpkg/blocked-packages.list. Этот файл +также можно отредактировать вручную. Для блокирования или разблокирования пакета +Grub:

+ +
+# tazpkg block grub
+# tazpkg unblock grub
+
+ + +

get

+ +

Загрузить пакет с зеркала (если он существует). Загруженный пакет сохраняется +в текущей папке. Чтобы узнать текущий путь, вы можете использовать команду +pwd. Для загрузки пакета Grub:

+ +
+# tazpkg get grub
+
+ + +

get-install

+ +

Загрузить и установить пакет с зеркала в интернете. Эта команда сначала +проверяет, существует ли пакет на зеркале и был ли он уже загружен. Для +получения списка пакетов на зеркале, используйте команду +list-mirror. Для установки пакета Grub:

+ +
+# tazpkg get-install grub
+
+ + +

clean-cache

+ +

Удалить пакеты *.tazpkg, загруженные в кэш. Во время установки TazPKG +сохраняет копии пакетов, загруженных из интернета. Это сделано для того, чтобы +сохранить трафик в случае переустановки, но вы можете захотеть освободить место +на жестком диске или повторно загрузить пакеты:

+ +
+# tazpkg clean-cache
+
+ + +

setup-mirror

+ +

Установка адреса зеркала. Эта команда запросит URL нового зеркала. Можно +указать несколько адресов, разделенных пробелами. Обратите внимание, что вы +также можете изменить основной файл /var/lib/tazpkg/mirror. URL-адрес +должен указывать на папку, содержащую пакеты и файл packages.list:

+ +
+# tazpkg setup-mirror
+
+ + +

reconfigure

+ +

Повторяет пост-установочный скрипт из пакета. Пример использования для +GCC:

+ +
+# tazpkg reconfigure gcc
+
+ + +

depends
+rdepends

+ +

Отображает дерево зависимостей и обратное дерево зависимостей пакета, +соответственно. Пример использования для MPD:

+ +
+# tazpkg depends mpd
+# tazpkg rdepends mpd
+
+ + +

add-undigest
+setup-undigest

+ +

Устанавливает адрес дополнительного неофициального зеркала для тестирования +пакетов, которые еще не присутствуют на официальных зеркалах. Обратите внимание, +вы можете также вручную редактировать файлы в +/var/lib/tazpkg/undigest/имя_репозитория. URL-адрес должен +указывать на папку, содержащую пакеты и файл packages.list:

+ +
+# tazpkg add-undigest public-repository http://my.home.org/slitaz
+# tazpkg setup-undigest local-repository /home/slitaz/packages
+
+ + +

remove-undigest

+ +

Удаляет адрес неофициального зеркала:

+ +
+# tazpkg remove-undigest my-repository
+
+ + +

list-undigest

+ +

Список дополнительных неофициальных зеркал:

+ +
+# tazpkg list-undigest
+
+ + +

convert

+ +

Преобразует пакеты Debian (.deb), Redhat (.rpm), Slackware (.tgz) и Archlinux +(.pkg.tar.gz) в пакеты SliTaz (.tazpkg):

+ +
+# tazpkg convert чужой-пакет
+
+ + +

set-release

+ +

Эта команда меняет текущую версию и обновляет все пакеты до последнего релиза +выбранной версии:

+ +
+# tazpkg set-release cooking
+
+ + +

bugs

+ +

Генерирует список известных ошибок в пакетах:

+ +
+# tazpkg bugs
+
+ + +

МЭЙНТЕЙНЕР

+ +

Christophe Lincoln <pankso at slitaz.org>

+ +
+ + + +