tazpkg rev 811

Update documentation (attempt to describe all the commands both with all options). Strongly need to review and update translations and docs! Add TazPkg help system for commandline (based on the HTML docs). Attempt to drop all package lists but "packages.info". Small improvements and code prettify.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 04 00:15:13 2015 +0300 (2015-06-04)
parents 941baf789cb7
children a41fb2cbc248
files Makefile doc/tazpkg.en.html doc/tazpkg.es.html doc/tazpkg.fr.html doc/tazpkg.pt.html doc/tazpkg.ru.html modules/tazpkg-help po/el.po po/es.po po/fr.po po/pl.po po/pt_BR.po po/ru.po po/sv.po po/tazpkg.pot po/zh_CN.po po/zh_TW.po tazpanel/pkgs.cgi tazpkg
line diff
     1.1 --- a/Makefile	Sun May 31 12:40:55 2015 -0400
     1.2 +++ b/Makefile	Thu Jun 04 00:15:13 2015 +0300
     1.3 @@ -22,7 +22,7 @@
     1.4  		--package-name=TazPkg \
     1.5  		--package-version="$(VERSION)" -kaction -ktitle -k_ -k_n -k_p:1,2 \
     1.6  		./tazpkg ./modules/tazpkg-convert ./modules/tazpkg-find-depends ./tazpkg-box \
     1.7 -		./tazpanel/pkgs.cgi ./tazpkg-notify
     1.8 +		./tazpanel/pkgs.cgi ./tazpkg-notify ./modules/tazpkg-help
     1.9  
    1.10  msgmerge:
    1.11  	@for l in $(LINGUAS); do \
    1.12 @@ -50,8 +50,9 @@
    1.13  	# TazPkg command line interface
    1.14  	install -m 0755 -d                  $(DESTDIR)$(PREFIX)/bin
    1.15  	install -m 0777 tazpkg              $(DESTDIR)$(PREFIX)/bin
    1.16 -	-[ "$(VERSION)" ] && sed -i 's/^VERSION=[0-9].*/VERSION=$(VERSION)/' $(DESTDIR)$(PREFIX)/bin/tazpkg
    1.17 +	#-[ "$(VERSION)" ] && sed -i 's/^VERSION=[0-9].*/VERSION=$(VERSION)/' $(DESTDIR)$(PREFIX)/bin/tazpkg
    1.18  	install -m 0777 modules/tazpkg-convert      $(DESTDIR)$(PREFIX)/bin
    1.19 +	install -m 0777 modules/tazpkg-help         $(DESTDIR)$(PREFIX)/bin
    1.20  	install -m 0755 -d                          $(DESTDIR)$(PREFIX)/lib/tazpkg
    1.21  	install -m 0777 modules/tazpkg-find-depends $(DESTDIR)$(PREFIX)/lib/tazpkg
    1.22  
     2.1 --- a/doc/tazpkg.en.html	Sun May 31 12:40:55 2015 -0400
     2.2 +++ b/doc/tazpkg.en.html	Thu Jun 04 00:15:13 2015 +0300
     2.3 @@ -1,17 +1,17 @@
     2.4  <!DOCTYPE html>
     2.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
     2.6 +<html lang="en">
     2.7  <head>
     2.8  	<meta charset="utf-8" />
     2.9  	<title>TazPkg Manual (en)</title>
    2.10 +	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    2.11  	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    2.12  	<script type="text/javascript" src="../slitaz-doc.js"></script>
    2.13  </head>
    2.14  <body>
    2.15  
    2.16 -<!-- Header -->
    2.17 -<div id="header">
    2.18 +<header>
    2.19  	<h1>TazPkg Manual</h1>
    2.20 -</div>
    2.21 +</header>
    2.22  
    2.23  <!-- Start content -->
    2.24  <div id="content">
    2.25 @@ -19,499 +19,742 @@
    2.26  
    2.27  <h2>NAME</h2>
    2.28  
    2.29 -<p>
    2.30 -	TazPkg - Tiny autonomous zone package manager
    2.31 -</p>
    2.32 +<p>TazPkg — Tiny autonomous zone package manager</p>
    2.33  
    2.34  
    2.35  <h2>SYNTAX</h2>
    2.36  
    2.37  <pre>
    2.38 -tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]
    2.39 +tazpkg [command] [options...]
    2.40  </pre>
    2.41  
    2.42  
    2.43  <h2>DESCRIPTION</h2>
    2.44  
    2.45 -<p>
    2.46 -TazPkg is an ultralightweight (~ 80KB) package manager to
    2.47 -install, list, download, update or remove precompiled packages
    2.48 -on a GNU/Linux system. TazPkg offers commands for searching
    2.49 -and creating packages and was created independently for the project.
    2.50 -The format of the packages using the *.tazpkg extension is a
    2.51 -cpio archive containing a filesystem compressed with gzip,
    2.52 -a receipt and an optional description. TazPkg also manages
    2.53 -dependencies based on package receipts. Each receipt contains
    2.54 -all the information about a package and can also include
    2.55 -pre and post installation functions. The same receipt is
    2.56 -used by Cookutils to compile sources and generate a .tazpkg
    2.57 -package.
    2.58 -</p>
    2.59 -<p>
    2.60 -TazPkg is entirely built from scratch using SHell script,
    2.61 -compatible with Bash; it runs under Ash - part of the Busybox
    2.62 -project. TazPkg is distributed under the free GNU license GPL V3.
    2.63 -</p>
    2.64 +<p>TazPkg is a lightweight package manager to install, list, download, update or
    2.65 +remove precompiled packages on a GNU/Linux system. TazPkg offers commands for
    2.66 +searching and creating packages and was created independently for the project.
    2.67 +The format of the packages using the *.tazpkg extension is a cpio archive
    2.68 +containing a filesystem compressed with gzip, a receipt and an optional
    2.69 +description. TazPkg also manages dependencies based on package receipts. Each
    2.70 +receipt contains all the information about a package and can also include pre-
    2.71 +and post-installation functions. The same receipt is used by Cookutils to
    2.72 +compile sources and generate a .tazpkg package.</p>
    2.73 +
    2.74 +<p>TazPkg is entirely built from scratch using Shell script, compatible with
    2.75 +Bash; it runs under Ash — part of the Busybox project. TazPkg is distributed
    2.76 +under the free GNU license GPL V3.</p>
    2.77  
    2.78  
    2.79  <h2>COMMANDS</h2>
    2.80  
    2.81  
    2.82 +<h3>Service commands</h3>
    2.83 +
    2.84 +<ul>
    2.85 +	<li><a href="#usage">usage</a>: print short usage</li>
    2.86 +	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
    2.87 +	<li><a href="#activity">activity</a>: show TazPkg activity log</li>
    2.88 +	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in
    2.89 +		cache directory</li>
    2.90 +	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
    2.91 +</ul>
    2.92 +
    2.93 +
    2.94 +<h3>Working with lists</h3>
    2.95 +
    2.96 +<ul>
    2.97 +	<li><a href="#list">list</a>: list installed packages on the system</li>
    2.98 +	<li><a href="#list-mirror">list-mirror</a>: list all available packages on
    2.99 +		the mirror</li>
   2.100 +	<li><a href="#list-config">list-config</a>: list the configuration
   2.101 +		files</li>
   2.102 +</ul>
   2.103 +
   2.104 +
   2.105 +<h3>Search</h3>
   2.106 +
   2.107 +<ul>
   2.108 +	<li><a href="#search">search</a>: search for a package by pattern or
   2.109 +		name</li>
   2.110 +	<li><a href="#search-pkgname">search-pkgname</a>: search on mirror for
   2.111 +		package having a particular file</li>
   2.112 +	<li><a href="#search-file">search-file</a>: search for file in all installed
   2.113 +		packages files</li>
   2.114 +</ul>
   2.115 +
   2.116 +
   2.117 +<h3>Installing and removing packages</h3>
   2.118 +
   2.119 +<ul>
   2.120 +	<li><a href="#get">get</a>: download a package into the current
   2.121 +		directory</li>
   2.122 +	<li><a href="#install">install</a>: install a local package</li>
   2.123 +	<li><a href="#get-install">get-install</a>: download and install a package
   2.124 +		from the mirror</li>
   2.125 +	<li><a href="#install-list">install-list</a>: install all packages from a
   2.126 +		list of packages</li>
   2.127 +	<li><a href="#install-list">get-install-list</a>: download and install a
   2.128 +		list of packages from the mirror</li>
   2.129 +	<li><a href="#remove">remove</a>: remove the specified package and all
   2.130 +		installed files</li>
   2.131 +	<li><a href="#reconfigure">reconfigure</a>: replay post install script from
   2.132 +		package</li>
   2.133 +	<li><a href="#link">link</a>: link a package from another SliTaz
   2.134 +		installation</li>
   2.135 +	<li><a href="#set-release">set-release</a>: change release and update
   2.136 +		packages</li>
   2.137 +	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of
   2.138 +		packages</li>
   2.139 +	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of
   2.140 +		packages and remove other ones</li>
   2.141 +</ul>
   2.142 +
   2.143 +
   2.144 +<h3>Working with packages</h3>
   2.145 +
   2.146 +<ul>
   2.147 +	<li><a href="#info">info</a>: print information about a package</li>
   2.148 +	<li><a href="#desc">desc</a>: print description of a package</li>
   2.149 +	<li><a href="#list-files">list-files</a>: list the files installed with a
   2.150 +		package</li>
   2.151 +	<li><a href="#block">block, unblock</a>: block an installed package version
   2.152 +		or unblock it for upgrade</li>
   2.153 +	<li><a href="#check">check</a>: verify consistency of installed
   2.154 +		packages</li>
   2.155 +	<li><a href="#bugs">bugs</a>: show known bugs in packages</li>
   2.156 +	<li><a href="#depends">depends</a>: display dependencies tree</li>
   2.157 +	<li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
   2.158 +	<li><a href="#extract">extract</a>: extract a (*.tazpkg) package into a
   2.159 +		directory</li>
   2.160 +	<li><a href="#pack">pack</a>: pack an unpacked or prepared package tree</li>
   2.161 +	<li><a href="#repack">repack</a>: create a package archive from an installed
   2.162 +		package</li>
   2.163 +	<li><a href="#repack-config">repack-config</a>: create a package archive
   2.164 +		with configuration files</li>
   2.165 +	<li><a href="#recompress">recompress</a>: rebuild a package with a better
   2.166 +		compression ratio</li>
   2.167 +	<li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
   2.168 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   2.169 +		packages</li>
   2.170 +</ul>
   2.171 +
   2.172 +
   2.173 +<h3>Working with repositories</h3>
   2.174 +
   2.175 +<ul>
   2.176 +	<li><a href="#recharge">recharge</a>: recharge your packages database from
   2.177 +		the mirror</li>
   2.178 +	<li><a href="#upgrade">upgrade</a>: check packages, list and install latest
   2.179 +		upgrades</li>
   2.180 +	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL
   2.181 +		configuration</li>
   2.182 +	<li><a href="#add-undigest">setup-undigest</a>: update an undigest
   2.183 +		mirror</li>
   2.184 +	<li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
   2.185 +	<li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
   2.186 +	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest
   2.187 +		mirror</li>
   2.188 +</ul>
   2.189 +
   2.190 +
   2.191 +
   2.192 +
   2.193 +<h2>Service commands</h2>
   2.194 +
   2.195 +
   2.196 +<h3 id="usage">usage</h3>
   2.197 +
   2.198 +<p>Show the full list of the TazPkg commands with a brief description.</p>
   2.199 +
   2.200 +<pre>
   2.201 +$ tazpkg usage
   2.202 +$ tazpkg
   2.203 +</pre>
   2.204 +
   2.205 +
   2.206 +<h3 id="help">help</h3>
   2.207 +
   2.208 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   2.209 +enter a short name of the command, the full name or a part of the full name. You
   2.210 +can ignore hyphens at the beginning of the short name. If the requested part of
   2.211 +the full name match the several commands, you will be asked to clarify the
   2.212 +request.</p>
   2.213 +
   2.214 +<pre>
   2.215 +$ tazpkg help <em>-gi</em>
   2.216 +$ tazpkg -h <em>us</em>
   2.217 +</pre>
   2.218 +
   2.219 +
   2.220 +<h3 id="activity">activity</h3>
   2.221 +
   2.222 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   2.223 +<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   2.224 +lines.</p>
   2.225 +
   2.226 +<pre>
   2.227 +$ tazpkg activity
   2.228 +$ tazpkg -a --nb=<em>20</em>
   2.229 +</pre>
   2.230 +
   2.231 +
   2.232 +<h3 id="clean-cache">clean-cache</h3>
   2.233 +
   2.234 +<p>Remove *.tazpkg packages downloaded to the cache (<tt>clean-cache</tt> or
   2.235 +<tt>-cc</tt>). During installation, TazPkg keeps a copy of packages downloaded
   2.236 +from the Web. This is done to save bandwidth in case of reinstallation, but you
   2.237 +may want to free up space on the hard drive or re-download the packages.</p>
   2.238 +
   2.239 +<pre>
   2.240 +# tazpkg clean-cache
   2.241 +# tazpkg -cc
   2.242 +</pre>
   2.243 +
   2.244 +
   2.245 +<h3 id="shell">shell</h3>
   2.246 +
   2.247 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   2.248 +listed above.</p>
   2.249 +
   2.250 +<pre>
   2.251 +$ tazpkg shell
   2.252 +# tazpkg shell
   2.253 +</pre>
   2.254 +
   2.255 +
   2.256 +
   2.257 +
   2.258 +<h2>Working with lists</h2>
   2.259 +
   2.260 +
   2.261  <h3 id="list">list</h3>
   2.262  
   2.263 -<p>
   2.264 -List packages installed on the system. This command displays
   2.265 -a column list of all installed packages, It also allows you to list the
   2.266 -categories, packages based on category and packages placed on hold.
   2.267 -You can also use the <tt><a href="#search">search</a></tt> command
   2.268 -for a list based on a term or package name:
   2.269 -</p>
   2.270 +<p>List packages installed on the system (<tt>list</tt> or <tt>-l</tt>). This
   2.271 +command displays a column list of all installed packages. It also allows you to
   2.272 +list the categories (<tt>c</tt> or <tt>cat</tt> or <tt>categories</tt>),
   2.273 +packages based on category and packages placed on hold (<tt>b</tt> or
   2.274 +<tt>blocked</tt>). You can also use the <tt><a href="#search">search</a></tt>
   2.275 +command for a list based on a term or package name.</p>
   2.276 +
   2.277  <pre>
   2.278 -# tazpkg list
   2.279 -# tazpkg list cat|<em>categories</em>
   2.280 -# tazpkg list blocked
   2.281 -</pre>
   2.282 -
   2.283 -
   2.284 -<h3 id="xhtml-list">xhtml-list</h3>
   2.285 -
   2.286 -<p>
   2.287 -The <tt>xhtml-list</tt> command can create a XHTML list
   2.288 -of all the packages installed on the system which can be read
   2.289 -with your preferred Web browser. It can be run as a normal
   2.290 -user and creates a page <tt>installed-packages.html</tt> in
   2.291 -your current directory. Note that you can change the name of the
   2.292 -generated list via the command line:
   2.293 -</p>
   2.294 -<pre>
   2.295 -# tazpkg xhtml-list
   2.296 -# tazpkg xhtml-list <em>list-name.html</em>
   2.297 +$ tazpkg list
   2.298 +$ tazpkg list cat
   2.299 +$ tazpkg list <em>games</em>
   2.300 +$ tazpkg list blocked
   2.301  </pre>
   2.302  
   2.303  
   2.304  <h3 id="list-mirror">list-mirror</h3>
   2.305  
   2.306 -<p>
   2.307 -List packages available on the mirror. This command will
   2.308 -display the <tt>packages.list</tt> file recharged from the mirror.
   2.309 -If this doesn't exist, you will be asked to launch
   2.310 -<code>tazpkg <a href="#recharge">recharge</a></code> as administrator (root)
   2.311 -for a list of available packages . The <tt>--diff</tt> option is used to display
   2.312 -the differences between the last and current list of packages:
   2.313 -</p>
   2.314 +<p>List packages available on the mirror (<tt>list-mirror</tt> or <tt>-lm</tt>).
   2.315 +This command will display the packages list recharged from the mirror. If it
   2.316 +doesn't exist, you will be asked to launch <code>tazpkg
   2.317 +<a href="#recharge">recharge</a></code> as administrator (root) for a list of
   2.318 +available packages. The <tt>--diff</tt> option is used to display the
   2.319 +differences between the last and current list of packages.</p>
   2.320 +
   2.321  <pre>
   2.322 -# tazpkg list-mirror
   2.323 -# tazpkg list-mirror --diff
   2.324 -</pre>
   2.325 -
   2.326 -
   2.327 -<h3 id="info">info</h3>
   2.328 -
   2.329 -<p>
   2.330 -Display any information available in the receipt for the
   2.331 -package in question—its version, category, maintainer,
   2.332 -Web site and any dependencies (see also Cookutils for more
   2.333 -information on receipts):
   2.334 -</p>
   2.335 -<pre>
   2.336 -# tazpkg info <em>busybox</em>
   2.337 -</pre>
   2.338 -
   2.339 -
   2.340 -<h3 id="desc">desc</h3>
   2.341 -
   2.342 -<p>
   2.343 -Description of the package (if it exists). This command
   2.344 -displays the <tt>description.txt</tt> file of each package (a simple
   2.345 -text file, justified to 80 characters to fit in a standard terminal):
   2.346 -</p>
   2.347 -<pre>
   2.348 -# tazpkg desc <em>busybox</em>
   2.349 +$ tazpkg list-mirror
   2.350 +$ tazpkg -lm --diff
   2.351  </pre>
   2.352  
   2.353  
   2.354  <h3 id="list-config">list-config</h3>
   2.355  
   2.356 -<p>
   2.357 -Lists the system configuration files. The <tt>--box</tt> option displays
   2.358 -in table format:
   2.359 -</p>
   2.360 +<p>Lists the system configuration files. The <tt>--box</tt> option displays in
   2.361 +table form. You can specify package name to display configuration files only for
   2.362 +this package.</p>
   2.363 +
   2.364  <pre>
   2.365 -# tazpkg list-config
   2.366 -# tazpkg list-config --box
   2.367 +$ tazpkg list-config
   2.368 +$ tazpkg list-config --box
   2.369 +$ tazpkg list-config <em>slim</em>
   2.370 +$ tazpkg list-config --box <em>slim</em>
   2.371  </pre>
   2.372  
   2.373  
   2.374 -<h3 id="list-files">list-files</h3>
   2.375  
   2.376 -<p>
   2.377 -List all files installed with a package. This command will
   2.378 -simply read and display the <tt>files.list</tt> of each package which is
   2.379 -automatically generated when the package is created and is
   2.380 -also used to remove files when uninstalling a package.
   2.381 -To list the files installed with the package bc:
   2.382 -</p>
   2.383 -<pre>
   2.384 -# tazpkg list-files <em>bc</em>
   2.385 -</pre>
   2.386 +
   2.387 +<h2>Search</h2>
   2.388  
   2.389  
   2.390  <h3 id="search">search</h3>
   2.391  
   2.392 -<p>
   2.393 -Search for packages by owner or package name. This command
   2.394 -will search for the term wanted in the installed packages and the
   2.395 -list of available packages on the mirror. To obtain the
   2.396 -latest list of installable packages on the mirror, just
   2.397 -run <code>tazpkg recharge</code> before conducting a search:
   2.398 -</p>
   2.399 +<p>Search for packages by owner or package name (<tt>search</tt> or
   2.400 +<tt>-s</tt>). This command will search for the term wanted in the installed
   2.401 +packages (<tt>-i</tt> or <tt>--installed</tt>) and the list of available
   2.402 +packages on the mirror (<tt>-l</tt> or <tt>--list</tt>).</p>
   2.403 +
   2.404 +<p>To obtain the latest list of installable packages on the mirror, just run
   2.405 +<code>tazpkg recharge</code> before conducting a search.</p>
   2.406 +
   2.407  <pre>
   2.408 -# tazpkg search <em>gcc</em>
   2.409 +$ tazpkg search <em>gcc</em>
   2.410 +$ tazpkg search <em>mt</em> -i
   2.411 +$ tazpkg search <em>bit</em> -l
   2.412 +</pre>
   2.413 +
   2.414 +
   2.415 +<h3 id="search-pkgname">search-pkgname</h3>
   2.416 +
   2.417 +<p>Search for a file on mirror and output only the packages names
   2.418 +(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   2.419 +
   2.420 +<pre>
   2.421 +$ tazpkg search-pkgname <em>libnss</em>
   2.422 +$ tazpkg -sp <em>/usr/share/fonts</em>
   2.423  </pre>
   2.424  
   2.425  
   2.426  <h3 id="search-file">search-file</h3>
   2.427  
   2.428 -<p>
   2.429 -The <tt>search-file</tt> command allows you to search for a file
   2.430 -among the files installed by the packages. This command is very
   2.431 -useful to find the full path to a file and determine if
   2.432 -a file is present on the system. Example:
   2.433 -</p>
   2.434 +<p>Search for a file among the files installed by the packages
   2.435 +(<tt>search-file</tt> or <tt>-sf</tt>). This command is very useful to find the
   2.436 +full path to a file and determine if a file is present on the system. Option
   2.437 +<tt>--mirror</tt> allows to search for a file among all the files available on
   2.438 +the mirror.</p>
   2.439 +
   2.440  <pre>
   2.441  $ tazpkg search-file <em>libnss</em>
   2.442 +$ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   2.443 +</pre>
   2.444 +
   2.445 +
   2.446 +
   2.447 +
   2.448 +<h2>Installing and removing packages</h2>
   2.449 +
   2.450 +
   2.451 +<h3 id="get">get</h3>
   2.452 +
   2.453 +<p>Get a package from the mirror (<tt>get</tt> or <tt>-g</tt>). The downloaded
   2.454 +package is stored in the current directory. To find the path you can use
   2.455 +<code>pwd</code>.</p>
   2.456 +
   2.457 +<pre>
   2.458 +# tazpkg get <em>grub</em>
   2.459 +# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   2.460  </pre>
   2.461  
   2.462  
   2.463  <h3 id="install">install</h3>
   2.464  
   2.465 -<p>
   2.466 -This command allows the installation of a local package with
   2.467 -the <tt>.tazpkg</tt> extension. See
   2.468 -<tt><a href="#get-install">get-install</a></tt> to install a
   2.469 -package from the internet. Note that you can force the
   2.470 -installation via the <tt>--forced</tt>, <tt>uninstall</tt> and
   2.471 -<tt>reinstall</tt> options
   2.472 -or specify the root system where you want to install the
   2.473 -packages via the <tt>--root=</tt> option:
   2.474 -</p>
   2.475 +<p>This command allows the installation of a local package with the
   2.476 +<tt>.tazpkg</tt> extension (<tt>install</tt> or <tt>-i</tt>). See
   2.477 +<tt><a href="#get-install">get-install</a></tt> to install a package from the
   2.478 +internet. Note that you can force the installation via the <tt>--forced</tt>
   2.479 +option, specify the root system where you want to install the packages via the
   2.480 +<tt>--root=</tt> option.</p>
   2.481 +
   2.482  <pre>
   2.483  # tazpkg install <em>package-1.0.tazpkg</em>
   2.484 -# tazpkg install <em>path/to/package-1.0.tazpkg</em> --forced
   2.485 -# tazpkg install <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   2.486 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   2.487 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   2.488  </pre>
   2.489  
   2.490  
   2.491 -<h3 id="install-list">install-list or get-install-list</h3>
   2.492 -<p>
   2.493 -Install a set of packages listed in a file. This command
   2.494 -allows you to (download and) install several packages with a single command
   2.495 -and can also be forced:
   2.496 -</p>
   2.497 +<h3 id="get-install">get-install</h3>
   2.498 +
   2.499 +<p>Get and install a package from a mirror on the internet (<tt>get-install</tt>
   2.500 +or <tt>-gi</tt>). Command begins by checking whether the package exists on the
   2.501 +mirror and if it has been already downloaded. For a list of packages on the
   2.502 +mirror, we must use the <tt><a href="#list-mirror">list-mirror</a></tt>
   2.503 +command.</p>
   2.504 +
   2.505 +<p>Following options are recognized by command:</p>
   2.506 +
   2.507 +<p><tt>--forced</tt> allow update already installed package.</p>
   2.508 +
   2.509 +<p><tt>--root=</tt> allow specify root of filesystem where package will be
   2.510 +installed.</p>
   2.511 +
   2.512 +<pre>
   2.513 +# tazpkg get-install <em>grub</em>
   2.514 +# tazpkg -gi <em>grub</em> --forced
   2.515 +# tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   2.516 +</pre>
   2.517 +
   2.518 +
   2.519 +<h3 id="install-list">install-list, get-install-list</h3>
   2.520 +
   2.521 +<p>Install a set of packages listed in a file. This command allows you to
   2.522 +(download and) install several packages with a single command and can also be
   2.523 +forced.</p>
   2.524 +
   2.525  <pre>
   2.526  # tazpkg install-list <em>my-packages.list</em>
   2.527  # tazpkg get-install-list <em>my-packages.list</em> --forced
   2.528  </pre>
   2.529  
   2.530  
   2.531 +<h3 id="remove">remove</h3>
   2.532 +
   2.533 +<p>Remove a package (<tt>remove</tt> or <tt>-r</tt>). You will be asked for
   2.534 +confirmation (y/N) of removing the package, as well as for removing packages
   2.535 +depending on this package, and for reinstalling packages modified by this
   2.536 +package. This command will delete all files installed with the package.</p>
   2.537 +
   2.538 +<p>Option <tt>--root=</tt> allows to specify root of the FS where package will
   2.539 +be removed. Option <tt>--auto</tt> removes and reinstall packages without your
   2.540 +confirmation.</p>
   2.541 +
   2.542 +<pre>
   2.543 +# tazpkg remove <em>bc</em>
   2.544 +# tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   2.545 +# tazpkg -r <em>nano</em> --auto
   2.546 +</pre>
   2.547 +
   2.548 +
   2.549 +<h3 id="reconfigure">reconfigure</h3>
   2.550 +
   2.551 +<p>Replays the post-install script from the package.</p>
   2.552 +
   2.553 +<pre>
   2.554 +# tazpkg reconfigure <em>gcc</em>
   2.555 +# tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   2.556 +</pre>
   2.557 +
   2.558 +
   2.559  <h3 id="link">link</h3>
   2.560  
   2.561 -<p>
   2.562 -This command allows the installation of a package from another media
   2.563 -device. The set up is done through symbolic links and consumes very little
   2.564 -memory. It is generally used within the system RAM to install add-ons
   2.565 -from an USB key:
   2.566 -</p>
   2.567 +<p>This command allows the installation of a package from another media device.
   2.568 +The set up is done through symbolic links and consumes very little memory. It is
   2.569 +generally used within the system RAM to install add-ons from an USB key.</p>
   2.570 +
   2.571  <pre>
   2.572  # tazpkg link <em>openoffice /media/usbdisk</em>
   2.573  </pre>
   2.574  
   2.575  
   2.576 -<h3 id="remove">remove</h3>
   2.577 +<h3 id="set-release">set-release</h3>
   2.578  
   2.579 -<p>
   2.580 -Remove a package. You will be asked for confirmation (y/N).
   2.581 -This command will delete all files installed with the package.
   2.582 -To view the list of files, use the <tt><a href="#list-files">list-files</a></tt>
   2.583 -command followed by the name of the package. Example
   2.584 -with the package bc:
   2.585 -</p>
   2.586 +<p>The <tt>set-release</tt> command changes the current version and upgrades all
   2.587 +of the packages to the latest release.</p>
   2.588 +
   2.589  <pre>
   2.590 -# tazpkg remove <em>bc</em>
   2.591 +# tazpkg set-release <em>cooking</em>
   2.592  </pre>
   2.593  
   2.594  
   2.595 -<h3 id="extract">extract</h3>
   2.596 +<h3 id="add-flavor">add-flavor, install-flavor</h3>
   2.597  
   2.598 -<p>
   2.599 -Extract a package into a directory. If you do not specify
   2.600 -the destination directory, the package will be extracted
   2.601 -in the current directory using the name <tt><em>package-version</em></tt>:
   2.602 -</p>
   2.603 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   2.604 +purges other installed packages.</p>
   2.605 +
   2.606  <pre>
   2.607 -# tazpkg extract <em>package.tazpkg</em>
   2.608 -# tazpkg extract <em>package.tazpkg target/dir</em>
   2.609 +# tazpkg add-flavor <em>gtkonly</em>
   2.610 +# tazpkg install-flavor <em>justx</em>
   2.611  </pre>
   2.612  
   2.613  
   2.614 -<h3 id="pack">pack</h3>
   2.615  
   2.616 -<p>
   2.617 -The <tt>pack</tt> command will create a package from a directory
   2.618 -prepared in advance or from an unpacked package. It can
   2.619 -also manually create a .tazpkg package (see the Cookutils documentation
   2.620 -for the automatic creation of packages). To pack a package:
   2.621 -</p>
   2.622 +
   2.623 +<h2>Working with packages</h2>
   2.624 +
   2.625 +
   2.626 +<h3 id="info">info</h3>
   2.627 +
   2.628 +<p>Display any information available in the receipt for the package in
   2.629 +question — its version, category, maintainer, Web site and any dependencies (see
   2.630 +also Cookutils for more information on receipts).</p>
   2.631 +
   2.632  <pre>
   2.633 -# tazpkg pack <em>package-version</em>
   2.634 +$ tazpkg info <em>busybox</em>
   2.635  </pre>
   2.636  
   2.637  
   2.638 -<h3 id="repack">repack</h3>
   2.639 +<h3 id="desc">desc</h3>
   2.640  
   2.641 -<p>
   2.642 -The <tt>repack</tt> command allows you to recreate a package from
   2.643 -the files on a system where it was previously installed.
   2.644 -To repack a package:
   2.645 -</p>
   2.646 +<p>Description of the package (if it exists) (<tt>desc</tt> or <tt>-d</tt>).
   2.647 +This command displays the <tt>description.txt</tt> file of each package (a
   2.648 +simple text file, justified to 80 characters to fit in a standard terminal).</p>
   2.649 +
   2.650  <pre>
   2.651 -# tazpkg repack <tt>package</tt>
   2.652 +$ tazpkg desc <em>busybox</em>
   2.653  </pre>
   2.654  
   2.655  
   2.656 -<h3 id="repack-config">repack-config</h3>
   2.657 +<h3 id="list-files">list-files</h3>
   2.658  
   2.659 -<p>
   2.660 -The <tt>repack-config</tt> command recreates a package
   2.661 -of the system configuration files (see
   2.662 -<tt><a href="#list-config">list-config</a></tt>). It is enough
   2.663 -to install the package to find the current configuration. To repack
   2.664 -the configuration files:
   2.665 -</p>
   2.666 +<p>List all files installed with a package (<tt>list-files</tt> or
   2.667 +<tt>-lf</tt>). This command will simply read and display the <tt>files.list</tt>
   2.668 +of each package which is automatically generated when the package is created and
   2.669 +is also used to remove files when uninstalling a package.</p>
   2.670 +
   2.671  <pre>
   2.672 -# tazpkg repack-config
   2.673 +$ tazpkg list-files <em>bc</em>
   2.674  </pre>
   2.675  
   2.676  
   2.677 -<h3 id="recharge">recharge</h3>
   2.678 +<h3 id="block">block, unblock, chblock</h3>
   2.679  
   2.680 -<p>
   2.681 -Recharge the list of available packages on the mirror.
   2.682 -This command will download the most recent <tt>packages.list</tt>
   2.683 -of installable packages on the mirror and before starting
   2.684 -will save the old list. Once the list is updated,
   2.685 -you can then use the <tt><a href="#list">list</a></tt> and
   2.686 -<tt><a href="#search">search</a></tt> commands. To view
   2.687 -and list the differences, you can use <code>list-mirror --diff</code>;
   2.688 -and to view and update packages, you can simply
   2.689 -<tt><a href="#upgrade">upgrade</a></tt>. To recharge the
   2.690 -latest list of packages:
   2.691 -</p>
   2.692 +<p>The <tt>block</tt> (or <tt>-b</tt>) and <tt>unblock</tt> (or <tt>-u</tt>)
   2.693 +commands permit you to block installed package versions so that they are not
   2.694 +maintained by an <tt><a href="#upgrade">upgrade</a></tt>. Command
   2.695 +<tt>chblock</tt> changes blocking state of the package. The list of packages on
   2.696 +hold are contained in the <tt>/var/lib/tazpkg/blocked-packages.list</tt>. This
   2.697 +file can also be edited by hand.</p>
   2.698 +
   2.699  <pre>
   2.700 -# tazpkg recharge
   2.701 -</pre>
   2.702 -
   2.703 -
   2.704 -<h3 id="upgrade">up or upgrade</h3>
   2.705 -
   2.706 -<p>
   2.707 -Upgrade allows you to update all installed packages available
   2.708 -on the current mirror. Upgrading packages is an important
   2.709 -part of system security, it helps to keep you secure with
   2.710 -the latest updates and fixes. The SliTaz project,
   2.711 -although tiny, provides regular updates on security and generally
   2.712 -offers the latest versions of software. Note that this
   2.713 -function is aimed at people with SliTaz installed on a
   2.714 -hard drive. Updated packages in LiveCD mode will be lost on
   2.715 -system shutdown. To upgrade or display the full <tt>up</tt> options:
   2.716 -</p>
   2.717 -<pre>
   2.718 -# tazpkg up
   2.719 -# tazpkg --help-up
   2.720 -# tazpkg up --recharge --install
   2.721 -# tazpkg up -r -i
   2.722 +# tazpkg block <em>grub</em>
   2.723 +# tazpkg unblock <em>grub</em>
   2.724 +# tazpkg chblock <em>grub</em>
   2.725  </pre>
   2.726  
   2.727  
   2.728  <h3 id="check">check</h3>
   2.729  
   2.730 -<p>
   2.731 -The <tt>check</tt> command can check dependencies on installed
   2.732 -packages and determine whether all the files needed for the
   2.733 -repacking of packages are present:
   2.734 -</p>
   2.735 +<p>The <tt>check</tt> command can check dependencies on installed packages and
   2.736 +determine whether all the files needed for the repacking of packages are
   2.737 +present.</p>
   2.738 +
   2.739  <pre>
   2.740 -# tazpkg check <em>package</em>
   2.741 +$ tazpkg check
   2.742 +$ tazpkg check --full
   2.743 +$ tazpkg check <em>nano</em>
   2.744 +$ tazpkg check <em>sakura</em> --full
   2.745  </pre>
   2.746  
   2.747  
   2.748 -<h3 id="block">block or unblock</h3>
   2.749 +<h3 id="bugs">bugs</h3>
   2.750  
   2.751 -<p>
   2.752 -The <tt>block</tt> and <tt>unblock</tt> commands permit you to block
   2.753 -installed package versions so that they are not maintained
   2.754 -by an <tt><a href="#upgrade">upgrade</a></tt>. The list of packages
   2.755 -on hold are contained
   2.756 -in the <tt>/var/lib/tazpkg/blocked-packages.list</tt>. This file can also
   2.757 -be edited by hand. To block or unblock a package such as
   2.758 -Grub:
   2.759 -</p>
   2.760 +<p>Generates a list of known bugs in the packages. You can specify a single
   2.761 +package to show bugs.</p>
   2.762 +
   2.763  <pre>
   2.764 -# tazpkg block <em>grub</em>
   2.765 -# tazpkg unblock <em>grub</em>
   2.766 +$ tazpkg bugs
   2.767 +$ tazpkg bugs <em>my_package</em>
   2.768  </pre>
   2.769  
   2.770  
   2.771 -<h3 id="get">get</h3>
   2.772 +<h3 id="depends">depends, rdepends</h3>
   2.773  
   2.774 -<p>
   2.775 -Get a package from the mirror (if it exists). The downloaded
   2.776 -package is stored in the current directory. To find the path
   2.777 -you can use <code>pwd</code>. To get the Grub package:
   2.778 -</p>
   2.779 -<pre>
   2.780 -# tazpkg get <em>grub</em>
   2.781 -</pre>
   2.782 +<p>Displays a dependency tree or reverse dependency tree for a package.</p>
   2.783  
   2.784 -
   2.785 -<h3 id="get-install">get-install</h3>
   2.786 -
   2.787 -<p>
   2.788 -Get and install a package from a mirror on the internet.
   2.789 -The <tt>get-install</tt> command begins by checking whether the
   2.790 -package exists on the mirror and if it has been already downloaded.
   2.791 -For a list of packages on the mirror, we must
   2.792 -use the <tt><a href="#list-mirror">list-mirror</a></tt> command.
   2.793 -To install the package Grub:
   2.794 -</p>
   2.795 -<pre>
   2.796 -# tazpkg get-install <tt>grub</tt>
   2.797 -</pre>
   2.798 -
   2.799 -
   2.800 -<h3 id="clean-cache">clean-cache</h3>
   2.801 -
   2.802 -<p>
   2.803 -Remove *.tazpkg packages downloaded to the cache. During
   2.804 -installation, TazPkg keeps a copy of packages downloaded
   2.805 -from the web. This is done to save bandwidth in case of
   2.806 -reinstallation, but you may want to free up space on the hard
   2.807 -drive or re-download the packages:
   2.808 -</p>
   2.809 -<pre>
   2.810 -# tazpkg clean-cache
   2.811 -</pre>
   2.812 -
   2.813 -
   2.814 -<h3 id="setup-mirror">setup-mirror</h3>
   2.815 -
   2.816 -<p>
   2.817 -Setup the URL for the mirror. The <tt>setup-mirror</tt> command
   2.818 -will ask for the URL of the new mirror. You can specify
   2.819 -multiple URLs separated by spaces. Note that you can also
   2.820 -modify the main <tt>/var/lib/tazpkg/mirror</tt> file. The URL must
   2.821 -point to the directory containing the <tt>packages.list</tt> and
   2.822 -packages:
   2.823 -</p>
   2.824 -<pre>
   2.825 -# tazpkg setup-mirror
   2.826 -</pre>
   2.827 -
   2.828 -
   2.829 -<h3 id="reconfigure">reconfigure</h3>
   2.830 -
   2.831 -<p>
   2.832 -Replays the post-install script from the package.
   2.833 -Example using gcc:
   2.834 -</p>
   2.835 -<pre>
   2.836 -# tazpkg reconfigure <em>gcc</em>
   2.837 -</pre>
   2.838 -
   2.839 -
   2.840 -<h3 id="depends">depends or rdepends</h3>
   2.841 -
   2.842 -<p>
   2.843 -Displays a dependency tree or reverse dependency tree for a package.
   2.844 -Examples using mpd:
   2.845 -</p>
   2.846  <pre>
   2.847  # tazpkg depends <em>mpd</em>
   2.848  # tazpkg rdepends <em>mpd</em>
   2.849  </pre>
   2.850  
   2.851  
   2.852 -<h3 id="add-undigest">add-undigest or setup-undigest</h3>
   2.853 +<h3 id="extract">extract</h3>
   2.854  
   2.855 -<p>
   2.856 -Set the URL of an additional unofficial mirror to test packages that
   2.857 -are not yet present on the official mirrors. Note, you can also
   2.858 -manually edit the file in <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>.
   2.859 -The URL must point to the directory containing the packages and
   2.860 -<tt>packages.list</tt>:
   2.861 -</p>
   2.862 +<p>Extract a package into a directory (<tt>extract</tt> or <tt>-e</tt>). If you
   2.863 +do not specify the destination directory, the package will be extracted in the
   2.864 +current directory using the name <tt><em>package-version</em></tt>.</p>
   2.865 +
   2.866 +<pre>
   2.867 +$ tazpkg extract <em>package.tazpkg</em>
   2.868 +$ tazpkg extract <em>package.tazpkg target/dir</em>
   2.869 +</pre>
   2.870 +
   2.871 +
   2.872 +<h3 id="pack">pack</h3>
   2.873 +
   2.874 +<p>The <tt>pack</tt> command will create a package from a directory prepared in
   2.875 +advance or from an unpacked package. It can also manually create a .tazpkg
   2.876 +package (see the Cookutils documentation for the automatic creation of
   2.877 +packages).</p>
   2.878 +
   2.879 +<pre>
   2.880 +# tazpkg pack <em>package-version</em>
   2.881 +</pre>
   2.882 +
   2.883 +
   2.884 +<h3 id="repack">repack</h3>
   2.885 +
   2.886 +<p>The <tt>repack</tt> command allows you to recreate a package from the files
   2.887 +on a system where it was previously installed.</p>
   2.888 +
   2.889 +<pre>
   2.890 +$ tazpkg repack <em>package</em>
   2.891 +</pre>
   2.892 +
   2.893 +
   2.894 +<h3 id="repack-config">repack-config</h3>
   2.895 +
   2.896 +<p>The <tt>repack-config</tt> command recreates a package of the system
   2.897 +configuration files (see <tt><a href="#list-config">list-config</a></tt>). It is
   2.898 +enough to install the package to find the current configuration.</p>
   2.899 +
   2.900 +<pre>
   2.901 +# tazpkg repack-config
   2.902 +</pre>
   2.903 +
   2.904 +
   2.905 +<h3 id="recompress">recompress</h3>
   2.906 +
   2.907 +<p>Recompress .tazpkg cpio archive with lzma.</p>
   2.908 +
   2.909 +<pre>
   2.910 +$ tazpkg recompress <em>package.tazpkg</em>
   2.911 +</pre>
   2.912 +
   2.913 +
   2.914 +<h3 id="convert">convert</h3>
   2.915 +
   2.916 +<p>Converts an "alien" package into a SliTaz package (.tazpkg) (<tt>convert</tt>
   2.917 +or <tt>-c</tt>.</p>
   2.918 +
   2.919 +<p>Supported packages formats:</p>
   2.920 +
   2.921 +<ul>
   2.922 +	<li><a href="https://packages.debian.org/search" target="_blank">Debian
   2.923 +		packages</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   2.924 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
   2.925 +		target="_blank">RPM packages</a> (<tt>*.rpm</tt>)</li>
   2.926 +	<li><a href="http://www.slax.org/" target="_blank">Slax packages</a>
   2.927 +		(<tt>*.sb</tt>)</li>
   2.928 +	<li><a href="http://puppylinux.org/" target="_blank">Puppy packages</a>
   2.929 +		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
   2.930 +	<li><a href="http://www.slackware.com/packages/" target="_blank">Slackware
   2.931 +		packages</a> (<tt>*.tgz</tt>)</li>
   2.932 +	<li><a href="http://www.nutyx.org/" target="_blank">NuTyX packages</a>
   2.933 +		(<tt>*.cards.tar.xz</tt>)</li>
   2.934 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">Arch
   2.935 +		Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
   2.936 +		target="_blank">Alpine Linux packages</a> (<tt>*.apk</tt>,
   2.937 +		<tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
   2.938 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">OpenWrt
   2.939 +		packages</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   2.940 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
   2.941 +		target="_blank">0Linux packages</a> (<tt>*.spack</tt>)</li>
   2.942 +	<li><a href="http://www.paldo.org/index-section-packages.html"
   2.943 +		target="_blank">paldo packages</a> (<tt>*.tar.bz2</tt>)</li>
   2.944 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">Void
   2.945 +		packages</a> (<tt>*.xbps</tt>)</li>
   2.946 +	<li><a href="http://tinycorelinux.net/" target="_blank">Tinycore
   2.947 +		packages</a> (<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>,
   2.948 +		<tt>*.tcz</tt>)</li>
   2.949 +</ul>
   2.950 +
   2.951 +<pre>
   2.952 +# tazpkg convert <em>alien-package-file</em>
   2.953 +</pre>
   2.954 +
   2.955 +
   2.956 +<h3 id="list-suggested">list-suggested</h3>
   2.957 +
   2.958 +<p>List suggested packages for each of your installed packages. With option
   2.959 +<tt>--all</tt> it shows all suggested packages, and without option it shows only
   2.960 +not installed suggested packages.</p>
   2.961 +
   2.962 +<pre>
   2.963 +$ tazpkg list-suggested
   2.964 +$ tazpkg list-suggested --all
   2.965 +</pre>
   2.966 +
   2.967 +
   2.968 +
   2.969 +
   2.970 +<h2>Working with repositories</h2>
   2.971 +
   2.972 +
   2.973 +<h3 id="recharge">recharge</h3>
   2.974 +
   2.975 +<p>Recharge the list of available packages on the mirror. This command will
   2.976 +download the most recent packages database of installable packages on the mirror
   2.977 +and before starting will save the old database. Once the DB is updated, you can
   2.978 +then use the <tt><a href="#list">list</a></tt> and
   2.979 +<tt><a href="#search">search</a></tt> commands. To view and list the
   2.980 +differences, you can use <code>list-mirror --diff</code>; and to view and update
   2.981 +packages, you can simply <tt><a href="#upgrade">upgrade</a></tt>.</p>
   2.982 +
   2.983 +<p>Command without options will recharge databases of all your repositories. You
   2.984 +can specify repository to be recharged: "main" for main repo, or undigest
   2.985 +repository name. Option <tt>--root=</tt> allow you to specify root of filesystem
   2.986 +where you want to recharge DB.</p>
   2.987 +
   2.988 +<pre>
   2.989 +# tazpkg recharge
   2.990 +# tazpkg recharge main
   2.991 +# tazpkg recharge <em>My_Undigest</em>
   2.992 +# tazpkg recharge --root=<em>/mnt/sda6</em>
   2.993 +</pre>
   2.994 +
   2.995 +
   2.996 +<h3 id="upgrade">upgrade</h3>
   2.997 +
   2.998 +<p>Upgrade allows you to update all installed packages available on the current
   2.999 +mirror (<tt>upgrade</tt> or <tt>up</tt>). Upgrading packages is an important
  2.1000 +part of system security, it helps to keep you secure with the latest updates and
  2.1001 +fixes. The SliTaz project, although tiny, provides regular updates on security
  2.1002 +and generally offers the latest versions of software. Note that this function is
  2.1003 +aimed at people with SliTaz installed on a hard drive. Updated packages in
  2.1004 +Live CD mode will be lost on system shutdown.</p>
  2.1005 +
  2.1006 +<p>Without options run in interactive mode and ask before install. You can
  2.1007 +specify one or more of the next options:</p>
  2.1008 +
  2.1009 +<p><tt>-c</tt> or <tt>--check</tt> to check only for available upgrades;</p>
  2.1010 +
  2.1011 +<p><tt>-r</tt> or <tt>--recharge</tt> to force recharge of packages list and
  2.1012 +check;</p>
  2.1013 +
  2.1014 +<p><tt>-i</tt> or <tt>--install</tt> to check for upgrades and install them
  2.1015 +all.</p>
  2.1016 +
  2.1017 +<pre>
  2.1018 +# tazpkg upgrade
  2.1019 +# tazpkg up --recharge --install
  2.1020 +# tazpkg up -r -i
  2.1021 +</pre>
  2.1022 +
  2.1023 +
  2.1024 +<h3 id="setup-mirror">setup-mirror</h3>
  2.1025 +
  2.1026 +<p>Setup the URL for the mirror. The <tt>setup-mirror</tt> (or <tt>-sm</tt>)
  2.1027 +command will ask for the URL of the new mirror. Note that you can also modify
  2.1028 +the main <tt>/var/lib/tazpkg/mirror</tt> file. The URL must point to the
  2.1029 +directory containing the <tt>packages.info</tt> and packages.</p>
  2.1030 +
  2.1031 +<pre>
  2.1032 +# tazpkg setup-mirror
  2.1033 +</pre>
  2.1034 +
  2.1035 +
  2.1036 +<h3 id="add-undigest">add-undigest, setup-undigest</h3>
  2.1037 +
  2.1038 +<p>Set the URL of an additional unofficial mirror to test packages that are not
  2.1039 +yet present on the official mirrors. Note, you can also manually edit the file
  2.1040 +in <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. The URL must point to
  2.1041 +the directory containing the packages and <tt>packages.info</tt>.</p>
  2.1042 +
  2.1043  <pre>
  2.1044  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
  2.1045  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
  2.1046  </pre>
  2.1047  
  2.1048  
  2.1049 +<h3 id="list-undigest">list-undigest</h3>
  2.1050 +
  2.1051 +<p>Lists additional undigest mirrors. Option <tt>--box</tt> will output list in
  2.1052 +the table form.</p>
  2.1053 +
  2.1054 +<pre>
  2.1055 +# tazpkg list-undigest
  2.1056 +# tazpkg list-undigest --box
  2.1057 +</pre>
  2.1058 +
  2.1059 +
  2.1060  <h3 id="remove-undigest">remove-undigest</h3>
  2.1061  
  2.1062 -<p>
  2.1063 -Removes the URL of an undigest mirror:
  2.1064 -</p>
  2.1065 +<p>Removes the URL of an undigest mirror. You will be asked for
  2.1066 +confirmation.</p>
  2.1067 +
  2.1068  <pre>
  2.1069  # tazpkg remove-undigest <em>my-repository</em>
  2.1070  </pre>
  2.1071  
  2.1072  
  2.1073 -<h3 id="list-undigest">list-undigest</h3>
  2.1074  
  2.1075 -<p>
  2.1076 -Lists additional undigest mirrors:
  2.1077 -</p>
  2.1078 -<pre>
  2.1079 -# tazpkg list-undigest
  2.1080 -</pre>
  2.1081 -
  2.1082 -
  2.1083 -<h3 id="convert">convert</h3>
  2.1084 -
  2.1085 -<p>
  2.1086 -Converts a Debian package (.deb), Redhat (.rpm), Slackware (.tgz) or
  2.1087 -Archlinux (.pkg.tar.gz) package into a SliTaz package (.tazpkg):
  2.1088 -</p>
  2.1089 -<pre>
  2.1090 -# tazpkg convert <em>alien-package</em>
  2.1091 -</pre>
  2.1092 -
  2.1093 -
  2.1094 -<h3 id="set-release">set-release</h3>
  2.1095 -<p>
  2.1096 -The <tt>set-release</tt> command changes the current version and
  2.1097 -upgrades all of the packages to the latest release:
  2.1098 -</p>
  2.1099 -<pre>
  2.1100 -# tazpkg set-release <em>cooking</em>
  2.1101 -</pre>
  2.1102 -
  2.1103 -
  2.1104 -<h3 id="bugs">bugs</h3>
  2.1105 -<p>
  2.1106 -Generates a list of known bugs in the packages:
  2.1107 -</p>
  2.1108 -<pre>
  2.1109 -# tazpkg bugs
  2.1110 -</pre>
  2.1111  
  2.1112  <h2>MAINTAINER</h2>
  2.1113 -<p>
  2.1114 -Christophe Lincoln &lt;pankso at slitaz.org&gt;
  2.1115 -</p>
  2.1116 +
  2.1117 +<p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
  2.1118  
  2.1119  </div>
  2.1120  <!-- End content -->
  2.1121  </body>
  2.1122  </html>
  2.1123 -
     3.1 --- a/doc/tazpkg.es.html	Sun May 31 12:40:55 2015 -0400
     3.2 +++ b/doc/tazpkg.es.html	Thu Jun 04 00:15:13 2015 +0300
     3.3 @@ -1,5 +1,5 @@
     3.4  <!DOCTYPE html>
     3.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
     3.6 +<html lang="es">
     3.7  <head>
     3.8  	<meta charset="utf-8" />
     3.9  	<title>Manual TazPkg (es)</title>
    3.10 @@ -8,10 +8,9 @@
    3.11  </head>
    3.12  <body>
    3.13  
    3.14 -<!-- Header -->
    3.15 -<div id="header">
    3.16 +<header>
    3.17  	<h1>Manual TazPkg</h1>
    3.18 -</div>
    3.19 +</header>
    3.20  
    3.21  <!-- Start content -->
    3.22  <div id="content">
    3.23 @@ -19,9 +18,8 @@
    3.24  
    3.25  <h2>NOMBRE</h2>
    3.26  
    3.27 -<p>
    3.28 -	TazPkg - Pequeño administrador autónomo de paquetes y espejos de paquetes.
    3.29 -</p>
    3.30 +<p>	TazPkg — Pequeño administrador autónomo de paquetes y espejos de
    3.31 +paquetes.</p>
    3.32  
    3.33  
    3.34  <h2>SINTAXIS</h2>
    3.35 @@ -33,480 +31,706 @@
    3.36  
    3.37  <h2>DESCRIPCIÓN</h2>
    3.38  
    3.39 -<p>
    3.40 -TazPkg es un administrador de paquetes ultraligero (~ 80KB) para instalar, 
    3.41 -catalogar, descargar, actualizar o desinstalar paquetes precompilados en un 
    3.42 -sistema GNU/Linux. TazPkg ofrece comandos para la búsqueda y creación de 
    3.43 -paquetes y fue creado independientemente para el proyecto. El formato de los 
    3.44 -paquetes usando la extensión *.tazpkg es un fichero cpio que contiene un sistema 
    3.45 -de archivos comprimido con gzip, un fichero de recibo y una descripción opcional. TazPkg 
    3.46 -también administra dependencias basadas en los ficheros de recibo de los paquetes. Cada 
    3.47 -archivo de recibo contiene toda la información sobre un paquete y también puede incluir 
    3.48 -funciones para antes y después de la instalación. El mismo fichero de recibo es
    3.49 -usado por Cookutils para compilar desde el código fuente y generar un paquete
    3.50 -.tazpkg.
    3.51 -</p>
    3.52 -<p>
    3.53 -TazPkg está construido completamente desde cero usando shell script, 
    3.54 -compatible con Bash, se ejecuta bajo Ash (que forma parte de BusyBox). TazPkg es distribuido 
    3.55 -bajo la licencia libre de GNU GPL V3. 
    3.56 -</p>
    3.57 +<p>TazPkg es un administrador de paquetes ligero para instalar, catalogar,
    3.58 +descargar, actualizar o desinstalar paquetes precompilados en un sistema
    3.59 +GNU/Linux. TazPkg ofrece comandos para la búsqueda y creación de paquetes y fue
    3.60 +creado independientemente para el proyecto. El formato de los paquetes usando la
    3.61 +extensión *.tazpkg es un fichero cpio que contiene un sistema de archivos
    3.62 +comprimido con gzip, un fichero de recibo y una descripción opcional. TazPkg 
    3.63 +también administra dependencias basadas en los ficheros de recibo de los
    3.64 +paquetes. Cada archivo de recibo contiene toda la información sobre un paquete y
    3.65 +también puede incluir funciones para antes y después de la instalación. El mismo
    3.66 +fichero de recibo es usado por Cookutils para compilar desde el código fuente y
    3.67 +generar un paquete .tazpkg.</p>
    3.68 +
    3.69 +<p>TazPkg está construido completamente desde cero usando shell script,
    3.70 +compatible con Bash, se ejecuta bajo Ash (que forma parte de BusyBox). TazPkg es
    3.71 +distribuido bajo la licencia libre de GNU GPL V3.</p>
    3.72  
    3.73  
    3.74  <h2>COMANDOS</h2>
    3.75  
    3.76  
    3.77 +<h3>Service commands</h3>
    3.78 +
    3.79 +<ul>
    3.80 +	<li><a href="#usage">usage</a>: imprime este uso corto</li>
    3.81 +	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
    3.82 +	<li><a href="#activity">activity</a>: show TazPkg activity log</li>
    3.83 +	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in
    3.84 +		cache directory</li>
    3.85 +	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
    3.86 +</ul>
    3.87 +
    3.88 +
    3.89 +<h3>Working with lists</h3>
    3.90 +
    3.91 +<ul>
    3.92 +	<li><a href="#list">list</a>: lista de paquetes instalados en el
    3.93 +		sistema</li>
    3.94 +	<li><a href="#list-mirror">list-mirror</a>: Lista de todos los paquetes
    3.95 +		disponibles en el espejo</li>
    3.96 +	<li><a href="#list-config">list-config</a>: lista de archivos de
    3.97 +		configuración</li>
    3.98 +</ul>
    3.99 +
   3.100 +
   3.101 +<h3>Search</h3>
   3.102 +
   3.103 +<ul>
   3.104 +	<li><a href="#search">search</a>: búsqueda de paquetes por patrón o
   3.105 +		nombre</li>
   3.106 +	<li><a href="#search-pkgname">search-pkgname</a>: buscar en el espejo un
   3.107 +		paquete que tenga un archivo particular</li>
   3.108 +	<li><a href="#search-file">search-file</a>: búsqueda de archivos en los
   3.109 +		archivos de todos los paquetes instalados</li>
   3.110 +</ul>
   3.111 +
   3.112 +
   3.113 +<h3>Installing and removing packages</h3>
   3.114 +
   3.115 +<ul>
   3.116 +	<li><a href="#get">get</a>: download a package into the current
   3.117 +		directory</li>
   3.118 +	<li><a href="#install">install</a>: instala un local paquete</li>
   3.119 +	<li><a href="#get-install">get-install</a>: download and install a package
   3.120 +		from the mirror</li>
   3.121 +	<li><a href="#install-list">install-list</a>: install all packages from a
   3.122 +		list of packages</li>
   3.123 +	<li><a href="#install-list">get-install-list</a>: download and install a
   3.124 +		list of packages from the mirror</li>
   3.125 +	<li><a href="#remove">remove</a>: remover los paquetes especificados y todos
   3.126 +		los archivos instalados</li>
   3.127 +	<li><a href="#reconfigure">reconfigure</a>: replay post install script from
   3.128 +		package</li>
   3.129 +	<li><a href="#link">link</a>: link a package from another SliTaz
   3.130 +		installation</li>
   3.131 +	<li><a href="#set-release">set-release</a>: change release and update
   3.132 +		packages</li>
   3.133 +	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of
   3.134 +		packages</li>
   3.135 +	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of
   3.136 +		packages and remove other ones</li>
   3.137 +</ul>
   3.138 +
   3.139 +
   3.140 +<h3>Working with packages</h3>
   3.141 +
   3.142 +<ul>
   3.143 +	<li><a href="#info">info</a>: imprima información sobre el paquete</li>
   3.144 +	<li><a href="#desc">desc</a>: imprima la descripción del paquete</li>
   3.145 +	<li><a href="#list-files">list-files</a>: lista de archivos instalados con
   3.146 +		un paquete</li>
   3.147 +	<li><a href="#block">block, unblock</a>: block an installed package version
   3.148 +		or unblock it for upgrade</li>
   3.149 +	<li><a href="#check">check</a>: verify consistency of installed
   3.150 +		packages</li>
   3.151 +	<li><a href="#bugs">bugs</a>: muestra conocidos bugs en paquetes</li>
   3.152 +	<li><a href="#depends">depends</a>: display dependencies tree</li>
   3.153 +	<li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
   3.154 +	<li><a href="#extract">extract</a>: extrae un (*.tazpkg) paquete en el
   3.155 +		directorio</li>
   3.156 +	<li><a href="#pack">pack</a>: empaquetar una desempaquetado o preparar un
   3.157 +		árbol de paquetes</li>
   3.158 +	<li><a href="#repack">repack</a>: create a package archive from an installed
   3.159 +		package</li>
   3.160 +	<li><a href="#repack-config">repack-config</a>: create a package archive
   3.161 +		with configuration files</li>
   3.162 +	<li><a href="#recompress">recompress</a>: rebuild a package with a better
   3.163 +		compression ratio</li>
   3.164 +	<li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
   3.165 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   3.166 +		packages</li>
   3.167 +</ul>
   3.168 +
   3.169 +
   3.170 +<h3>Working with repositories</h3>
   3.171 +
   3.172 +<ul>
   3.173 +	<li><a href="#recharge">recharge</a>: recharge your packages database from
   3.174 +		the mirror</li>
   3.175 +	<li><a href="#upgrade">upgrade</a>: comprobar paquetes md5sum para listar e
   3.176 +		instalar las últimas mejoras</li>
   3.177 +	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL
   3.178 +		configuration</li>
   3.179 +	<li><a href="#add-undigest">setup-undigest</a>: update an undigest
   3.180 +		mirror</li>
   3.181 +	<li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
   3.182 +	<li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
   3.183 +	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest
   3.184 +		mirror</li>
   3.185 +</ul>
   3.186 +
   3.187 +
   3.188 +
   3.189 +
   3.190 +<h2>Service commands</h2>
   3.191 +
   3.192 +
   3.193 +<h3 id="usage">usage</h3>
   3.194 +
   3.195 +<p>Show the full list of the TazPkg commands with a brief description.</p>
   3.196 +
   3.197 +<pre>
   3.198 +$ tazpkg usage
   3.199 +$ tazpkg
   3.200 +</pre>
   3.201 +
   3.202 +
   3.203 +<h3 id="help">help</h3>
   3.204 +
   3.205 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   3.206 +enter a short name of the command, the full name or a part of the full name. You
   3.207 +can ignore hyphens at the beginning of the short name. If the requested part of
   3.208 +the full name match the several commands, you will be asked to clarify the
   3.209 +request.</p>
   3.210 +
   3.211 +<pre>
   3.212 +$ tazpkg help <em>-gi</em>
   3.213 +$ tazpkg -h <em>us</em>
   3.214 +</pre>
   3.215 +
   3.216 +
   3.217 +<h3 id="activity">activity</h3>
   3.218 +
   3.219 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   3.220 +<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   3.221 +lines.</p>
   3.222 +
   3.223 +<pre>
   3.224 +$ tazpkg activity
   3.225 +$ tazpkg -a --nb=<em>20</em>
   3.226 +</pre>
   3.227 +
   3.228 +
   3.229 +<h3 id="clean-cache">clean-cache</h3>
   3.230 +
   3.231 +<p>Borra los paquetes *.tazpkg descargados en la cache. Durante la instalación,
   3.232 +TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace para
   3.233 +ahorrar ancho de banda en caso de reinstalación, pero también puedes querer
   3.234 +liberar espacio en el disco duro o recargar los paquetes.</p>
   3.235 +
   3.236 +<pre>
   3.237 +# tazpkg clean-cache
   3.238 +# tazpkg -cc
   3.239 +</pre>
   3.240 +
   3.241 +
   3.242 +<h3 id="shell">shell</h3>
   3.243 +
   3.244 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   3.245 +listed above.</p>
   3.246 +
   3.247 +<pre>
   3.248 +$ tazpkg shell
   3.249 +# tazpkg shell
   3.250 +</pre>
   3.251 +
   3.252 +
   3.253 +
   3.254 +
   3.255 +<h2>Working with lists</h2>
   3.256 +
   3.257 +
   3.258  <h3 id="list">list</h3>
   3.259  
   3.260 -<p>
   3.261 -Lista los paquetes instalados en el sistema. Este comando muestra la 
   3.262 -lista de todos los paquetes instalados. También permite mostrar la 
   3.263 -lista de categorías, los paquetes correspondientes a una categoría y los paquetes 
   3.264 -bloqueados. Además puedes usar el comando <tt><a 
   3.265 -href="#search">search</a></tt> para mostrar una lista basada en 
   3.266 -un término o en el nombre de un paquete:
   3.267 -</p>
   3.268 +<p>Lista los paquetes instalados en el sistema. Este comando muestra la lista de
   3.269 +todos los paquetes instalados. También permite mostrar la lista de categorías,
   3.270 +los paquetes correspondientes a una categoría y los paquetes bloqueados. Además
   3.271 +puedes usar el comando <tt><a href="#search">search</a></tt> para mostrar una
   3.272 +lista basada en un término o en el nombre de un paquete.</p>
   3.273 +
   3.274  <pre>
   3.275 -# tazpkg list
   3.276 -# tazpkg list cat|<em>categoría</em>
   3.277 -# tazpkg list blocked
   3.278 -</pre>
   3.279 -
   3.280 -
   3.281 -<h3 id="xhtml-list">xhtml-list</h3>
   3.282 -
   3.283 -<p>
   3.284 -El comando <tt>xhtml-list</tt> puede crear una lista XHTML de todos los 
   3.285 -paquetes instalados en el sistema, la cual puede ser leída con el 
   3.286 -navegador web que prefieras. Se puede ejecutar como usuario normal y 
   3.287 -crea el archivo <tt>installed-packages.html</tt> en el directorio 
   3.288 -actual. Tenga en cuenta que puede cambiar el nombre de la 
   3.289 -lista generada a través de la línea de comandos:
   3.290 -</p>
   3.291 -<pre>
   3.292 -# tazpkg xhtml-list
   3.293 -# tazpkg xhtml-list <em>list-name.html</em>
   3.294 +$ tazpkg list
   3.295 +$ tazpkg list cat
   3.296 +$ tazpkg list <em>games</em>
   3.297 +$ tazpkg list <em>juegos</em>
   3.298 +$ tazpkg list blocked
   3.299  </pre>
   3.300  
   3.301  
   3.302  <h3 id="list-mirror">list-mirror</h3>
   3.303  
   3.304 -<p>
   3.305 -Lista los paquetes disponibles en el espejo. Este comando 
   3.306 -mostrara el archivo <tt>packages.list</tt> recargado desde el espejo. Si este no 
   3.307 -existe, se te requerirá ejecutar <code>tazpkg <a 
   3.308 -href="#recharge">recharge</a></code> como administrador 
   3.309 -(root) para ver la lista de paquetes disponibles. La opción 
   3.310 -<tt>--diff</tt> se usa para mostrar las diferencias entre la ultima lista de paquetes y 
   3.311 -la actual:
   3.312 -</p>
   3.313 +<p>Lista los paquetes disponibles en el espejo. Este comando mostrara el archivo
   3.314 +<tt>packages.list</tt> recargado desde el espejo. Si este no existe, se te
   3.315 +requerirá ejecutar <code>tazpkg <a href="#recharge">recharge</a></code> como
   3.316 +administrador (root) para ver la lista de paquetes disponibles. La opción 
   3.317 +<tt>--diff</tt> se usa para mostrar las diferencias entre la ultima lista de
   3.318 +paquetes y la actual.</p>
   3.319 +
   3.320  <pre>
   3.321 -# tazpkg list-mirror
   3.322 -# tazpkg list-mirror --diff
   3.323 -</pre>
   3.324 -
   3.325 -
   3.326 -<h3 id="info">info</h3>
   3.327 -
   3.328 -<p>
   3.329 -Muestra cualquier información disponible en el fichero de recibo del paquete en 
   3.330 -cuestión, como su versión, categoría, mantenedor, página web y 
   3.331 -dependencias (véase también Cookutils para más información sobre 
   3.332 -los ficheros de recibo):
   3.333 -</p>
   3.334 -<pre>
   3.335 -# tazpkg info <em>busybox</em>
   3.336 -</pre>
   3.337 -
   3.338 -
   3.339 -<h3 id="desc">desc</h3>
   3.340 -
   3.341 -<p>
   3.342 -Descripción del paquete (si existe). Este comando muestra el archivo 
   3.343 -<tt>description.txt</tt> de cada paquete (un simple archivo de texto, 
   3.344 -justificado a 80 caracteres para caber en una terminal estándar):
   3.345 -</p>
   3.346 -<pre>
   3.347 -# tazpkg desc <em>busybox</em>
   3.348 +$ tazpkg list-mirror
   3.349 +$ tazpkg -lm --diff
   3.350  </pre>
   3.351  
   3.352  
   3.353  <h3 id="list-config">list-config</h3>
   3.354  
   3.355 -<p>
   3.356 -Lista los archivos de configuración del sistema. La 
   3.357 -opción <tt>--box</tt> muestra la lista en formato tabla: 
   3.358 -</p>
   3.359 +<p>Lista los archivos de configuración del sistema. La opción <tt>--box</tt>
   3.360 +muestra la lista en formato tabla.</p>
   3.361 +
   3.362  <pre>
   3.363 -# tazpkg list-config
   3.364 -# tazpkg list-config --box
   3.365 +$ tazpkg list-config
   3.366 +$ tazpkg list-config --box
   3.367 +$ tazpkg list-config <em>slim</em>
   3.368 +$ tazpkg list-config --box <em>slim</em>
   3.369  </pre>
   3.370  
   3.371  
   3.372 -<h3 id="list-files">list-files</h3>
   3.373  
   3.374 -<p>
   3.375 -Lista todos los archivos instalados con un paquete. Este 
   3.376 -comando simplemente lee y muestra el archivo <tt>files.list</tt> de cada 
   3.377 -paquete que se genera automáticamente cuando el paquete es creado 
   3.378 -y también se usa para borrar los archivos cuando se desinstala un 
   3.379 -paquete.
   3.380 -Para listar los archivos instalados con el paquete bc: 
   3.381 -</p>
   3.382 -<pre>
   3.383 -# tazpkg list-files <em>bc</em>
   3.384 -</pre>
   3.385 +
   3.386 +<h2>Search</h2>
   3.387  
   3.388  
   3.389  <h3 id="search">search</h3>
   3.390  
   3.391 -<p>
   3.392 -Busca paquetes por propietario o por el nombre del paquete. Este comando 
   3.393 -buscará el termino requerido en los paquetes instalados y en la lista 
   3.394 -de paquetes disponibles en el espejo. Para obtener la última lista de 
   3.395 -paquetes instalables en el espejo, solo hay que ejecutar <code>tazpkg 
   3.396 -recharge</code> antes de la realización de la búsqueda:
   3.397 -</p>
   3.398 +<p>Busca paquetes por propietario o por el nombre del paquete. Este comando
   3.399 +buscará el termino requerido en los paquetes instalados y en la lista de
   3.400 +paquetes disponibles en el espejo. Para obtener la última lista de paquetes
   3.401 +instalables en el espejo, solo hay que ejecutar <code>tazpkg recharge</code>
   3.402 +antes de la realización de la búsqueda.</p>
   3.403 +
   3.404  <pre>
   3.405 -# tazpkg search <em>gcc</em>
   3.406 +$ tazpkg search <em>gcc</em>
   3.407 +$ tazpkg search <em>mt</em> -i
   3.408 +$ tazpkg search <em>bit</em> -l
   3.409 +</pre>
   3.410 +
   3.411 +
   3.412 +<h3 id="search-pkgname">search-pkgname</h3>
   3.413 +
   3.414 +<p>Search for a file on mirror and output only the packages names
   3.415 +(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   3.416 +
   3.417 +<pre>
   3.418 +$ tazpkg search-pkgname <em>libnss</em>
   3.419 +$ tazpkg -sp <em>/usr/share/fonts</em>
   3.420  </pre>
   3.421  
   3.422  
   3.423  <h3 id="search-file">search-file</h3>
   3.424  
   3.425 -<p>
   3.426 -El comando <tt>search-file</tt> te permite buscar un 
   3.427 -archivo entre los archivos instalados por los paquetes. Este comando es 
   3.428 -muy útil para saber la ruta completa de un archivo y determinar si un 
   3.429 -archivo esta presente en el sistema. Ejemplo:
   3.430 -</p>
   3.431 +<p>El comando <tt>search-file</tt> te permite buscar un archivo entre los
   3.432 +archivos instalados por los paquetes. Este comando es muy útil para saber la
   3.433 +ruta completa de un archivo y determinar si un archivo esta presente en el
   3.434 +sistema.</p>
   3.435 +
   3.436  <pre>
   3.437 - $ tazpkg search-file <em>libnss</em>
   3.438 +$ tazpkg search-file <em>libnss</em>
   3.439 +$ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   3.440 +</pre>
   3.441 +
   3.442 +
   3.443 +
   3.444 +
   3.445 +<h2>Installing and removing packages</h2>
   3.446 +
   3.447 +
   3.448 +<h3 id="get">get</h3>
   3.449 +
   3.450 +<p>Descargar un paquete desde el espejo (si existe). El paquete descargado es
   3.451 +almacenado en el directorio actual. Para encontrar la ruta puedes usar
   3.452 +<code>pwd</code>.</p>
   3.453 +
   3.454 +<pre>
   3.455 +# tazpkg get <em>grub</em>
   3.456 +# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   3.457  </pre>
   3.458  
   3.459  
   3.460  <h3 id="install">install</h3>
   3.461  
   3.462 -<p>
   3.463 -Este comando te permite instalar un paquete local con la extensión 
   3.464 -<tt>.tazpkg</tt>. Ver <tt><a href="#get-install">get-install</a></tt> 
   3.465 -para instalar un paquete desde internet. Tenga en cuenta que puede 
   3.466 -forzar la instalación con las opciones <tt>--forced</tt>, 
   3.467 -<tt>uninstall</tt> y <tt>reinstall</tt> o especificar la raíz del sistema 
   3.468 -donde quiere instalar los paquetes con la opción <tt>--root</tt>:
   3.469 -</p>
   3.470 +<p>Este comando te permite instalar un paquete local con la extensión
   3.471 +<tt>.tazpkg</tt>. Ver <tt><a href="#get-install">get-install</a></tt> para
   3.472 +instalar un paquete desde internet. Tenga en cuenta que puede forzar la
   3.473 +instalación con las opciones <tt>--forced</tt>, <tt>uninstall</tt> y
   3.474 +<tt>reinstall</tt> o especificar la raíz del sistema donde quiere instalar los
   3.475 +paquetes con la opción <tt>--root</tt>.</p>
   3.476 +
   3.477  <pre>
   3.478 -# tazpkg install <em>package-1.0.tazpkg</em>
   3.479 -# tazpkg install <em>path/to/package-1.0.tazpkg</em> --forced
   3.480 -# tazpkg install <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   3.481 +# tazpkg install <em>paquete-1.0.tazpkg</em>
   3.482 +# tazpkg install <em>path/to/paquete-1.0.tazpkg</em> --forced
   3.483 +# tazpkg install <em>path/to/paquete-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   3.484  </pre>
   3.485  
   3.486  
   3.487 -<h3 id="install-list">install-list o get-install-list</h3>
   3.488 -<p>
   3.489 -Instala un conjunto de paquetes listados en un archivo. Este comando te 
   3.490 -permite (descargar e) instalar varios paquetes con un solo comando y 
   3.491 -también puede ser forzado:
   3.492 -</p>
   3.493 +<h3 id="get-install">get-install</h3>
   3.494 +
   3.495 +<p>Descargar e instalar un paquete desde un espejo en internet. El comando
   3.496 +<tt>get-install</tt> empieza comprobando si el paquete existe en el espejo y si
   3.497 +ya ha sido descargado. Para ver la lista de paquetes en el espejo, tenemos que
   3.498 +usar el comando <tt><a href="#list-mirror">list-mirror</a></tt>.</p>
   3.499 +
   3.500  <pre>
   3.501 -# tazpkg install-list <em>my-packages.list</em>
   3.502 -# tazpkg get-install-list <em>my-packages.list</em> --forced
   3.503 +# tazpkg get-install <em>grub</em>
   3.504 +# tazpkg -gi <em>grub</em> --forced
   3.505 +# tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   3.506 +</pre>
   3.507 +
   3.508 +
   3.509 +<h3 id="install-list">install-list, get-install-list</h3>
   3.510 +
   3.511 +<p>Instala un conjunto de paquetes listados en un archivo. Este comando te
   3.512 +permite (descargar e) instalar varios paquetes con un solo comando y también
   3.513 +puede ser forzado.</p>
   3.514 +
   3.515 +<pre>
   3.516 +# tazpkg install-list <em>my-paquetes.list</em>
   3.517 +# tazpkg get-install-list <em>my-paquetes.list</em> --forced
   3.518 +</pre>
   3.519 +
   3.520 +
   3.521 +<h3 id="remove">remove</h3>
   3.522 +
   3.523 +<p>Borra un paquete. Se te preguntará para confirmar (s/N). Este comando borrará
   3.524 +todos los archivos instalados con el paquete. Para ver la lista de archivos,
   3.525 +usar el comando <tt><a href="#list-files">list-files</a></tt> seguido del nombre
   3.526 +del paquete.</p>
   3.527 +
   3.528 +<pre>
   3.529 +# tazpkg remove <em>bc</em>
   3.530 +# tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   3.531 +# tazpkg -r <em>nano</em> --auto
   3.532 +</pre>
   3.533 +
   3.534 +
   3.535 +<h3 id="reconfigure">reconfigure</h3>
   3.536 +
   3.537 +<p>Vuelve a reproducir el script de post-instalación del paquete.</p>
   3.538 +
   3.539 +<pre>
   3.540 +# tazpkg reconfigure <em>gcc</em>
   3.541 +# tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   3.542  </pre>
   3.543  
   3.544  
   3.545  <h3 id="link">link</h3>
   3.546  
   3.547 -<p>
   3.548 -Este comando te permite la instalación de un paquete desde otro 
   3.549 -dispositivo. La instalación se hace por medio de enlaces simbólicos y 
   3.550 -consume muy poca memoria. Es generalmente usada dentro del sistema RAM 
   3.551 -para instalar add-ons (extensiones) desde USB:
   3.552 -</p>
   3.553 +<p>Este comando te permite la instalación de un paquete desde otro dispositivo.
   3.554 +La instalación se hace por medio de enlaces simbólicos y consume muy poca
   3.555 +memoria. Es generalmente usada dentro del sistema RAM para instalar add-ons
   3.556 +(extensiones) desde USB.</p>
   3.557 +
   3.558  <pre>
   3.559  # tazpkg link <em>openoffice /media/usbdisk</em>
   3.560  </pre>
   3.561  
   3.562  
   3.563 -<h3 id="remove">remove</h3>
   3.564 +<h3 id="set-release">set-release</h3>
   3.565  
   3.566 -<p>
   3.567 -Borra un paquete. Se te preguntará para confirmar (s/N).
   3.568 -Este comando borrará todos los archivos instalados con el paquete.
   3.569 -Para ver la lista de archivos, usar el comando <tt><a 
   3.570 -href="#list-files">list-files</a></tt> seguido del nombre del paquete. 
   3.571 -Ejemplo con el paquete bc:
   3.572 -</p>
   3.573 +<p>El comando <tt>set-release</tt> cambia la versión actual y actualiza todos
   3.574 +los paquetes a la última versión.</p>
   3.575 +
   3.576  <pre>
   3.577 -# tazpkg remove <em>bc</em>
   3.578 +# tazpkg set-release <em>cooking</em>
   3.579  </pre>
   3.580  
   3.581  
   3.582 -<h3 id="extract">extract</h3>
   3.583 +<h3 id="add-flavor">add-flavor, install-flavor</h3>
   3.584  
   3.585 -<p>
   3.586 -Extrae un paquete en un directorio. Si no especificas el 
   3.587 -directorio de destino, el paquete se extraerá en el directorio actual 
   3.588 -usando el nombre <tt><em>package-version</em></tt>:
   3.589 -</p>
   3.590 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   3.591 +purges other installed packages.</p>
   3.592 +
   3.593  <pre>
   3.594 -# tazpkg extract <em>package.tazpkg</em>
   3.595 -# tazpkg extract <em>package.tazpkg target/dir</em>
   3.596 +# tazpkg add-flavor <em>gtkonly</em>
   3.597 +# tazpkg install-flavor <em>justx</em>
   3.598  </pre>
   3.599  
   3.600  
   3.601 -<h3 id="pack">pack</h3>
   3.602  
   3.603 -<p>
   3.604 -El comando <tt>pack</tt> crea un paquete desde un directorio preparado 
   3.605 -de antemano o desde un paquete desempaquetado. También puede crear 
   3.606 -manualmente un paquete .tazpkg (ver la documentación de Cookutils para la 
   3.607 -creación automática de paquetes). Para empaquetar un paquete:
   3.608 -</p>
   3.609 +
   3.610 +<h2>Working with packages</h2>
   3.611 +
   3.612 +
   3.613 +<h3 id="info">info</h3>
   3.614 +
   3.615 +<p>Muestra cualquier información disponible en el fichero de recibo del paquete
   3.616 +en cuestión, como su versión, categoría, mantenedor, página web y dependencias
   3.617 +(véase también Cookutils para más información sobre los ficheros de recibo).</p>
   3.618 +
   3.619  <pre>
   3.620 -# tazpkg pack <em>package-version</em>
   3.621 +$ tazpkg info <em>busybox</em>
   3.622  </pre>
   3.623  
   3.624  
   3.625 -<h3 id="repack">repack</h3>
   3.626 +<h3 id="desc">desc</h3>
   3.627  
   3.628 -<p>
   3.629 -El comando <tt>repack</tt> te permite recrear un paquete desde los 
   3.630 -archivos en el sistema donde fue previamente instalado. Para recrear un 
   3.631 -paquete:
   3.632 -</p>
   3.633 +<p>Descripción del paquete (si existe). Este comando muestra el archivo
   3.634 +<tt>description.txt</tt> de cada paquete (un simple archivo de texto,
   3.635 +justificado a 80 caracteres para caber en una terminal estándar).</p>
   3.636 +
   3.637  <pre>
   3.638 -# tazpkg repack <tt>package</tt>
   3.639 +$ tazpkg desc <em>busybox</em>
   3.640  </pre>
   3.641  
   3.642  
   3.643 -<h3 id="repack-config">repack-config</h3>
   3.644 +<h3 id="list-files">list-files</h3>
   3.645  
   3.646 -<p>
   3.647 -El comando <tt>repack-config</tt> recrea un paquete de archivos de 
   3.648 -configuración del sistema (ver <tt><a 
   3.649 -href="#list-config">list-config</a></tt>). Es suficiente instalar el 
   3.650 -paquete para encontrar la configuración actual. Para reempaquetar los 
   3.651 -archivos de configuración:
   3.652 -</p>
   3.653 +<p>Lista todos los archivos instalados con un paquete. Este comando simplemente
   3.654 +lee y muestra el archivo <tt>files.list</tt> de cada paquete que se genera
   3.655 +automáticamente cuando el paquete es creado y también se usa para borrar los
   3.656 +archivos cuando se desinstala un paquete.</p>
   3.657 +
   3.658  <pre>
   3.659 -# tazpkg repack-config
   3.660 +$ tazpkg list-files <em>bc</em>
   3.661  </pre>
   3.662  
   3.663  
   3.664 -<h3 id="recharge">recharge</h3>
   3.665 +<h3 id="block">block, unblock</h3>
   3.666  
   3.667 -<p>
   3.668 -Recarga la lista de los paquetes disponibles en el espejo. Este comando 
   3.669 -descargará el archivo  <tt>packages.list</tt> más reciente con la lista de 
   3.670 -paquetes disponibles en el espejo y antes de empezar guardará una copia de la 
   3.671 -lista antigua. Una vez actualizada la lista, puedes usar los comandos <tt><a 
   3.672 -href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y 
   3.673 -listar las diferencias, puedes usar <code>list-mirror --diff</code>; y para ver 
   3.674 -y actualizar paquetes, puedes usar el comando <tt><a 
   3.675 -href="#upgrade">upgrade</a></tt>. Para recargar la ultima lista de paquetes:
   3.676 -</p>
   3.677 +<p>Los comandos <tt>block</tt> y <tt>unblock</tt> te permiten bloquear versiones
   3.678 +de paquetes instalados asi ya no estarán mantenidos por <tt><a
   3.679 +href="#upgrade">upgrade</a></tt>. La lista de paquetes en espera se encuentra en
   3.680 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser editado
   3.681 +manualmente.</p>
   3.682 +
   3.683  <pre>
   3.684 -# tazpkg recharge
   3.685 -</pre>
   3.686 -
   3.687 -
   3.688 -<h3 id="upgrade">up o upgrade</h3>
   3.689 -
   3.690 -<p>
   3.691 -Upgrade te permite actualizar todos los paquetes instalados disponibles en el espejo actual. Actualizar  paquetes es una parte importante de la
   3.692 -seguridad del sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y 
   3.693 -correcciones. El proyecto Slitaz, aunque sea pequeño, proporciona 
   3.694 -actualizaciones regulares de seguridad y en general ofrece las ultimas 
   3.695 -versiones de software. Tenga en cuenta que esta función esta dirigida a la gente 
   3.696 -con Slitaz instalado en su disco duro. Los paquetes actualizados en el modo 
   3.697 -LiveCD se perderán al apagar el sistema. Para actualizar o mostrar todas las 
   3.698 -opciones de <tt>up</tt>:
   3.699 -</p>
   3.700 -<pre>
   3.701 -# tazpkg up
   3.702 -# tazpkg --help-up
   3.703 -# tazpkg up --recharge --install
   3.704 -# tazpkg up -r -i
   3.705 +# tazpkg block <em>grub</em>
   3.706 +# tazpkg unblock <em>grub</em>
   3.707 +# tazpkg chblock <em>grub</em>
   3.708  </pre>
   3.709  
   3.710  
   3.711  <h3 id="check">check</h3>
   3.712  
   3.713 -<p>
   3.714 -El comando <tt>check</tt> puede comprobar las dependencias en paquetes instalados
   3.715 -y determinar si todos los archivos necesarios para reempacar paquetes están 
   3.716 -presentes.
   3.717 -</p>
   3.718 +<p>El comando <tt>check</tt> puede comprobar las dependencias en paquetes
   3.719 +instalados y determinar si todos los archivos necesarios para reempacar paquetes
   3.720 +están presentes.</p>
   3.721 +
   3.722  <pre>
   3.723 -# tazpkg check <em>package</em>
   3.724 +$ tazpkg check
   3.725 +$ tazpkg check --full
   3.726 +$ tazpkg check <em>nano</em>
   3.727 +$ tazpkg check <em>sakura</em> --full
   3.728  </pre>
   3.729  
   3.730  
   3.731 -<h3 id="block">block o unblock</h3>
   3.732 +<h3 id="bugs">bugs</h3>
   3.733  
   3.734 -<p>
   3.735 -Los comandos <tt>block</tt> y <tt>unblock</tt> te permiten bloquear versiones de 
   3.736 -paquetes instalados asi ya no estarán mantenidos por <tt><a 
   3.737 -href="#upgrade">upgrade</a></tt>. La lista de paquetes en espera se encuentra 
   3.738 -en <tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser 
   3.739 -editado manualmente. Para bloquear o desbloquear un paquete como Grub:
   3.740 -</p>
   3.741 +<p>Genera una lista de los errores (bugs) conocidos de los paquetes.</p>
   3.742 +
   3.743  <pre>
   3.744 -# tazpkg block <em>grub</em>
   3.745 -# tazpkg unblock <em>grub</em>
   3.746 +$ tazpkg bugs
   3.747 +$ tazpkg bugs <em>my_paquete</em>
   3.748  </pre>
   3.749  
   3.750  
   3.751 -<h3 id="get">get</h3>
   3.752 +<h3 id="depends">depends, rdepends</h3>
   3.753  
   3.754 -<p>
   3.755 -Descargar un paquete desde el espejo (si existe). El paquete descargado es 
   3.756 -almacenado en el directorio actual. Para encontrar la ruta puedes usar 
   3.757 -<code>pwd</code>. Para descargar el paquete Grub:
   3.758 -</p>
   3.759 -<pre>
   3.760 -# tazpkg get <em>grub</em>
   3.761 -</pre>
   3.762 +<p>Muestra un árbol de dependencias o un árbol de dependencias invertido para un
   3.763 +paquete.</p>
   3.764  
   3.765 -
   3.766 -<h3 id="get-install">get-install</h3>
   3.767 -
   3.768 -<p>
   3.769 -Descargar e instalar un paquete desde un espejo en internet. El comando 
   3.770 -<tt>get-install</tt> empieza comprobando si el paquete existe en el espejo y si 
   3.771 -ya ha sido descargado. Para ver la lista de paquetes en el espejo, tenemos que 
   3.772 -usar el comando <tt><a href="#list-mirror">list-mirror</a></tt>. Para instalar 
   3.773 -el paquete 
   3.774 -Grub:
   3.775 -</p>
   3.776 -<pre>
   3.777 -# tazpkg get-install <tt>grub</tt>
   3.778 -</pre>
   3.779 -
   3.780 -
   3.781 -<h3 id="clean-cache">clean-cache</h3>
   3.782 -
   3.783 -<p>
   3.784 -Borra los paquetes *.tazpkg descargados en la cache. Durante la instalación, 
   3.785 -TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace para 
   3.786 -ahorrar ancho de banda en caso de reinstalación, pero también puedes querer 
   3.787 -liberar espacio en el disco duro o recargar los paquetes:
   3.788 -</p>
   3.789 -<pre>
   3.790 -# tazpkg clean-cache
   3.791 -</pre>
   3.792 -
   3.793 -
   3.794 -<h3 id="setup-mirror">setup-mirror</h3>
   3.795 -
   3.796 -<p>
   3.797 -Configura la dirección URL del espejo. El comando <tt>setup-mirror</tt> te 
   3.798 -preguntará la dirección URL del nuevo espejo. Puedes especificar múltiples 
   3.799 -direcciones URL separadas por espacios. Tenga en cuenta que también puede 
   3.800 -modificar el archivo principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL 
   3.801 -tiene que indicar el directorio que contiene el archivo <tt>packages.list</tt> y 
   3.802 -los paquetes:
   3.803 -</p>
   3.804 -<pre>
   3.805 -# tazpkg setup-mirror
   3.806 -</pre>
   3.807 -
   3.808 -
   3.809 -<h3 id="reconfigure">reconfigure</h3>
   3.810 -
   3.811 -<p>
   3.812 -Vuelve a reproducir el script de post-instalación del paquete. Ejemplo usando 
   3.813 -gcc:
   3.814 -</p>
   3.815 -<pre>
   3.816 -# tazpkg reconfigure <em>gcc</em>
   3.817 -</pre>
   3.818 -
   3.819 -
   3.820 -<h3 id="depends">depends o rdepends</h3>
   3.821 -
   3.822 -<p>
   3.823 -Muestra un árbol de dependencias o un árbol de dependencias invertido para un 
   3.824 -paquete. Ejemplos usando mpd:
   3.825 -</p>
   3.826  <pre>
   3.827  # tazpkg depends <em>mpd</em>
   3.828  # tazpkg rdepends <em>mpd</em>
   3.829  </pre>
   3.830  
   3.831  
   3.832 -<h3 id="add-undigest">add-undigest o setup-undigest</h3>
   3.833 +<h3 id="extract">extract</h3>
   3.834  
   3.835 -<p>
   3.836 -Establece la dirección URL de un espejo adicional no oficial para probar 
   3.837 -paquetes que todavía no están presentes en los espejos oficiales. Tenga en 
   3.838 -cuenta que también puede editar manualmente el archivo en 
   3.839 -<tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene 
   3.840 -que indicar el directorio que contiene los paquetes y el archivo 
   3.841 -<tt>packages.list</tt>:
   3.842 -</p>
   3.843 +<p>Extrae un paquete en un directorio. Si no especificas el directorio de
   3.844 +destino, el paquete se extraerá en el directorio actual usando el nombre
   3.845 +<tt><em>package-version</em></tt>.</p>
   3.846 +
   3.847 +<pre>
   3.848 +$ tazpkg extract <em>paquete.tazpkg</em>
   3.849 +$ tazpkg extract <em>paquete.tazpkg target/dir</em>
   3.850 +</pre>
   3.851 +
   3.852 +
   3.853 +<h3 id="pack">pack</h3>
   3.854 +
   3.855 +<p>El comando <tt>pack</tt> crea un paquete desde un directorio preparado de
   3.856 +antemano o desde un paquete desempaquetado. También puede crear manualmente un
   3.857 +paquete .tazpkg (ver la documentación de Cookutils para la creación automática
   3.858 +de paquetes).</p>
   3.859 +
   3.860 +<pre>
   3.861 +# tazpkg pack <em>paquete-version</em>
   3.862 +</pre>
   3.863 +
   3.864 +
   3.865 +<h3 id="repack">repack</h3>
   3.866 +
   3.867 +<p>El comando <tt>repack</tt> te permite recrear un paquete desde los archivos
   3.868 +en el sistema donde fue previamente instalado.</p>
   3.869 +
   3.870 +<pre>
   3.871 +$ tazpkg repack <tt>paquete</tt>
   3.872 +</pre>
   3.873 +
   3.874 +
   3.875 +<h3 id="repack-config">repack-config</h3>
   3.876 +
   3.877 +<p>El comando <tt>repack-config</tt> recrea un paquete de archivos de
   3.878 +configuración del sistema (ver <tt><a href="#list-config">list-config</a></tt>).
   3.879 +Es suficiente instalar el paquete para encontrar la configuración actual.</p>
   3.880 +
   3.881 +<pre>
   3.882 +# tazpkg repack-config
   3.883 +</pre>
   3.884 +
   3.885 +
   3.886 +<h3 id="recompress">recompress</h3>
   3.887 +
   3.888 +<p>Recompress .tazpkg cpio archive with lzma.</p>
   3.889 +
   3.890 +<pre>
   3.891 +$ tazpkg recompress <em>paquete.tazpkg</em>
   3.892 +</pre>
   3.893 +
   3.894 +
   3.895 +<h3 id="convert">convert</h3>
   3.896 +
   3.897 +<p>Convierte los paquetes en paquetes Slitaz (.tazpkg).</p>
   3.898 +
   3.899 +<p>Supported packages formats:</p>
   3.900 +
   3.901 +<ul>
   3.902 +	<li><a href="https://packages.debian.org/search" target="_blank">paquetes
   3.903 +		Debian</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   3.904 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
   3.905 +		target="_blank">paquetes RPM</a> (<tt>*.rpm</tt>)</li>
   3.906 +	<li><a href="http://www.slax.org/" target="_blank">paquetes Slax</a>
   3.907 +		(<tt>*.sb</tt>)</li>
   3.908 +	<li><a href="http://puppylinux.org/" target="_blank">paquetes Puppy</a>
   3.909 +		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
   3.910 +	<li><a href="http://www.slackware.com/packages/" target="_blank">paquetes
   3.911 +		Slackware</a> (<tt>*.tgz</tt>)</li>
   3.912 +	<li><a href="http://www.nutyx.org/" target="_blank">paquetes NuTyX</a>
   3.913 +		(<tt>*.cards.tar.xz</tt>)</li>
   3.914 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">paquetes
   3.915 +		Arch Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
   3.916 +		target="_blank">Alpine Linux</a> (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>,
   3.917 +		<tt>*.pkg.tar.xz</tt>)</li>
   3.918 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquetes
   3.919 +		OpenWrt</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   3.920 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
   3.921 +		target="_blank">paquetes 0Linux</a> (<tt>*.spack</tt>)</li>
   3.922 +	<li><a href="http://www.paldo.org/index-section-packages.html"
   3.923 +		target="_blank">paquetes paldo</a> (<tt>*.tar.bz2</tt>)</li>
   3.924 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquetes
   3.925 +		Void</a> (<tt>*.xbps</tt>)</li>
   3.926 +	<li><a href="http://tinycorelinux.net/" target="_blank">paquetes
   3.927 +		Tinycore</a> (<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>,
   3.928 +		<tt>*.tcz</tt>)</li>
   3.929 +</ul>
   3.930 +
   3.931 +<pre>
   3.932 +# tazpkg convert <em>alien-paquete</em>
   3.933 +</pre>
   3.934 +
   3.935 +
   3.936 +<h3 id="list-suggested">list-suggested</h3>
   3.937 +
   3.938 +<p>List suggested packages for each of your installed packages. With option
   3.939 +<tt>--all</tt> it shows all suggested packages, and without option it shows only
   3.940 +not installed suggested packages.</p>
   3.941 +
   3.942 +<pre>
   3.943 +$ tazpkg list-suggested
   3.944 +$ tazpkg list-suggested --all
   3.945 +</pre>
   3.946 +
   3.947 +
   3.948 +
   3.949 +
   3.950 +<h2>Working with repositories</h2>
   3.951 +
   3.952 +
   3.953 +<h3 id="recharge">recharge</h3>
   3.954 +
   3.955 +<p>Recarga la lista de los paquetes disponibles en el espejo. Este comando
   3.956 +descargará el archivo <tt>packages.list</tt> más reciente con la lista de
   3.957 +paquetes disponibles en el espejo y antes de empezar guardará una copia de la
   3.958 +lista antigua. Una vez actualizada la lista, puedes usar los comandos <tt><a
   3.959 +href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y
   3.960 +listar las diferencias, puedes usar <code>list-mirror --diff</code>; y para ver
   3.961 +y actualizar paquetes, puedes usar el comando <tt><a
   3.962 +href="#upgrade">upgrade</a></tt>.</p>
   3.963 +
   3.964 +<pre>
   3.965 +# tazpkg recharge
   3.966 +# tazpkg recharge main
   3.967 +# tazpkg recharge <em>My_Undigest</em>
   3.968 +# tazpkg recharge --root=<em>/mnt/sda6</em>
   3.969 +</pre>
   3.970 +
   3.971 +
   3.972 +<h3 id="upgrade">up o upgrade</h3>
   3.973 +
   3.974 +<p>Upgrade te permite actualizar todos los paquetes instalados disponibles en el
   3.975 +espejo actual. Actualizar paquetes es una parte importante de la seguridad del
   3.976 +sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y
   3.977 +correcciones. El proyecto SliTaz, aunque sea pequeño, proporciona
   3.978 +actualizaciones regulares de seguridad y en general ofrece las ultimas versiones
   3.979 +de software. Tenga en cuenta que esta función esta dirigida a la gente con
   3.980 +SliTaz instalado en su disco duro. Los paquetes actualizados en el modo Live CD
   3.981 +se perderán al apagar el sistema. Para actualizar o mostrar todas las opciones
   3.982 +de <tt>up</tt>:</p>
   3.983 +
   3.984 +<pre>
   3.985 +# tazpkg upgrade
   3.986 +# tazpkg up --recharge --install
   3.987 +# tazpkg up -r -i
   3.988 +</pre>
   3.989 +
   3.990 +
   3.991 +<h3 id="setup-mirror">setup-mirror</h3>
   3.992 +
   3.993 +<p>Configura la dirección URL del espejo. El comando <tt>setup-mirror</tt> te
   3.994 +preguntará la dirección URL del nuevo espejo. Puedes especificar múltiples
   3.995 +direcciones URL separadas por espacios. Tenga en cuenta que también puede
   3.996 +modificar el archivo principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL
   3.997 +tiene que indicar el directorio que contiene el archivo <tt>packages.list</tt> y
   3.998 +los paquetes:</p>
   3.999 +
  3.1000 +<pre>
  3.1001 +# tazpkg setup-mirror
  3.1002 +</pre>
  3.1003 +
  3.1004 +
  3.1005 +<h3 id="add-undigest">add-undigest, setup-undigest</h3>
  3.1006 +
  3.1007 +<p>Establece la dirección URL de un espejo adicional no oficial para probar
  3.1008 +paquetes que todavía no están presentes en los espejos oficiales. Tenga en
  3.1009 +cuenta que también puede editar manualmente el archivo en
  3.1010 +<tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene
  3.1011 +que indicar el directorio que contiene los paquetes y el archivo
  3.1012 +<tt>packages.list</tt>:</p>
  3.1013 +
  3.1014  <pre>
  3.1015  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
  3.1016  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
  3.1017  </pre>
  3.1018  
  3.1019  
  3.1020 +<h3 id="list-undigest">list-undigest</h3>
  3.1021 +
  3.1022 +<p>Lista espejos no oficiales (undigest) adicionales.</p>
  3.1023 +
  3.1024 +<pre>
  3.1025 +# tazpkg list-undigest
  3.1026 +# tazpkg list-undigest --box
  3.1027 +</pre>
  3.1028 +
  3.1029 +
  3.1030  <h3 id="remove-undigest">remove-undigest</h3>
  3.1031  
  3.1032 -<p>
  3.1033 -Borra la dirección de un espejo no oficial (undigest):
  3.1034 -</p>
  3.1035 +<p>Borra la dirección de un espejo no oficial (undigest).</p>
  3.1036 +
  3.1037  <pre>
  3.1038  # tazpkg remove-undigest <em>my-repository</em>
  3.1039  </pre>
  3.1040  
  3.1041  
  3.1042 -<h3 id="list-undigest">list-undigest</h3>
  3.1043  
  3.1044 -<p>
  3.1045 -Lista espejos no oficiales (undigest) adicionales:
  3.1046 -</p>
  3.1047 -<pre>
  3.1048 -# tazpkg list-undigest
  3.1049 -</pre>
  3.1050 -
  3.1051 -
  3.1052 -<h3 id="convert">convert</h3>
  3.1053 -
  3.1054 -<p>
  3.1055 -Convierte los paquetes Debian (.deb), Redhat (.rpm), Slackware (.tgz) o 
  3.1056 -Archlinux (.pkg.tar.gz) en paquetes Slitaz (.tazpkg):
  3.1057 -</p>
  3.1058 -<pre>
  3.1059 -# tazpkg convert <em>alien-package</em>
  3.1060 -</pre>
  3.1061 -
  3.1062 -
  3.1063 -<h3 id="set-release">set-release</h3>
  3.1064 -<p>
  3.1065 -El comando <tt>set-release</tt> cambia la versión actual y actualiza todos los 
  3.1066 -paquetes a la última versión:
  3.1067 -</p>
  3.1068 -<pre>
  3.1069 -# tazpkg set-release <em>cooking</em>
  3.1070 -</pre>
  3.1071 -
  3.1072 -
  3.1073 -<h3 id="bugs">bugs</h3>
  3.1074 -<p>
  3.1075 -Genera una lista de los errores (bugs) conocidos de los paquetes:
  3.1076 -</p>
  3.1077 -<pre>
  3.1078 -# tazpkg bugs
  3.1079 -</pre>
  3.1080  
  3.1081  <h2>ENCARGADO DE MANTENIMIENTO</h2>
  3.1082 -<p>
  3.1083 -Christophe Lincoln &lt;pankso en slitaz.org&gt;
  3.1084 -</p>
  3.1085 +
  3.1086 +<p>Christophe Lincoln &lt;pankso en slitaz.org&gt;</p>
  3.1087  
  3.1088  </div>
  3.1089  <!-- End content -->
  3.1090  </body>
  3.1091  </html>
  3.1092 -
     4.1 --- a/doc/tazpkg.fr.html	Sun May 31 12:40:55 2015 -0400
     4.2 +++ b/doc/tazpkg.fr.html	Thu Jun 04 00:15:13 2015 +0300
     4.3 @@ -1,26 +1,25 @@
     4.4  <!DOCTYPE html>
     4.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
     4.6 +<html lang="fr">
     4.7  <head>
     4.8 +	<meta charset="utf-8" />
     4.9  	<title>Manuel de TazPkg (fr)</title>
    4.10 -	<meta charset="utf-8" />
    4.11  	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    4.12 +	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    4.13  	<script type="text/javascript" src="../slitaz-doc.js"></script>
    4.14  </head>
    4.15  <body>
    4.16  
    4.17 -<!-- Header -->
    4.18 -<div id="header">
    4.19 +<header>
    4.20  	<h1>Manuel de TazPkg</h1>
    4.21 -</div>
    4.22 +</header>
    4.23  
    4.24  <!-- Start content -->
    4.25  <div id="content">
    4.26  
    4.27 +
    4.28  <h2>NOM</h2>
    4.29  
    4.30 -<p>
    4.31 -	TazPkg - Tiny autonomous zone package manager
    4.32 -</p>
    4.33 +<p>	TazPkg — Tiny autonomous zone package manager</p>
    4.34  
    4.35  
    4.36  <h2>SYNTAXE</h2>
    4.37 @@ -33,525 +32,748 @@
    4.38  
    4.39  <h2>DESCRIPTION</h2>
    4.40  
    4.41 -<p>
    4.42 -TazPkg est un gestionnaire de paquets ultra léger (~35 Ko) permettant
    4.43 -d'installer, lister, télécharger, mettre à jour ou enlever des paquets
    4.44 -précompilés sur un système GNU/Linux. TazPkg propose aussi une commande de
    4.45 -recherche et une commande pour la création de paquets. Il a été créé pour les
    4.46 -besoins de SliTaz GNU/Linux, mini distribution autonome. Le format des paquets
    4.47 -utilise l'extension *.tazpkg, c'est une archive cpio contenant un système de
    4.48 -fichiers (fs) compressé avec gzip, la recette et une éventuelle description.
    4.49 -TazPkg fournit aussi un système de gestion des dépendances basé sur les
    4.50 -recettes des paquets. La recette contient toutes les informations au sujet du
    4.51 -paquet, elle peut aussi contenir les fonctions de pre et post installation.
    4.52 -Cette même recette est par ailleurs utilisée par Cookutils pour compiler les
    4.53 -sources et créer un paquet tazpkg.
    4.54 -</p>
    4.55 -<p>
    4.56 -TazPkg est écrit en script shell depuis rien (from scratch), compatible
    4.57 -Bash, et fonctionne avec Ash du projet Busybox. TazPkg est distribué
    4.58 -sous license libre GNU gpl v3.
    4.59 -</p>
    4.60 +<p>TazPkg est un gestionnaire de paquets léger permettant d'installer, lister,
    4.61 +télécharger, mettre à jour ou enlever des paquets précompilés sur un système
    4.62 +GNU/Linux. TazPkg propose aussi une commande de recherche et une commande pour
    4.63 +la création de paquets. Il a été créé pour les besoins de SliTaz GNU/Linux, mini
    4.64 +distribution autonome. Le format des paquets utilise l'extension *.tazpkg, c'est
    4.65 +une archive cpio contenant un système de fichiers (fs) compressé avec gzip, la
    4.66 +recette et une éventuelle description. TazPkg fournit aussi un système de
    4.67 +gestion des dépendances basé sur les recettes des paquets. La recette contient
    4.68 +toutes les informations au sujet du paquet, elle peut aussi contenir les
    4.69 +fonctions de pre et post installation. Cette même recette est par ailleurs
    4.70 +utilisée par Cookutils pour compiler les sources et créer un paquet tazpkg.</p>
    4.71  
    4.72 +<p>TazPkg est écrit en script shell depuis rien (from scratch), compatible Bash,
    4.73 +et fonctionne avec Ash du projet Busybox. TazPkg est distribué sous license
    4.74 +libre GNU gpl v3.</p>
    4.75  
    4.76 -<h2>SHELL</h2>
    4.77 -
    4.78 -<p>
    4.79 -TazPkg fourni un mode SHell permettant de directement passer les commandes
    4.80 -au gestionnaire de paquets. Ce mode est utile pour lancer quelques commandes
    4.81 -comme la mise à jour du système, il support 'su' pour devenir admnistrateur
    4.82 -mais ne propose pas le rappel des commandes. Pour utiliser TazPkg en mode 
    4.83 -SHell :
    4.84 -</p>
    4.85 -<pre>
    4.86 -$ tazpkg shell
    4.87 -</pre>
    4.88  
    4.89  
    4.90  <h2>COMMANDES</h2>
    4.91  
    4.92  
    4.93 +<h3>Service commands</h3>
    4.94 +
    4.95 +<ul>
    4.96 +	<li><a href="#usage">usage</a> : affiche cette notice d'utilisation</li>
    4.97 +	<li><a href="#help">help</a> : show help on the TazPkg commands</li>
    4.98 +	<li><a href="#activity">activity</a> : affiche les denières actions de
    4.99 +		TazPkg</li>
   4.100 +	<li><a href="#clean-cache">clean-cache</a> : efface tous les paquets
   4.101 +		téléchargés dans le répertoire cache</li>
   4.102 +	<li><a href="#shell">shell</a> : run interactive TazPkg shell</li>
   4.103 +</ul>
   4.104 +
   4.105 +
   4.106 +<h3>Working with lists</h3>
   4.107 +
   4.108 +<ul>
   4.109 +	<li><a href="#list">list</a> : liste les paquets installés</li>
   4.110 +	<li><a href="#list-mirror">list-mirror</a> : liste les paquets
   4.111 +		disponibles</li>
   4.112 +	<li><a href="#list-config">list-config</a> : liste les fichiers de
   4.113 +		configuration</li>
   4.114 +</ul>
   4.115 +
   4.116 +
   4.117 +<h3>Cherche</h3>
   4.118 +
   4.119 +<ul>
   4.120 +	<li><a href="#search">search</a> : cherche un paquet avec un motif/nom</li>
   4.121 +	<li><a href="#search-pkgname">search-pkgname</a> : cherche un paquet
   4.122 +		contenant un fichier particulier</li>
   4.123 +	<li><a href="#search-file">search-file</a> : cherche le fichier parmi les
   4.124 +		paquets installés</li>
   4.125 +</ul>
   4.126 +
   4.127 +
   4.128 +<h3>Installing and removing packages</h3>
   4.129 +
   4.130 +<ul>
   4.131 +	<li><a href="#get">get</a> : télécharge un paquet dans le répertoire
   4.132 +		courrant</li>
   4.133 +	<li><a href="#install">install</a> : installe un paquet local</li>
   4.134 +	<li><a href="#get-install">get-install</a> : télécharge et installe un
   4.135 +		paquet depuis le miroir</li>
   4.136 +	<li><a href="#install-list">install-list</a> : installe tous les paquets
   4.137 +		d'une liste</li>
   4.138 +	<li><a href="#install-list">get-install-list</a> : télécharge et installe
   4.139 +		une liste de paquets</li>
   4.140 +	<li><a href="#remove">remove</a> : retire le paquet spécifié et tous ses
   4.141 +		fichiers</li>
   4.142 +	<li><a href="#reconfigure">reconfigure</a> : ré-exécute le script
   4.143 +		post-installation d'un paquet</li>
   4.144 +	<li><a href="#link">link</a> : lie un paquet depuis une autre installation
   4.145 +		SliTaz</li>
   4.146 +	<li><a href="#set-release">set-release</a> : change de version et met à jour
   4.147 +		les paquets</li>
   4.148 +	<li><a href="#add-flavor">add-flavor</a> : installe les paquets d'une
   4.149 +		saveur</li>
   4.150 +	<li><a href="#add-flavor">install-flavor</a> : installe les paquets d'une
   4.151 +		saveur et retire les autres</li>
   4.152 +</ul>
   4.153 +
   4.154 +
   4.155 +<h3>Working with packages</h3>
   4.156 +
   4.157 +<ul>
   4.158 +	<li><a href="#info">info</a> : affiche les informations à propos d'un
   4.159 +		paquet</li>
   4.160 +	<li><a href="#desc">desc</a> : affiche la description d'un paquet</li>
   4.161 +	<li><a href="#list-files">list-files</a> : liste les fichiers installés par
   4.162 +		un paquet</li>
   4.163 +	<li><a href="#block">block, unblock</a> : bloque/débloque un paquet installé
   4.164 +		pour la mise à jour</li>
   4.165 +	<li><a href="#check">check</a> : vérifie la consistance des paquets
   4.166 +		installés</li>
   4.167 +	<li><a href="#bugs">bugs</a> : affiche les bugs connus des paquets</li>
   4.168 +	<li><a href="#depends">depends</a> : affiche l'arbre des dépendances</li>
   4.169 +	<li><a href="#depends">rdepends</a> : affiche l'arbre des dépendances
   4.170 +		inverses</li>
   4.171 +	<li><a href="#extract">extract</a> : extrait un paquet (*.tazpkg) dans un
   4.172 +		répertoire</li>
   4.173 +	<li><a href="#pack">pack</a> : empaqueter un paquet décompressé ou préparer
   4.174 +		l'arborescence de celui-ci</li>
   4.175 +	<li><a href="#repack">repack</a> : re-créé un paquet depuis le paquet
   4.176 +		installé</li>
   4.177 +	<li><a href="#repack-config">repack-config</a> : créé un paquet avec les
   4.178 +		fichiers de configuration système</li>
   4.179 +	<li><a href="#recompress">recompress</a> : reconstruit un paquet avec le
   4.180 +		meilleur ratio de compression</li>
   4.181 +	<li><a href="#convert">convert</a> : convertit un paquet d'une autre
   4.182 +		distribution vers SliTaz</li>
   4.183 +	<li><a href="#list-suggested">list-suggested</a> : print list of suggested
   4.184 +		packages</li>
   4.185 +</ul>
   4.186 +
   4.187 +
   4.188 +<h3>Working with repositories</h3>
   4.189 +
   4.190 +<ul>
   4.191 +	<li><a href="#recharge">recharge</a> : recharge votre packages.info depuis
   4.192 +		un miroir</li>
   4.193 +	<li><a href="#upgrade">upgrade</a> : vérifiez le paquet à la liste et
   4.194 +		installer la dernière mise à jour</li>
   4.195 +	<li><a href="#setup-mirror">setup-mirror</a> : change l'URL du miroir</li>
   4.196 +	<li><a href="#add-undigest">setup-undigest</a> : met à jour un miroir
   4.197 +		indigeste</li>
   4.198 +	<li><a href="#list-undigest">list-undigest</a> : liste les miroirs
   4.199 +		indigestes</li>
   4.200 +	<li><a href="#add-undigest">add-undigest</a> : ajoute un miroir
   4.201 +		indigeste</li>
   4.202 +	<li><a href="#remove-undigest">remove-undigest</a> : retire un miroir
   4.203 +		indigeste</li>
   4.204 +</ul>
   4.205 +
   4.206 +
   4.207 +
   4.208 +
   4.209 +<h2>Service commands</h2>
   4.210 +
   4.211 +
   4.212 +<h3 id="usage">usage</h3>
   4.213 +
   4.214 +<p>Show the full list of the TazPkg commands with a brief description.</p>
   4.215 +
   4.216 +<pre>
   4.217 +$ tazpkg usage
   4.218 +$ tazpkg
   4.219 +</pre>
   4.220 +
   4.221 +
   4.222 +<h3 id="help">help</h3>
   4.223 +
   4.224 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   4.225 +enter a short name of the command, the full name or a part of the full name. You
   4.226 +can ignore hyphens at the beginning of the short name. If the requested part of
   4.227 +the full name match the several commands, you will be asked to clarify the
   4.228 +request.</p>
   4.229 +
   4.230 +<pre>
   4.231 +$ tazpkg help <em>-gi</em>
   4.232 +$ tazpkg -h <em>us</em>
   4.233 +</pre>
   4.234 +
   4.235 +
   4.236 +<h3 id="activity">activity</h3>
   4.237 +
   4.238 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   4.239 +<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   4.240 +lines.</p>
   4.241 +
   4.242 +<pre>
   4.243 +$ tazpkg activity
   4.244 +$ tazpkg -a --nb=<em>20</em>
   4.245 +</pre>
   4.246 +
   4.247 +
   4.248 +<h3 id="clean-cache">clean-cache</h3>
   4.249 +
   4.250 +<p>Supprimer les paquets TazPkg téléchargés dans le cache. Lors de
   4.251 +l'installation de paquets via le Web, TazPkg garde une copie du paquet, cela est
   4.252 +fait pour gagner de la bande passante en cas de réinstallation, mais il se peut
   4.253 +que vous vouliez libérer de la place sur le disque dur ou que vous désiriez
   4.254 +retélécharger des paquets :</p>
   4.255 +
   4.256 +<pre>
   4.257 +# tazpkg clean-cache
   4.258 +# tazpkg -cc
   4.259 +</pre>
   4.260 +
   4.261 +
   4.262 +<h3 id="shell">shell</h3>
   4.263 +
   4.264 +<p>TazPkg fourni un mode SHell permettant de directement passer les commandes au
   4.265 +gestionnaire de paquets. Ce mode est utile pour lancer quelques commandes comme
   4.266 +la mise à jour du système, il support 'su' pour devenir admnistrateur mais ne
   4.267 +propose pas le rappel des commandes. Pour utiliser TazPkg en mode SHell :</p>
   4.268 +
   4.269 +<pre>
   4.270 +$ tazpkg shell
   4.271 +# tazpkg shell
   4.272 +</pre>
   4.273 +
   4.274 +
   4.275 +
   4.276 +
   4.277 +<h2>Working with lists</h2>
   4.278 +
   4.279 +
   4.280  <h3 id="list">list</h3>
   4.281  
   4.282 -<p>
   4.283 -Liste et compte les paquets installés sur le système. Cette commande permet
   4.284 +<p>Liste et compte les paquets installés sur le système. Cette commande permet
   4.285  d'afficher sur une colonne la liste tous les paquets installés, vous pouvez
   4.286  aussi utiliser la commande de recherche (search) pour avoir une liste en
   4.287 -fonction d'un nom (exemple xorg). Cette commande vous permet aussi de lister
   4.288 -les catégories, les paquets en fonction de leur catégorie et les paquets 
   4.289 -bloqués :
   4.290 -</p>
   4.291 +fonction d'un nom (exemple xorg). Cette commande vous permet aussi de lister les
   4.292 +catégories, les paquets en fonction de leur catégorie et les paquets
   4.293 +bloqués :</p>
   4.294  <pre>
   4.295 -# tazpkg list
   4.296 -# tazpkg list cat|categories
   4.297 -# tazpkg list blocked
   4.298 -</pre>
   4.299 -
   4.300 -
   4.301 -<h3 id="xhtml-list">xhtml-list</h3>
   4.302 -
   4.303 -<p>
   4.304 -La commande 'xhtml-list' permet de créer une liste au format xHTML des
   4.305 -paquets installés sur le système, une fois générée, cette liste peut être 
   4.306 -lue avec votre navigateur Web préféré. Cette commande peut être lancée
   4.307 -en tant que simple utilisateur et crée par défaut une liste nommée 
   4.308 -'installed-packages.html' dans le répertoire courant. A noter que vous
   4.309 -pouvez aussi changer le nom de la liste générée via la ligne de
   4.310 -commande :
   4.311 -</p>
   4.312 -<pre>
   4.313 -# tazpkg xhtml-list
   4.314 -# tazpkg xhtml-list list-name.html
   4.315 +$ tazpkg list
   4.316 +$ tazpkg list cat
   4.317 +$ tazpkg list <em>games</em>
   4.318 +$ tazpkg list <em>jeux</em>
   4.319 +$ tazpkg list blocked
   4.320  </pre>
   4.321  
   4.322  
   4.323  <h3 id="list-mirror">list-mirror</h3>
   4.324  
   4.325 -<p>
   4.326 -Liste et compte les paquets disponnibles sur le miroir. Cette commande va
   4.327 -afficher le dernier fichier packages.list rechargé depuis le miroir, si la
   4.328 -liste des paquets n'existe pas, il vous sera demandé de lancer la commande
   4.329 -'tazpkg recharge' en tant qu'administrateur (root) pour obtenir la liste
   4.330 -des paquets disponibles. L'option --diff est utilisée pour afficher le
   4.331 -fichier des différences entre la dernière et l'actuelle liste des paquets :
   4.332 -</p>
   4.333 +<p>Liste et compte les paquets disponnibles sur le miroir. Cette commande va
   4.334 +afficher le dernier fichier packages.list rechargé depuis le miroir, si la liste
   4.335 +des paquets n'existe pas, il vous sera demandé de lancer la commande
   4.336 +<code>tazpkg <a href="#recharge">recharge</a></code> en tant qu'administrateur
   4.337 +(root) pour obtenir la liste des paquets disponibles. L'option <tt>--diff</tt>
   4.338 +est utilisée pour afficher le fichier des différences entre la dernière et
   4.339 +l'actuelle liste des paquets.</p>
   4.340 +
   4.341  <pre>
   4.342 -# tazpkg list-mirror
   4.343 -# tazpkg list-mirror --diff
   4.344 +$ tazpkg list-mirror
   4.345 +$ tazpkg -lm --diff
   4.346  </pre>
   4.347  
   4.348  
   4.349 +<h3 id="list-config">list-config</h3>
   4.350 +
   4.351 +<p>Lists the system configuration files. The <tt>--box</tt> option displays in
   4.352 +table form. You can specify package name to display configuration files only for
   4.353 +this package.</p>
   4.354 +
   4.355 +<pre>
   4.356 +$ tazpkg list-config
   4.357 +$ tazpkg list-config --box
   4.358 +$ tazpkg list-config <em>slim</em>
   4.359 +$ tazpkg list-config --box <em>slim</em>
   4.360 +</pre>
   4.361 +
   4.362 +
   4.363 +
   4.364 +
   4.365 +<h2>Search</h2>
   4.366 +
   4.367 +
   4.368 +<h3 id="search">search</h3>
   4.369 +
   4.370 +<p>Recherche de paquets par patron ou nom de paquet. La commande va chercher le
   4.371 +terme voulu dans les paquets installés et dans les listes des paquets
   4.372 +disponibles sur le miroir.</p>
   4.373 +
   4.374 +<p>Pour obtenir la plus récente liste des paquets installables depuis internet,
   4.375 +il suffit de lancer <code>tazpkg recharge</code> avant d'effectuer une
   4.376 +recherche :</p>
   4.377 +
   4.378 +<pre>
   4.379 +$ tazpkg search <em>gcc</em>
   4.380 +$ tazpkg search <em>mt</em> -i
   4.381 +$ tazpkg search <em>bit</em> -l
   4.382 +</pre>
   4.383 +
   4.384 +
   4.385 +<h3 id="search-pkgname">search-pkgname</h3>
   4.386 +
   4.387 +<p>Search for a file on mirror and output only the packages names
   4.388 +(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   4.389 +
   4.390 +<pre>
   4.391 +$ tazpkg search-pkgname <em>libnss</em>
   4.392 +$ tazpkg -sp <em>/usr/share/fonts</em>
   4.393 +</pre>
   4.394 +
   4.395 +
   4.396 +<h3 id="search-file">search-file</h3>
   4.397 +
   4.398 +<p>La commande <tt>search-file</tt> permet de rechercher un fichier parmi tous
   4.399 +les fichiers installés par tous les paquets. Cette commande est très utile pour
   4.400 +trouver le chemin complet vers un fichier et savoir si un fichier est bien
   4.401 +présent sur le système.</p>
   4.402 +
   4.403 +<pre>
   4.404 +$ tazpkg search-file <em>libnss</em>
   4.405 +$ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   4.406 +</pre>
   4.407 +
   4.408 +
   4.409 +
   4.410 +
   4.411 +<h2>Installing and removing packages</h2>
   4.412 +
   4.413 +
   4.414 +<h3 id="get">get</h3>
   4.415 +
   4.416 +<p>Télécharge un paquet depuis le miroir (si il existe). Le paquet téléchargé
   4.417 +est stocké dans le répertoire courant, pour connaître le chemin vous pouvez
   4.418 +utiliser la commande <code>pwd</code>.</p>
   4.419 +
   4.420 +<pre>
   4.421 +# tazpkg get <em>grub</em>
   4.422 +# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   4.423 +</pre>
   4.424 +
   4.425 +
   4.426 +<h3 id="install">install</h3>
   4.427 +
   4.428 +<p>Cette commande permet l'installation d'un paquet local avec l'extension
   4.429 +<tt>.tazpkg</tt>. Voir la commande <tt>get-install</tt> pour installer un paquet
   4.430 +depuis internet. A noter que vous  pouvez forcer l'installation via l'option
   4.431 +<tt>--forced</tt>, désinstaller et réinstaller ou encore spécifier la racine du
   4.432 +système dans lequel vous désirez installer le paquets via l'option
   4.433 +<tt>--root=</tt> :</p>
   4.434 +
   4.435 +<pre>
   4.436 +# tazpkg install <em>package-1.0.tazpkg</em>
   4.437 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   4.438 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   4.439 +</pre>
   4.440 +
   4.441 +
   4.442 +<h3 id="get-install">get-install</h3>
   4.443 +
   4.444 +<p>Installer un paquet depuis un mirroir sur internet. La commande
   4.445 +<tt>get-install</tt> commence par vérifier si le paquet existe bien sur le
   4.446 +miroir et si il n'a pas déjà été téléchargé, avant de commencer le rapatriement.
   4.447 +Pour connaître la liste des paquets sur le miroir il faut utiliser la commande
   4.448 +<tt><a href="#list-mirror">list-mirror</a></tt> (voir aussi recharge).</p>
   4.449 +
   4.450 +<pre>
   4.451 +# tazpkg get-install <em>grub</em>
   4.452 +# tazpkg -gi <em>grub</em> --forced
   4.453 +# tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   4.454 +</pre>
   4.455 +
   4.456 +
   4.457 +<h3 id="install-list">install-list, get-install-list</h3>
   4.458 +
   4.459 +<p>Installation d'un set de paquets listés dans un fichier. Cette commande
   4.460 +permet d'installer plusieurs paquets en une seule commande et peut aussi être
   4.461 +forcée :</p>
   4.462 +
   4.463 +<pre>
   4.464 +# tazpkg install-list <em>my-packages.list</em>
   4.465 +# tazpkg get-install-list <em>my-packages.list</em> --forced
   4.466 +</pre>
   4.467 +
   4.468 +
   4.469 +<h3 id="remove">remove</h3>
   4.470 +
   4.471 +<p>Désinstallation d'un paquet, il vous sera demandé confirmation (y/N). Cette
   4.472 +commande va supprimer tous les fichiers installés avec le paquet, pour afficher
   4.473 +cette liste, vous pouvez utiliser la commande <tt>list-files</tt> de TazPkg
   4.474 +suivie du nom du paquet en question.</p>
   4.475 +
   4.476 +<pre>
   4.477 +# tazpkg remove <em>bc</em>
   4.478 +# tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   4.479 +# tazpkg -r <em>nano</em> --auto
   4.480 +</pre>
   4.481 +
   4.482 +
   4.483 +<h3 id="reconfigure">reconfigure</h3>
   4.484 +
   4.485 +<p>La commande <tt>reconfigure</tt> permet de relancer les commande de post et
   4.486 +pre-installation d'un paquet afin de le reconfigurer si besoin est :</p>
   4.487 +
   4.488 +<pre>
   4.489 +# tazpkg reconfigure <em>gcc</em>
   4.490 +# tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   4.491 +</pre>
   4.492 +
   4.493 +
   4.494 +<h3 id="link">link</h3>
   4.495 +
   4.496 +<p>Cette commande permet l'installation d'un paquet déjà installé sur un autre
   4.497 +media. Cette installation s'effectue par des liens symboliques et consomme très
   4.498 +peu de mémoire. Elle est utilisée généralement avec un système en RAM pour
   4.499 +installer des compléments depuis une clé USB.</p>
   4.500 +
   4.501 +<pre>
   4.502 +# tazpkg link <em>openoffice /media/usbdisk</em>
   4.503 +</pre>
   4.504 +
   4.505 +
   4.506 +<h3 id="set-release">set-release</h3>
   4.507 +
   4.508 +<p>La commande <tt>set-release</tt> permet de changer la version de SliTaz et de
   4.509 +mettre à jour tous les paquets. Attention cette commande peut être dangereuse
   4.510 +dans la cas d'une mise à jour de la version stable version en cuisson
   4.511 +(cooking) :</p>
   4.512 +
   4.513 +<pre>
   4.514 +# tazpkg set-release <em>cooking</em>
   4.515 +</pre>
   4.516 +
   4.517 +
   4.518 +<h3 id="add-flavor">add-flavor, install-flavor</h3>
   4.519 +
   4.520 +<p>Installation d'un set de paquets listés dans une saveur. Cette commande
   4.521 +permet d'installer tous les paquets d'une saveur en une seule commande sans
   4.522 +avoir à générer un nouveau CD ROM avec tazlito.</p>
   4.523 +
   4.524 +<pre>
   4.525 +# tazpkg add-flavor <em>gtkonly</em>
   4.526 +# tazpkg install-flavor <em>justx</em>
   4.527 +</pre>
   4.528 +
   4.529 +
   4.530 +<!--h3 id="install-flavor">install-flavor</h3>
   4.531 +
   4.532 +<p>Remplacement de tous les paquets par ceux listés dans une saveur. Cette
   4.533 +commande permet de transformer la distribution courante en une seule commande
   4.534 +sans avoir à générer un nouveau cdrom avec tazlito.</p>
   4.535 +
   4.536 +<pre>
   4.537 +# tazpkg install-flavor office.flavor
   4.538 +</pre-->
   4.539 +
   4.540 +
   4.541 +
   4.542 +
   4.543 +<h2>Working with packages</h2>
   4.544 +
   4.545 +
   4.546  <h3 id="info">info</h3>
   4.547  
   4.548 -<p>
   4.549 -Donne les informations disponibles dans la recette du paquet en question, sa
   4.550 +<p>Donne les informations disponibles dans la recette du paquet en question, sa
   4.551  version, sa catégorie, le mainteneur, son site Web et ses éventuelles
   4.552 -dépendances (voir aussi Cookutils pour plus d'informations sur les recettes) :
   4.553 -</p>
   4.554 +dépendances (voir aussi Cookutils pour plus d'informations sur les
   4.555 +recettes) :</p>
   4.556 +
   4.557  <pre>
   4.558 -# tazpkg info busybox
   4.559 +$ tazpkg info <em>busybox</em>
   4.560  </pre>
   4.561  
   4.562  
   4.563  <h3 id="desc">desc</h3>
   4.564  
   4.565 -<p>
   4.566 -Description du paquet (si elle existe). Cette commande affiche le fichier
   4.567 -description.txt propre à chaque paquet, la description est un simple fichier
   4.568 -texte ne dépassant pas le 80 caractères pour un affichage standard dans un
   4.569 -terminal. Si la description du paquet n'existe pas, vous pouvez la créer et
   4.570 -l'envoyer au mainteneur du paquet (quelques lignes suffisent) :
   4.571 -</p>
   4.572 +<p>Description du paquet (si elle existe). Cette commande affiche le fichier
   4.573 +<tt>description.txt</tt> propre à chaque paquet, la description est un simple
   4.574 +fichier texte ne dépassant pas le 80 caractères pour un affichage standard dans
   4.575 +un terminal. Si la description du paquet n'existe pas, vous pouvez la créer et
   4.576 +l'envoyer au mainteneur du paquet (quelques lignes suffisent) :</p>
   4.577 +
   4.578  <pre>
   4.579 -# tazpkg desc busybox
   4.580 +$ tazpkg desc <em>busybox</em>
   4.581  </pre>
   4.582  
   4.583  
   4.584  <h3 id="list-files">list-files</h3>
   4.585  
   4.586 -<p>
   4.587 -Liste et compte les fichiers installés avec un paquet. Cette commande va
   4.588 -simplement lire et classer le fichier files.list propre à chaque paquet, ce
   4.589 -fichier est généré automatiquement lors de la création, il est aussi utilisé
   4.590 -pour supprimer tous les fichiers lors de la désinstallation d'un paquet. Pour
   4.591 -lister les fichier installés avec le paquet bc :
   4.592 -</p>
   4.593 +<p>Liste et compte les fichiers installés avec un paquet. Cette commande va
   4.594 +simplement lire et classer le fichier <tt>files.list</tt> propre à chaque
   4.595 +paquet, ce fichier est généré automatiquement lors de la création, il est aussi
   4.596 +utilisé pour supprimer tous les fichiers lors de la désinstallation d'un
   4.597 +paquet.</p>
   4.598 +
   4.599  <pre>
   4.600 -# tazpkg list-files bc
   4.601 +$ tazpkg list-files <em>bc</em>
   4.602  </pre>
   4.603  
   4.604  
   4.605 -<h3 id="search">search</h3>
   4.606 +<h3 id="block">block, unblock</h3>
   4.607  
   4.608 -<p>
   4.609 -Recherche de paquets par patron ou nom de paquet. La commande 
   4.610 -va chercher le terme voulu dans les paquets installés et dans les listes des
   4.611 -paquets disponibles sur le miroir. Pour obtenir la plus récente liste des
   4.612 -paquets installables depuis internet, il suffit de lancer 'tazpkg recharge'
   4.613 -avant d'effectuer une recherche :
   4.614 -</p>
   4.615 +<p>Les commandes <tt>block</tt> et <tt>unblock</tt> pemettent de bloquer la
   4.616 +version du paquet installé pour qu'il ne soit pas mis à jour par la commande
   4.617 +<tt>upgrade</tt>. La liste des paquets bloqués est contenue dans le fichier :
   4.618 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>, elle peut aussi être éditée à la
   4.619 +main.</p>
   4.620 +
   4.621  <pre>
   4.622 -# tazpkg search gcc
   4.623 -# tazpkg search gcc [--installed|--list|--mirror]
   4.624 -</pre>
   4.625 -<p>Ou :</p>
   4.626 -<pre>
   4.627 -# tazpkg search gcc [-i|-l|-m]
   4.628 +# tazpkg block <em>grub</em>
   4.629 +# tazpkg unblock <em>grub</em>
   4.630 +# tazpkg chblock <em>grub</em>
   4.631  </pre>
   4.632  
   4.633  
   4.634 -<h3 id="search-files">search-files</h3>
   4.635 +<h3 id="check">check</h3>
   4.636  
   4.637 -<p>
   4.638 -La commande 'search-file' permet de rechercher un fichier parmi tous les
   4.639 -fichiers installés par tous les paquets. Cette commande est très utile pour
   4.640 -trouver le chemin complet vers un fichier et savoir si un fichier est bien
   4.641 -présent sur le système. Exemple :
   4.642 -</p>
   4.643 +<p>La commande <tt>check</tt> permet de vérifier les dépendances sur les paquets
   4.644 +installés et de vérifier si tous les fichiers nécessaires à la reconstruction
   4.645 +des paquets sont bien présents :</p>
   4.646 +
   4.647  <pre>
   4.648 -$ tazpkg search-file libnss
   4.649 +$ tazpkg check
   4.650 +$ tazpkg check --full
   4.651 +$ tazpkg check <em>nano</em>
   4.652 +$ tazpkg check <em>sakura</em> --full
   4.653  </pre>
   4.654  
   4.655  
   4.656 -<h3 id="install">install</h3>
   4.657 +<h3 id="bugs">bugs</h3>
   4.658  
   4.659 -<p>
   4.660 -Cette commande permet l'installation d'un paquet local avec l'extension 
   4.661 -.tazpkg. Voir la commande 'get-install' pour installer un paquet depuis
   4.662 -internet. A noter que vous  pouvez forcer l'installation via l'option
   4.663 ---forced, désinstaller et réinstaller ou encore spécifier la racine du système
   4.664 -dans lequel vous désirez installer le paquets via l'option --root= :
   4.665 -</p>
   4.666 +<p>Affiche les bugs connus :</p>
   4.667 +
   4.668  <pre>
   4.669 -# tazpkg install package-1.0.tazpkg
   4.670 -</pre>
   4.671 -<p>Ou :</p>
   4.672 -<pre>
   4.673 -# tazpkg install path/to/package-1.0.tazpkg --forced
   4.674 -</pre>
   4.675 -<p>Ou :</p>
   4.676 -<pre>
   4.677 -# tazpkg install path/to/package-1.0.tazpkg --root=/mnt/rootfs
   4.678 +$ tazpkg bugs
   4.679 +$ tazpkg bugs <em>my_package</em>
   4.680  </pre>
   4.681  
   4.682  
   4.683 -<h3 id="install-list">install-list</h3>
   4.684 +<h3 id="depends">depends, rdepends</h3>
   4.685  
   4.686 -<p>
   4.687 -Installation d'un set de paquets listés dans un fichier. Cette commande
   4.688 -permet d'installer plusieurs paquets en une seule commande et peut aussi être
   4.689 -forcée :
   4.690 -</p>
   4.691 +<p>Affiche l'arbre des dépendances d'un paquet, c'est à dire tous les paquets
   4.692 +qui devront être installés en plus :</p>
   4.693 +
   4.694  <pre>
   4.695 -# tazpkg install-list my-packages.list
   4.696 -# tazpkg install-list my-packages.list --forced
   4.697 +# tazpkg depends <em>mpd</em>
   4.698 +# tazpkg rdepends <em>mpd</em>
   4.699  </pre>
   4.700  
   4.701  
   4.702 -<h3 id="link">link</h3>
   4.703 +<!--h3 id="rdepend">rdepend</h3>
   4.704  
   4.705 -<p>
   4.706 -Cette commande permet l'installation d'un paquet déjà installé sur un
   4.707 -autre media. Cette installation s'effectue par des liens symboliques et
   4.708 -consomme très peu de mémoire. Elle est utilisée généralement avec un système
   4.709 -en RAM pour installer des compléments depuis une clé USB. 
   4.710 -</p>
   4.711 +<p>Affiche l'arbre des dépendances inversé d'un paquet, c'est à dire tous les
   4.712 +paquets qui en dépendent directement ou indirectement :</p>
   4.713 +
   4.714  <pre>
   4.715 -# tazpkg link openoffice /media/usbdisk
   4.716 -</pre>
   4.717 -
   4.718 -
   4.719 -<h3 id="add-flavor">add-flavor</h3>
   4.720 -
   4.721 -<p>
   4.722 -Installation d'un set de paquets listés dans une saveur. Cette commande
   4.723 -permet d'installer tous les paquets d'une saveur en une seule commande sans
   4.724 -avoir à générer un nouveau cdrom avec tazlito.
   4.725 -</p>
   4.726 -<pre>
   4.727 -# tazpkg add-flavor office.flavor
   4.728 -</pre>
   4.729 -
   4.730 -
   4.731 -<h3 id="install-flavor">install-flavor</h3>
   4.732 -
   4.733 -<p>
   4.734 -Remplacement de tous les paquets par ceux listés dans une saveur. Cette
   4.735 -commande permet de transformer la distribution courante en une seule commande
   4.736 -sans avoir à générer un nouveau cdrom avec tazlito.
   4.737 -</p>
   4.738 -<pre>
   4.739 -# tazpkg install-flavor office.flavor
   4.740 -</pre>
   4.741 -
   4.742 -
   4.743 -<h3 id="remove">remove</h3>
   4.744 -
   4.745 -<p>
   4.746 -Désinstallation d'un paquet, il vous sera demandé confirmation (y/N). Cette
   4.747 -commande va supprimer tous les fichiers installés avec le paquet, pour
   4.748 -afficher cette liste, vous pouvez utiliser la commande 'list-files' de TazPkg
   4.749 -suivie du nom du paquet en question. Exemple avec le paquet bc :
   4.750 -</p>
   4.751 -<pre>
   4.752 -# tazpkg remove bc
   4.753 -</pre>
   4.754 +# tazpkg rdepend package
   4.755 +</pre-->
   4.756  
   4.757  
   4.758  <h3 id="extract">extract</h3>
   4.759  
   4.760 -<p>
   4.761 -Extraire un paquet dans un répertoire donné. Si vous ne spécifiez pas le
   4.762 -répertoire de destination, le paquet sera extrait dans le répertoire courant
   4.763 -en utilisant le nom paquet-version :
   4.764 -</p>
   4.765 +<p>Extraire un paquet dans un répertoire donné. Si vous ne spécifiez pas le
   4.766 +répertoire de destination, le paquet sera extrait dans le répertoire courant en
   4.767 +utilisant le nom <tt><em>paquet-version</em></tt> :</p>
   4.768 +
   4.769  <pre>
   4.770 -# tazpkg extract package.tazpkg
   4.771 -# tazpkg extract package.tazpkg target/dir
   4.772 +$ tazpkg extract <em>paquet.tazpkg</em>
   4.773 +$ tazpkg extract <em>paquet.tazpkg target/dir</em>
   4.774  </pre>
   4.775  
   4.776  
   4.777  <h3 id="pack">pack</h3>
   4.778  
   4.779 -<p>
   4.780 -La commande 'pack' permet de créer un paquet depuis un répertoire préparé à
   4.781 -l'avance ou depuis un paquet désarchivé. Cette commande permet aussi de créer
   4.782 -manuellement un paquet.tazpkg (voir la documentation et Cookutils pour la création
   4.783 -automatique de paquets). Pour empaqueter un paquet :
   4.784 -</p>
   4.785 +<p>La commande <tt>pack</tt> permet de créer un paquet depuis un répertoire
   4.786 +préparé à l'avance ou depuis un paquet désarchivé. Cette commande permet aussi
   4.787 +de créer manuellement un <tt>paquet.tazpkg</tt> (voir la documentation et
   4.788 +Cookutils pour la création automatique de paquets).</p>
   4.789 +
   4.790  <pre>
   4.791 -# tazpkg pack package-version
   4.792 +# tazpkg pack <em>paquet-version</em>
   4.793  </pre>
   4.794  
   4.795  
   4.796  <h3 id="repack">repack</h3>
   4.797  
   4.798 -<p>
   4.799 -La commande 'repack' permet de recréer un paquet depuis les fichiers présents
   4.800 -sur le système où il a été précédemment installé. Pour réempaqueter un paquet :
   4.801 -</p>
   4.802 +<p>La commande <tt>repack</tt> permet de recréer un paquet depuis les fichiers
   4.803 +présents sur le système où il a été précédemment installé.</p>
   4.804 +
   4.805  <pre>
   4.806 -# tazpkg repack package
   4.807 +$ tazpkg repack <em>paquet</em>
   4.808  </pre>
   4.809  
   4.810  
   4.811 +<h3 id="repack-config">repack-config</h3>
   4.812 +
   4.813 +<p>The <tt>repack-config</tt> command recreates a package of the system
   4.814 +configuration files (see <tt><a href="#list-config">list-config</a></tt>). It is
   4.815 +enough to install the package to find the current configuration.</p>
   4.816 +
   4.817 +<pre>
   4.818 +# tazpkg repack-config
   4.819 +</pre>
   4.820 +
   4.821 +
   4.822 +<h3 id="recompress">recompress</h3>
   4.823 +
   4.824 +<p>Recompress .tazpkg cpio archive with lzma.</p>
   4.825 +
   4.826 +<pre>
   4.827 +$ tazpkg recompress <em>package.tazpkg</em>
   4.828 +</pre>
   4.829 +
   4.830 +
   4.831 +<h3 id="convert">convert</h3>
   4.832 +
   4.833 +<p>Convertir un paquet en paquet Slitaz (.tazpkg) :</p>
   4.834 +
   4.835 +<p>Supported packages formats:</p>
   4.836 +
   4.837 +<ul>
   4.838 +	<li><a href="https://packages.debian.org/search" target="_blank">paquets
   4.839 +		Debian</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   4.840 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
   4.841 +		target="_blank">paquets RPM</a> (<tt>*.rpm</tt>)</li>
   4.842 +	<li><a href="http://www.slax.org/" target="_blank">paquets Slax</a>
   4.843 +		(<tt>*.sb</tt>)</li>
   4.844 +	<li><a href="http://puppylinux.org/" target="_blank">paquets Puppy</a>
   4.845 +		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
   4.846 +	<li><a href="http://www.slackware.com/packages/" target="_blank">paquets
   4.847 +		Slackware</a> (<tt>*.tgz</tt>)</li>
   4.848 +	<li><a href="http://www.nutyx.org/" target="_blank">paquets NuTyX</a>
   4.849 +		(<tt>*.cards.tar.xz</tt>)</li>
   4.850 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">paquets
   4.851 +		Arch Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
   4.852 +		target="_blank">Alpine Linux</a> (<tt>*.apk</tt>,
   4.853 +		<tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
   4.854 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquets
   4.855 +		OpenWrt</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   4.856 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
   4.857 +		target="_blank">paquets 0Linux</a> (<tt>*.spack</tt>)</li>
   4.858 +	<li><a href="http://www.paldo.org/index-section-packages.html"
   4.859 +		target="_blank">paquets paldo</a> (<tt>*.tar.bz2</tt>)</li>
   4.860 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquets
   4.861 +		Void</a> (<tt>*.xbps</tt>)</li>
   4.862 +	<li><a href="http://tinycorelinux.net/" target="_blank">paquets Tinycore</a>
   4.863 +		(<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
   4.864 +</ul>
   4.865 +
   4.866 +
   4.867 +<pre>
   4.868 +# tazpkg convert <em>alien-paquet-file</em>
   4.869 +</pre>
   4.870 +
   4.871 +
   4.872 +<h3 id="list-suggested">list-suggested</h3>
   4.873 +
   4.874 +<p>List suggested packages for each of your installed packages. With option
   4.875 +<tt>--all</tt> it shows all suggested packages, and without option it shows only
   4.876 +not installed suggested packages.</p>
   4.877 +
   4.878 +<pre>
   4.879 +$ tazpkg list-suggested
   4.880 +$ tazpkg list-suggested --all
   4.881 +</pre>
   4.882 +
   4.883 +
   4.884 +
   4.885 +
   4.886 +<h2>Working with repositories</h2>
   4.887 +
   4.888 +
   4.889  <h3 id="recharge">recharge</h3>
   4.890  
   4.891 -<p>
   4.892 -Recharge la liste des paquets disponibles sur le miroir (packages.list). Cette
   4.893 -commande va télécharger la plus récente liste des paquets installables depuis
   4.894 -le miroir, à noter qu'avant de commencer, TazPkg va sauvegarder l'ancienne
   4.895 -liste. Une fois la liste à jour, vous pouvez la consulter via la commande
   4.896 -'list' et effectuer un recherche de paquet via la commande 'search' de TazPkg.
   4.897 -Pour réafficher la liste des différences, vous pouvez utiliser la commande
   4.898 -'list-mirror --diff'. Et pour afficher et mettre à jour les paquets du système,
   4.899 -vous pouvez utiliser 'upgrade'. Pour recharger la plus récente liste des
   4.900 -paquets :
   4.901 -</p>
   4.902 +<p>Recharge la liste des paquets disponibles sur le miroir. Cette commande va
   4.903 +télécharger la plus récente liste des paquets installables depuis le miroir, à
   4.904 +noter qu'avant de commencer, TazPkg va sauvegarder l'ancienne liste. Une fois la
   4.905 +liste à jour, vous pouvez la consulter via la commande <tt>list</tt> et
   4.906 +effectuer un recherche de paquet via la commande <tt>search</tt> de TazPkg. Pour
   4.907 +réafficher la liste des différences, vous pouvez utiliser la commande
   4.908 +<tt>list-mirror --diff</tt>. Et pour afficher et mettre à jour les paquets du
   4.909 +système, vous pouvez utiliser <tt>upgrade</tt>.</p>
   4.910 +
   4.911  <pre>
   4.912  # tazpkg recharge
   4.913 +# tazpkg recharge main
   4.914 +# tazpkg recharge <em>My_Undigest</em>
   4.915 +# tazpkg recharge --root=<em>/mnt/sda6</em>
   4.916  </pre>
   4.917  
   4.918  
   4.919  <h3 id="upgrade">up ou upgrade</h3>
   4.920  
   4.921 -<p>
   4.922 -La commande 'upgrade' permet de mettre à jour tous les paquets installés et
   4.923 -disponibles sur le miroir courant. La mise à jour des paquets est une
   4.924 -importante partie du système, elle permet de garder un système sécurisé avec
   4.925 +<p>La commande <tt>upgrade</tt> permet de mettre à jour tous les paquets
   4.926 +installés et disponibles sur le miroir courant. La mise à jour des paquets est
   4.927 +une importante partie du système, elle permet de garder un système sécurisé avec
   4.928  les dernières corrections et nouveautés. Le projet SliTaz, même mini, fournit
   4.929  régulièrement des mises à jours de sécurité et propose généralement les
   4.930  dernières versions des logiciels. A noter que cette fonction est destinée aux
   4.931 -personnes ayant installé SliTaz sur disque dur, en mode LiveCD les paquets mis
   4.932 +personnes ayant installé SliTaz sur disque dur, en mode Live CD les paquets mis
   4.933  à jour seront perdus lors de l'arrêt du système. Pour garder un système un
   4.934 -jour :
   4.935 -</p>
   4.936 +jour :</p>
   4.937 +
   4.938 +<p>Up permet aussi d'automatiquement recharger la list des paquets ou installer
   4.939 +les mises à jours. Petit example et affichage de l'aide spécifique à cette
   4.940 +commande :</p>
   4.941 +
   4.942  <pre>
   4.943 -# tazpkg up
   4.944 -</pre>
   4.945 -<p>
   4.946 -	Up permet aussi d'automatiquement recharger la list des paquets ou installer
   4.947 -	les mises à jours. Petit example et affichage de l'aide spécifique à cette
   4.948 -	commande:
   4.949 -</p>
   4.950 -<pre>
   4.951 -# tazpkg up --recharge
   4.952 -# tazpkg --help-up
   4.953 -</pre>
   4.954 -
   4.955 -
   4.956 -<h3 id="set-release">set-release</h3>
   4.957 -
   4.958 -<p>
   4.959 -La commande 'set-release' permet de changer la version de SliTaz et de mettre 
   4.960 -à jour tous les paquets. Attention cette commande peut être dangereuse dans 
   4.961 -la cas d'une mise à jour de la version stable version en cuisson (cooking) :
   4.962 -</p>
   4.963 -<pre>
   4.964 -# tazpkg set-release cooking
   4.965 -</pre>
   4.966 -
   4.967 -
   4.968 -<h3 id="check">check</h3>
   4.969 -
   4.970 -<p>
   4.971 -La commande 'check' permet de vérifier les dépendances sur les paquets
   4.972 -installés et de vérifier si tous les fichiers nécessaires à la reconstruction
   4.973 -des paquets sont bien présents :
   4.974 -</p>
   4.975 -<pre>
   4.976 -# tazpkg check
   4.977 -# tazpkg check --full
   4.978 -</pre>
   4.979 -
   4.980 -
   4.981 -<h3 id="block">block ou unblock</h3>
   4.982 -
   4.983 -<p>
   4.984 -Les commandes 'block' et 'unblock' pemettent de bloquer la version du paquet
   4.985 -installé pour qu'il ne soit pas mis à jour par la commande 'upgrade'. La liste
   4.986 -des paquets bloqués est contenue dans le fichier : 
   4.987 -/var/lib/tazpkg/blocked-packages.list, elle peut aussi être éditée à la main.
   4.988 -Pour bloquer ou débloquer un paquet tel que Grub :
   4.989 -</p>
   4.990 -<pre>
   4.991 -# tazpkg block grub
   4.992 -</pre>
   4.993 -<p>Ou :</p>
   4.994 -<pre>
   4.995 -# tazpkg unblock grub
   4.996 -</pre>
   4.997 -
   4.998 -
   4.999 -<h3 id="get">get</h3>
  4.1000 -
  4.1001 -<p>
  4.1002 -Télécharge un paquet depuis le miroir (si il existe). Le paquet téléchargé
  4.1003 -est stocké dans le répertoire courant, pour connaître le chemin vous pouvez
  4.1004 -utiliser la commande 'pwd'. Pour télécharger un paquet tel que 'grub', il suffit
  4.1005 -de lancer la commande :
  4.1006 -</p>
  4.1007 -<pre>
  4.1008 -# tazpkg get grub
  4.1009 -</pre>
  4.1010 -
  4.1011 -
  4.1012 -<h3 id="get-install">get-install</h3>
  4.1013 -
  4.1014 -<p>
  4.1015 -Installer un paquet depuis un mirroir sur internet. La commande 'get-install'
  4.1016 -commence par vérifier si le paquet existe bien sur le miroir et si il n'a pas
  4.1017 -déjà été téléchargé, avant de commencer le rapatriement. Pour connaître la
  4.1018 -liste des paquets sur le miroir il faut utiliser la commande 'list-mirror'
  4.1019 -(voir aussi recharge). Pour installer un paquet tel que 'grub' :
  4.1020 -</p>
  4.1021 -<pre>
  4.1022 -# tazpkg get-install grub
  4.1023 -</pre>
  4.1024 -
  4.1025 -
  4.1026 -<h3 id="clean-cache">clean-cache</h3>
  4.1027 -
  4.1028 -<p>
  4.1029 -Supprimer les paquets TazPkg téléchargés dans le cache. Lors de l'installation
  4.1030 -de paquets via le Web, TazPkg garde une copie du paquet, cela est fait pour
  4.1031 -gagner de la bande passante en cas de réinstallation, mais il se peut que vous
  4.1032 -vouliez libérer de la place sur le disque dur ou que vous désiriez
  4.1033 -retélécharger des paquets :
  4.1034 -</p>
  4.1035 -<pre>
  4.1036 -# tazpkg clean-cache
  4.1037 +# tazpkg upgrade
  4.1038 +# tazpkg up --recharge --install
  4.1039 +# tazpkg up -r -i
  4.1040  </pre>
  4.1041  
  4.1042  
  4.1043  <h3 id="setup-mirror">setup-mirror</h3>
  4.1044  
  4.1045 -<p>
  4.1046 -Configurer l'URL du miroir, la commande 'setup-mirror' vous demandera alors
  4.1047 -l'URL du nouveau miroir. Vous pouvez spécifier plusieurs URLs en les séparant
  4.1048 -par des espaces. A noter que vous pouvez aussi modifier à la main le
  4.1049 -fichier /var/lib/tazpkg/mirror. L'URL doit pointer sur le répertoire contenant
  4.1050 -la liste (packages.list) et les paquets :
  4.1051 -</p>
  4.1052 +<p>Configurer l'URL du miroir, la commande <tt>setup-mirror</tt> vous demandera
  4.1053 +alors l'URL du nouveau miroir. Vous pouvez spécifier plusieurs URLs en les
  4.1054 +séparant par des espaces. A noter que vous pouvez aussi modifier à la main le
  4.1055 +fichier <tt>/var/lib/tazpkg/mirror</tt>. L'URL doit pointer sur le répertoire
  4.1056 +contenant la liste (<tt>packages.info</tt>) et les paquets.</p>
  4.1057 +
  4.1058  <pre>
  4.1059  # tazpkg setup-mirror
  4.1060  </pre>
  4.1061  
  4.1062  
  4.1063 -<h3 id="setup-undigest">setup-undigest ou add-undigest</h3>
  4.1064 +<h3 id="add-undigest">add-undigest, setup-undigest</h3>
  4.1065  
  4.1066 -<p>
  4.1067 -Configurer l'URL d'un miroir complémentaire non officiel pour tester des
  4.1068 -paquets non encore présents sur les miroirs.
  4.1069 -A noter que vous pouvez aussi modifier à la main le fichier 
  4.1070 -/var/lib/tazpkg/undigest/&lt;undisgest-name&gt;/mirror.
  4.1071 -L'URL doit pointer sur le répertoire contenant
  4.1072 -la liste (packages.list) et les paquets :
  4.1073 -</p>
  4.1074 +<p>Configurer l'URL d'un miroir complémentaire non officiel pour tester des
  4.1075 +paquets non encore présents sur les miroirs. A noter que vous pouvez aussi
  4.1076 +modifier à la main le fichier
  4.1077 +<tt>/var/lib/tazpkg/undigest/<em>undisgest-name</em>/mirror</tt>. L'URL doit
  4.1078 +pointer sur le répertoire contenant la liste (<tt>packages.info</tt>) et les
  4.1079 +paquets.</p>
  4.1080 +
  4.1081  <pre>
  4.1082 -# tazpkg setup-undigest public-repository http://my.home.org/slitaz
  4.1083 -# tazpkg setup-undigest local-repository /home/slitaz/packages
  4.1084 +# tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
  4.1085 +# tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
  4.1086 +</pre>
  4.1087 +
  4.1088 +
  4.1089 +<h3 id="list-undigest">list-undigest</h3>
  4.1090 +
  4.1091 +<p>Affiche les miroirs complémentaires.</p>
  4.1092 +
  4.1093 +<pre>
  4.1094 +# tazpkg list-undigest
  4.1095 +# tazpkg list-undigest --box
  4.1096  </pre>
  4.1097  
  4.1098  
  4.1099  <h3 id="remove-undigest">remove-undigest</h3>
  4.1100  
  4.1101 -<p>
  4.1102 -Supprime l'URL un miroir complémentaire non officiel.
  4.1103 -</p>
  4.1104 +<p>Supprime l'URL un miroir complémentaire non officiel.</p>
  4.1105 +
  4.1106  <pre>
  4.1107 -# tazpkg remove-undigest my-repository
  4.1108 +# tazpkg remove-undigest <em>my-repository</em>
  4.1109  </pre>
  4.1110  
  4.1111  
  4.1112 -<h3 id="list-undigest">list-undigest</h3>
  4.1113  
  4.1114 -<p>
  4.1115 -Affiche les miroirs complémentaires.
  4.1116 -</p>
  4.1117 -<pre>
  4.1118 -# tazpkg list-undigest
  4.1119 -</pre>
  4.1120 -
  4.1121 -
  4.1122 -<h3 id="reconfigure">reconfigure</h3>
  4.1123 -
  4.1124 -<p>
  4.1125 -La commande 'reconfigure' permet de relancer les commande de post et 
  4.1126 -pre-installation d'un paquet afin de le reconfigurer si besoin est :
  4.1127 -</p>
  4.1128 -<pre>
  4.1129 -# tazpkg reconfigure package
  4.1130 -</pre>
  4.1131 -
  4.1132 -
  4.1133 -<h3 id="convert">convert</h3>
  4.1134 -
  4.1135 -<p>
  4.1136 -La commande 'convert' permet de convertir un paquet Debian (.deb), 
  4.1137 -Redhat (.rpm), Slackware (.tgz) ou Archlinux (.pkg.tar.gz) en paquet
  4.1138 -Slitaz (.tazpkg) :
  4.1139 -</p>
  4.1140 -<pre>
  4.1141 -# tazpkg convert alien-package
  4.1142 -</pre>
  4.1143 -
  4.1144 -
  4.1145 -<h3 id="depend">depend</h3>
  4.1146 -
  4.1147 -<p>
  4.1148 -Affiche l'arbre des dépendances d'un paquet, c'est à dire tous les
  4.1149 -paquets qui devront être installés en plus :
  4.1150 -</p>
  4.1151 -<pre>
  4.1152 -# tazpkg depend package
  4.1153 -</pre>
  4.1154 -
  4.1155 -
  4.1156 -<h3 id="rdepend">rdepend</h3>
  4.1157 -
  4.1158 -<p>
  4.1159 -Affiche l'arbre des dépendances inversé d'un paquet, c'est à dire tous les
  4.1160 -paquets qui en dépendent directement ou indirectement :
  4.1161 -</p>
  4.1162 -<pre>
  4.1163 -# tazpkg rdepend package
  4.1164 -</pre>
  4.1165 -
  4.1166 -
  4.1167 -<h3 id="bugs">bugs</h3>
  4.1168 -
  4.1169 -<p>
  4.1170 -Affiche les bugs connus :
  4.1171 -</p>
  4.1172 -<pre>
  4.1173 -# tazpkg bugs package
  4.1174 -</pre>
  4.1175  
  4.1176  <h2>MAINTENEUR</h2>
  4.1177 -<p>
  4.1178 -Christophe Lincoln &lt;pankso at slitaz.org&gt;
  4.1179 -</p>
  4.1180 +
  4.1181 +<p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
  4.1182  
  4.1183  <!-- End content -->
  4.1184  </div>
     5.1 --- a/doc/tazpkg.pt.html	Sun May 31 12:40:55 2015 -0400
     5.2 +++ b/doc/tazpkg.pt.html	Thu Jun 04 00:15:13 2015 +0300
     5.3 @@ -1,26 +1,25 @@
     5.4  <!DOCTYPE html>
     5.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="pt">
     5.6 +<html lang="pt">
     5.7  <head>
     5.8 +	<meta charset="utf-8"/>
     5.9  	<title>Manual TazPkg (pt)</title>
    5.10 -	<meta charset="utf-8" />
    5.11 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    5.12 +	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css"/>
    5.13 +	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    5.14  	<script type="text/javascript" src="../slitaz-doc.js"></script>
    5.15  </head>
    5.16  <body>
    5.17  
    5.18 -<!-- Header -->
    5.19 -<div id="header">
    5.20 +<header>
    5.21  	<h1>Manual TazPkg</h1>
    5.22 -</div>
    5.23 +</header>
    5.24  
    5.25  <!-- Start content -->
    5.26  <div id="content">
    5.27  
    5.28 +
    5.29  <h2>NOME</h2>
    5.30  
    5.31 -<p>
    5.32 -	TazPkg - Tiny autonomous zone package manager
    5.33 -</p>
    5.34 +<p>TazPkg — Tiny autonomous zone package manager</p>
    5.35  
    5.36  
    5.37  <h2>SINTAXE</h2>
    5.38 @@ -32,461 +31,691 @@
    5.39  
    5.40  <h2>DESCRIÇÃO</h2>
    5.41  
    5.42 -<p>
    5.43 -TazPkg é um gerenciador de pacotes ultraleve (~ 35KB) que instala, lista, baixa,
    5.44 -atualiza ou remove pacotes precompilados em um sistema GNU/Linux. TazPkg fornece
    5.45 -comandos para busca e criação de pacotes e foi criado independentemente. Os 
    5.46 -pacotes usando a extensão *.tazpkg são constituidos de arquivos cpio 
    5.47 -que contém um sistema de arquivos comprimido com o gzip, uma receita e uma 
    5.48 -descrição opcional. O TazPkg também gerencia dependências baseado nas receitas
    5.49 -de pacote: cada receita contém todas as informações sobre um pacote e também
    5.50 -pode incluir funções de pré e pós-instalação. A mesma receita é usada pelo
    5.51 -Cookutils para compilar fontes e gerar um pacote .tazpkg.
    5.52 -</p>
    5.53 -<p>
    5.54 -O TazPkg é inteiramente construído a partir do zero usando SHell Script.
    5.55 -Compatível com o Bash, roda sobre o Ash - parte do projeto Busybox. O TazPkg
    5.56 -é distribuído sob a licença livre GNU GPL V3.
    5.57 -</p>
    5.58 +<p>TazPkg é um gerenciador de pacotes leve que instala, lista, baixa, atualiza
    5.59 +ou remove pacotes precompilados em um sistema GNU/Linux. TazPkg fornece comandos
    5.60 +para busca e criação de pacotes e foi criado independentemente. Os pacotes
    5.61 +usando a extensão *.tazpkg são constituidos de arquivos cpio que contém um
    5.62 +sistema de arquivos comprimido com o gzip, uma receita e uma descrição opcional.
    5.63 +O TazPkg também gerencia dependências baseado nas receitas de pacote: cada
    5.64 +receita contém todas as informações sobre um pacote e também pode incluir
    5.65 +funções de pré e pós-instalação. A mesma receita é usada pelo Cookutils para
    5.66 +compilar fontes e gerar um pacote .tazpkg.</p>
    5.67 +
    5.68 +<p>O TazPkg é inteiramente construído a partir do zero usando SHell Script.
    5.69 +Compatível com o Bash, roda sobre o Ash — parte do projeto Busybox. O TazPkg é
    5.70 +distribuído sob a licença livre GNU GPL V3.</p>
    5.71  
    5.72  
    5.73  <h2>COMANDOS</h2>
    5.74  
    5.75  
    5.76 +<h3>Service commands</h3>
    5.77 +
    5.78 +<ul>
    5.79 +	<li><a href="#usage">usage</a>: mostra esta utilização</li>
    5.80 +	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
    5.81 +	<li><a href="#activity">activity</a>: mostra o log de atividade do
    5.82 +		TazPkg</li>
    5.83 +	<li><a href="#clean-cache">clean-cache</a>: limpa todos os pacotes baixados
    5.84 +		do diretório de cache</li>
    5.85 +	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
    5.86 +</ul>
    5.87 +
    5.88 +
    5.89 +<h3>Working with lists</h3>
    5.90 +
    5.91 +<ul>
    5.92 +	<li><a href="#list">list</a>: lista pacotes instalados no sistema</li>
    5.93 +	<li><a href="#list-mirror">list-mirror</a>: lista os pacotes disponíveis no
    5.94 +		mirror</li>
    5.95 +	<li><a href="#list-config">list-config</a>: lista arquivos de
    5.96 +		configuração</li>
    5.97 +</ul>
    5.98 +
    5.99 +
   5.100 +<h3>Busca</h3>
   5.101 +
   5.102 +<ul>
   5.103 +	<li><a href="#search">search</a>: busca pacote por padrão ou nome</li>
   5.104 +	<li><a href="#search-pkgname">search-pkgname</a>: busca no mirror pacote que
   5.105 +		possui um arquivo em particular</li>
   5.106 +	<li><a href="#search-file">search-file</a>: busca por arquivo em todos os
   5.107 +		pacotes instalados</li>
   5.108 +</ul>
   5.109 +
   5.110 +
   5.111 +<h3>Installing and removing packages</h3>
   5.112 +
   5.113 +<ul>
   5.114 +	<li><a href="#get">get</a>: baixa um pacote para o diretório atual</li>
   5.115 +	<li><a href="#install">install</a>: instala um pacote local</li>
   5.116 +	<li><a href="#get-install">get-install</a>: baixa e instala um pacote a
   5.117 +		partir mirror</li>
   5.118 +	<li><a href="#install-list">install-list</a>: install all packages from a
   5.119 +		list of packages</li>
   5.120 +	<li><a href="#install-list">get-install-list</a>: baixa e instala uma lista
   5.121 +		de pacotes a partir mirror</li>
   5.122 +	<li><a href="#remove">remove</a>: remove o pacote especificado e todos os
   5.123 +		arquivos instalados</li>
   5.124 +	<li><a href="#reconfigure">reconfigure</a>: executa novamente funções de pós
   5.125 +		instalação do pacote</li>
   5.126 +	<li><a href="#link">link</a>: liga um pacote a partir de outra instalação do
   5.127 +		SliTaz</li>
   5.128 +	<li><a href="#set-release">set-release</a>: muda a versão de lançamento e
   5.129 +		atualiza pacotes</li>
   5.130 +	<li><a href="#add-flavor">add-flavor</a>: instala uma lista de pacotes de
   5.131 +		variantes</li>
   5.132 +	<li><a href="#add-flavor">install-flavor</a>: instala uma lista de pacotes
   5.133 +		de variantes e remove outros</li>
   5.134 +</ul>
   5.135 +
   5.136 +
   5.137 +<h3>Working with packages</h3>
   5.138 +
   5.139 +<ul>
   5.140 +	<li><a href="#info">info</a>: mostra informação sobre o pacote</li>
   5.141 +	<li><a href="#desc">desc</a>: mostra a descrição do pacote</li>
   5.142 +	<li><a href="#list-files">list-files</a>: lista arquivos instalados pelo
   5.143 +		pacote</li>
   5.144 +	<li><a href="#block">block, unblock</a>: bloqueia pacote instalado ou
   5.145 +		desbloqueia para atualização</li>
   5.146 +	<li><a href="#check">check</a>: verifica a consistência de pacotes
   5.147 +		instalados</li>
   5.148 +	<li><a href="#bugs">bugs</a>: mostra bugs conhecidos dos pacotes</li>
   5.149 +	<li><a href="#depends">depends</a>: mostra árvore de dependências</li>
   5.150 +	<li><a href="#depends">rdepends</a>: mostra árvore de dependências
   5.151 +		reversa</li>
   5.152 +	<li><a href="#extract">extract</a>: extrai um pacote (*.tazpkg) em um
   5.153 +		diretório</li>
   5.154 +	<li><a href="#pack">pack</a>: empacota ou prerara uma árvore de diretórios
   5.155 +		para pacote</li>
   5.156 +	<li><a href="#repack">repack</a>: cria um arquivo de pacote instalado</li>
   5.157 +	<li><a href="#repack-config">repack-config</a>: cria um pacote dos arquivos
   5.158 +		de configuração</li>
   5.159 +	<li><a href="#recompress">recompress</a>: reconstrói um pacote com melhor
   5.160 +		compressão</li>
   5.161 +	<li><a href="#convert">convert</a>: converte um pacote para tazpkg</li>
   5.162 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   5.163 +		packages</li>
   5.164 +</ul>
   5.165 +
   5.166 +
   5.167 +<h3>Working with repositories</h3>
   5.168 +
   5.169 +<ul>
   5.170 +	<li><a href="#recharge">recharge</a>: recarrega o pacotes DB a partir do
   5.171 +		mirror</li>
   5.172 +	<li><a href="#upgrade">upgrade</a>: verifica o pacotes, listados e instala a
   5.173 +		última atualização</li>
   5.174 +	<li><a href="#setup-mirror">setup-mirror</a>: muda a configuração de URL do
   5.175 +		mirror</li>
   5.176 +	<li><a href="#add-undigest">setup-undigest</a>: atualiza um mirror
   5.177 +		undigest</li>
   5.178 +	<li><a href="#list-undigest">list-undigest</a>: lista mirrors undigest</li>
   5.179 +	<li><a href="#add-undigest">add-undigest</a>: adiciona um mirror
   5.180 +		undigest</li>
   5.181 +	<li><a href="#remove-undigest">remove-undigest</a>: remove um mirror
   5.182 +		undigest</li>
   5.183 +</ul>
   5.184 +
   5.185 +
   5.186 +
   5.187 +
   5.188 +<h2>Service commands</h2>
   5.189 +
   5.190 +
   5.191 +<h3 id="usage">usage</h3>
   5.192 +
   5.193 +<p>Show the full list of the TazPkg commands with a brief description.</p>
   5.194 +
   5.195 +<pre>
   5.196 +$ tazpkg usage
   5.197 +$ tazpkg
   5.198 +</pre>
   5.199 +
   5.200 +
   5.201 +<h3 id="help">help</h3>
   5.202 +
   5.203 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   5.204 +enter a short name of the command, the full name or a part of the full name. You
   5.205 +can ignore hyphens at the beginning of the short name. If the requested part of
   5.206 +the full name match the several commands, you will be asked to clarify the
   5.207 +request.</p>
   5.208 +
   5.209 +<pre>
   5.210 +$ tazpkg help <em>-gi</em>
   5.211 +$ tazpkg -h <em>us</em>
   5.212 +</pre>
   5.213 +
   5.214 +
   5.215 +<h3 id="activity">activity</h3>
   5.216 +
   5.217 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   5.218 +<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   5.219 +lines.</p>
   5.220 +
   5.221 +<pre>
   5.222 +$ tazpkg activity
   5.223 +$ tazpkg -a --nb=<em>20</em>
   5.224 +</pre>
   5.225 +
   5.226 +
   5.227 +<h3 id="clean-cache">clean-cache</h3>
   5.228 +
   5.229 +<p>Remove pacotes *.tazpkg baixados que se encontram no cache. Durante a
   5.230 +instalação, o TazPkg mantém uma cópia dos pacotes baixados da internet. Isto é
   5.231 +feito para economizar banda no caso de uma reinstalação, mas pode ser que você
   5.232 +queira ter mais espaço no disco rígido ou baixar os pacotes novamente:</p>
   5.233 +
   5.234 +<pre>
   5.235 +# tazpkg clean-cache
   5.236 +# tazpkg -cc
   5.237 +</pre>
   5.238 +
   5.239 +
   5.240 +<h3 id="shell">shell</h3>
   5.241 +
   5.242 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   5.243 +listed above.</p>
   5.244 +
   5.245 +<pre>
   5.246 +$ tazpkg shell
   5.247 +# tazpkg shell
   5.248 +</pre>
   5.249 +
   5.250 +
   5.251 +
   5.252 +
   5.253 +<h2>Working with lists</h2>
   5.254 +
   5.255 +
   5.256  <h3 id="list">list</h3>
   5.257 -<p>
   5.258 -Lista pacotes instalados no sistema. Este comando mostra uma lista em formato
   5.259 +
   5.260 +<p>Lista pacotes instalados no sistema. Este comando mostra uma lista em formato
   5.261  de coluna com todos os pacotes instalados, e também permite listar categorias,
   5.262  pacotes baseados em categorias e pacotes bloqueados para instalação. Você também
   5.263 -pode usar o comando "search" (buscar) para uma lista baseada em um termo ou em
   5.264 -um nome de pacote:
   5.265 -</p>
   5.266 +pode usar o comando <tt><a href="#search">search</a></tt> (buscar) para uma
   5.267 +lista baseada em um termo ou em um nome de pacote:</p>
   5.268 +
   5.269  <pre>
   5.270 -# tazpkg list
   5.271 -# tazpkg list cat|categories
   5.272 -# tazpkg list blocked
   5.273 -</pre>
   5.274 -
   5.275 -
   5.276 -<h3 id="xhtml-list">xhtml-list</h3>
   5.277 -
   5.278 -<p>
   5.279 -O comando "xhtml-list" cria uma lista em formato xHTML de todos os pacotes
   5.280 -instalados no sistema que pode ser lida com o seu navegador web favorito. Pode
   5.281 -ser utilizado por um usuário comum e criar uma página "instaled-packages.html"
   5.282 -(pacotes instalados) no diretório atual. Note que você pode mudar o nome da 
   5.283 -lista gerada por meio da linha de comando:
   5.284 -</p>
   5.285 -<pre>
   5.286 -# tazpkg xhtml-list
   5.287 -# tazpkg xhtml-list list-name.html
   5.288 +$ tazpkg list
   5.289 +$ tazpkg list cat
   5.290 +$ tazpkg list <em>games</em>
   5.291 +$ tazpkg list blocked
   5.292  </pre>
   5.293  
   5.294  
   5.295  <h3 id="list-mirror">list-mirror</h3>
   5.296  
   5.297 -<p>
   5.298 -Lista pacotes disponíveis no mirror. Este comando mostra o arquivo "packages-list"
   5.299 -recarregado a partir do mirror. Se este arquivo não existir, será pedido a 
   5.300 -você que rode o comando "tazpkg recharge" como usuário root para listar os
   5.301 -pacotes disponíveis. A opção --diff é usada para mostrar as diferenças entre
   5.302 -a última e a atual lista de pacotes:
   5.303 -</p>
   5.304 +<p>Lista pacotes disponíveis no mirror. Este comando mostra o arquivo
   5.305 +<tt>packages-list</tt> recarregado a partir do mirror. Se este arquivo não
   5.306 +existir, será pedido a você que rode o comando <code>tazpkg <a
   5.307 +href="#recharge">recharge</a></code> como usuário root para listar os pacotes
   5.308 +disponíveis. A opção <tt>--diff</tt> é usada para mostrar as diferenças entre a
   5.309 +última e a atual lista de pacotes:</p>
   5.310 +
   5.311  <pre>
   5.312 -# tazpkg list-mirror
   5.313 -# tazpkg list-mirror --diff
   5.314 +$ tazpkg list-mirror
   5.315 +$ tazpkg -lm --diff
   5.316  </pre>
   5.317  
   5.318  
   5.319 +<h3 id="list-config">list-config</h3>
   5.320 +
   5.321 +<p>Lista os arquivos de configuração do sistema. A opção <tt>--box</tt> mostra
   5.322 +estas informações em formato de tabela.</p>
   5.323 +
   5.324 +<pre>
   5.325 +$ tazpkg list-config
   5.326 +$ tazpkg list-config --box
   5.327 +$ tazpkg list-config <em>slim</em>
   5.328 +$ tazpkg list-config --box <em>slim</em>
   5.329 +</pre>
   5.330 +
   5.331 +
   5.332 +
   5.333 +
   5.334 +<h2>Search</h2>
   5.335 +
   5.336 +
   5.337 +<h3 id="search">search</h3>
   5.338 +
   5.339 +<p>Busca por pacotes por proprietário ou nome do pacote. Este comando busca pelo
   5.340 +termo informado nos pacotes instalados e na lista de pacotes disponíveis no
   5.341 +mirror. Para obter a mais recente lista de pacotes disponíveis, rode
   5.342 +<code>tazkpg recharge</code> antes de iniciar uma busca:</p>
   5.343 +
   5.344 +<pre>
   5.345 +$ tazpkg search <em>gcc</em>
   5.346 +$ tazpkg search <em>mt</em> -i
   5.347 +$ tazpkg search <em>bit</em> -l
   5.348 +</pre>
   5.349 +
   5.350 +
   5.351 +<h3 id="search-pkgname">search-pkgname</h3>
   5.352 +
   5.353 +<p>Search for a file on mirror and output only the packages names
   5.354 +(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   5.355 +
   5.356 +<pre>
   5.357 +$ tazpkg search-pkgname <em>libnss</em>
   5.358 +$ tazpkg -sp <em>/usr/share/fonts</em>
   5.359 +</pre>
   5.360 +
   5.361 +
   5.362 +<h3 id="search-file">search-file</h3>
   5.363 +
   5.364 +<p>O comando <tt>search-file</tt> permite a busca por um arquivo entre os
   5.365 +instalados pelos pacotes. Este comando é muito útil para achar o caminho
   5.366 +completo para um arquivo e determinar se um arquivo está presente no
   5.367 +sistema.</p>
   5.368 +
   5.369 +<pre>
   5.370 +$ tazpkg search-file <em>libnss</em>
   5.371 +$ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   5.372 +</pre>
   5.373 +
   5.374 +
   5.375 +
   5.376 +
   5.377 +<h2>Installing and removing packages</h2>
   5.378 +
   5.379 +
   5.380 +<h3 id="get">get</h3>
   5.381 +
   5.382 +<p>Baixa um pacote do mirror (se existir). O arquivo baixado é arquivado no
   5.383 +diretório atual. Para descobrir qual o diretório atual utilize o comando
   5.384 +<code>pwd</code>.</p>
   5.385 +
   5.386 +<pre>
   5.387 +# tazpkg get <em>grub</em>
   5.388 +# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   5.389 +</pre>
   5.390 +
   5.391 +
   5.392 +<h3 id="install">install</h3>
   5.393 +
   5.394 +<p>Este comando instala um pacote disponível localmente que possui a extensão
   5.395 +<tt>.tazpkg</tt>. Veja <tt>get-install</tt> para instalar pacotes disponíves na
   5.396 +internet. Note que você pode forçar a instalação com a opção <tt>--force</tt>.
   5.397 +Você também dispõe de opções para desinstalação e reinstalação ou para
   5.398 +especificar o sistema root no qual você deseja instalar o pacote com a opção
   5.399 +<tt>--root=</tt>:</p>
   5.400 +
   5.401 +<pre>
   5.402 +# tazpkg install <em>package-1.0.tazpkg</em>
   5.403 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   5.404 +# tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   5.405 +</pre>
   5.406 +
   5.407 +
   5.408 +<h3 id="get-install">get-install</h3>
   5.409 +
   5.410 +<p>Baixa e instala um pacote de um mirror na internet. O comando
   5.411 +<tt>get-install</tt> inicia checando se o pacote requerido existe no mirror e se
   5.412 +já foi baixado. Para uma lista de pacotes do mirror, usa-se o comando
   5.413 +<tt>list-mirror</tt>.</p>
   5.414 +
   5.415 +<pre>
   5.416 +# tazpkg get-install <em>grub</em>
   5.417 +# tazpkg -gi <em>grub</em> --forced
   5.418 +# tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   5.419 +</pre>
   5.420 +
   5.421 +
   5.422 +<h3 id="install-list">install-list, get-install-list</h3>
   5.423 +
   5.424 +<p>Instala uma seleção de pacotes listados em um arquivo. Este comando permite a
   5.425 +você instalar vários pacotes com um único comando, e também oferece a opção
   5.426 +<tt>--forced</tt>:</p>
   5.427 +
   5.428 +<pre>
   5.429 +# tazpkg install-list <em>my-packages.list</em>
   5.430 +# tazpkg get-install-list <em>my-packages.list</em> --forced
   5.431 +</pre>
   5.432 +
   5.433 +
   5.434 +<h3 id="remove">remove</h3>
   5.435 +
   5.436 +<p>Remove um pacote. Será pedido que você confirme a ação (y/N). Este comando
   5.437 +deleta todos os arquivos instalados pelo pacote. Para ver a lista de arquivos,
   5.438 +use o comando <tt>list-files</tt> seguido do nome do pacote.</p>
   5.439 +
   5.440 +<pre>
   5.441 +# tazpkg remove <em>bc</em>
   5.442 +# tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   5.443 +# tazpkg -r <em>nano</em> --auto
   5.444 +</pre>
   5.445 +
   5.446 +
   5.447 +<h3 id="reconfigure">reconfigure</h3>
   5.448 +
   5.449 +<p>Executa novamente o script de pós instalação de um pacote.</p>
   5.450 +
   5.451 +<pre>
   5.452 +# tazpkg reconfigure <em>gcc</em>
   5.453 +# tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   5.454 +</pre>
   5.455 +
   5.456 +
   5.457 +<h3 id="link">link</h3>
   5.458 +
   5.459 +<p>Permite a instalação de um pacote a partir de uma mídia qualquer. A
   5.460 +configuração é feita criando links simbólicos e consome pouca memória.
   5.461 +Geralmente é usado em sistemas Live CD para instalar pacotes encontrados numa
   5.462 +mídia USB:</p>
   5.463 +
   5.464 +<pre>
   5.465 +# tazpkg link <em>openoffice /media/usbdisk</em>
   5.466 +</pre>
   5.467 +
   5.468 +
   5.469 +<h3 id="set-release">set-release</h3>
   5.470 +
   5.471 +<p>Este comando muda a versão atual e faz a atualização de pacotes para o
   5.472 +lançamento mais recente:</p>
   5.473 +
   5.474 +<pre>
   5.475 +# tazpkg set-release <em>cooking</em>
   5.476 +</pre>
   5.477 +
   5.478 +
   5.479 +<h3 id="add-flavor">add-flavor, install-flavor</h3>
   5.480 +
   5.481 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   5.482 +purges other installed packages.</p>
   5.483 +
   5.484 +<pre>
   5.485 +# tazpkg add-flavor <em>gtkonly</em>
   5.486 +# tazpkg install-flavor <em>justx</em>
   5.487 +</pre>
   5.488 +
   5.489 +
   5.490 +
   5.491 +
   5.492 +<h2>Working with packages</h2>
   5.493 +
   5.494 +
   5.495  <h3 id="info">info</h3>
   5.496  
   5.497 -<p>
   5.498 -Mostra qualquer informação disponível na receita para o pacote em questão - sua
   5.499 -versão, categoria, mantenedor, website e quaisquer dependências (veja também 
   5.500 -Cookutils para mais informações sobre receitas):
   5.501 -</p>
   5.502 +<p>Mostra qualquer informação disponível na receita para o pacote em questão —
   5.503 +sua versão, categoria, mantenedor, website e quaisquer dependências (veja também
   5.504 +Cookutils para mais informações sobre receitas):</p>
   5.505 +
   5.506  <pre>
   5.507 -# tazpkg info busybox
   5.508 +$ tazpkg info <em>busybox</em>
   5.509  </pre>
   5.510  
   5.511  
   5.512  <h3 id="desc">desc</h3>
   5.513  
   5.514 -<p>
   5.515 -Descrição do pacote (se existir). Este comando mostra o arquivo "description.txt"
   5.516 -de cada pacote (um arquivo de texto simples, justificado em 80 caracteres para
   5.517 -caber num terminal padrão):
   5.518 -</p>
   5.519 +<p>Descrição do pacote (se existir). Este comando mostra o arquivo
   5.520 +<tt>description.txt</tt> de cada pacote (um arquivo de texto simples,
   5.521 +justificado em 80 caracteres para caber num terminal padrão).</p>
   5.522 +
   5.523  <pre>
   5.524 -# tazpkg desc busybox
   5.525 -</pre>
   5.526 -
   5.527 -
   5.528 -<h3 id="list-config">list-config</h3>
   5.529 -
   5.530 -<p>
   5.531 -Lista os arquivos de configuração do sistema. A opção --box mostra estas
   5.532 -informações em formato de tabela
   5.533 -</p>
   5.534 -<pre>
   5.535 -# tazpkg list-config
   5.536 -# tazpkg list-config --box
   5.537 +$ tazpkg desc <em>busybox</em>
   5.538  </pre>
   5.539  
   5.540  
   5.541  <h3 id="list-files">list-files</h3>
   5.542  
   5.543 -<p>
   5.544 -Lista todos os arquivos instalados pelo pacote. Este comando lê e mostra o
   5.545 -conteúdo do arquivo "files.list" de cada pacote, o qual é automaticamente gerado
   5.546 -quando um pacote é criado e também é usado para remover arquivos quando se 
   5.547 -desinstala um pacote. Para listar os arquivos instalados pelo pacote bc:
   5.548 -</p>
   5.549 +<p>Lista todos os arquivos instalados pelo pacote. Este comando lê e mostra o
   5.550 +conteúdo do arquivo <tt>files.list</tt> de cada pacote, o qual é automaticamente
   5.551 +gerado quando um pacote é criado e também é usado para remover arquivos quando
   5.552 +se desinstala um pacote.</p>
   5.553 +
   5.554  <pre>
   5.555 -# tazpkg list-files bc
   5.556 +$ tazpkg list-files <em>bc</em>
   5.557  </pre>
   5.558  
   5.559  
   5.560 -<h3 id="search">search</h3>
   5.561 +<h3 id="block">block, unblock</h3>
   5.562  
   5.563 -<p>
   5.564 -Busca por pacotes por proprietário ou nome do pacote. Este comando busca pelo
   5.565 -termo informado nos pacotes instalados e na lista de pacotes disponíveis no
   5.566 -mirror. Para obter a mais recente lista de pacotes disponíveis, rode "tazkpg
   5.567 -recharge" antes de iniciar uma busca:
   5.568 -</p>
   5.569 +<p>Os comandos <tt>block</tt> e <tt>unblock</tt> permitem o bloqueio de pacotes
   5.570 +instalados para que estes não possam ser atualizados com o comando
   5.571 +<tt>upgrade</tt>. A lista de pacotes bloqueados está contida no arquivo
   5.572 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>, que também pode ser editado
   5.573 +manualmente.</p>
   5.574 +
   5.575  <pre>
   5.576 -# tazpkg search gcc
   5.577 +# tazpkg block <em>grub</em>
   5.578 +# tazpkg unblock <em>grub</em>
   5.579 +# tazpkg chblock <em>grub</em>
   5.580  </pre>
   5.581  
   5.582  
   5.583 -<h3 id="search-file">search-file</h3>
   5.584 +<h3 id="check">check</h3>
   5.585  
   5.586 -<p>
   5.587 -O comando "search-file" permite a busca por um arquivo entre os instalados pelos
   5.588 -pacotes. Este comando é muito útil para achar o caminho completo para um 
   5.589 -arquivo e determinar se um arquivo está presente no sistema. Exemplo:
   5.590 -</p>
   5.591 +<p>O comando <tt>check</tt> checa por dependências em pacotes instalados e
   5.592 +determina se todos os arquivos necessários para o re-empacotamento de um pacote
   5.593 +estão presentes.</p>
   5.594 +
   5.595  <pre>
   5.596 -$ tazpkg search-file libnss
   5.597 +$ tazpkg check
   5.598 +$ tazpkg check --full
   5.599 +$ tazpkg check <em>nano</em>
   5.600 +$ tazpkg check <em>sakura</em> --full
   5.601  </pre>
   5.602  
   5.603  
   5.604 -<h3 id="install">install</h3>
   5.605 +<h3 id="bugs">bugs</h3>
   5.606  
   5.607 -<p>
   5.608 -Este comando instala um pacote disponível localmente que possui a extensão
   5.609 -.tazpkg. Veja "get-install" para instalar pacotes disponíves na internet. Note
   5.610 -que você pode forçar a instalação com a opção --force. Você também dispõe de 
   5.611 -opções para desinstalação e reinstalação ou para especificar o sistema root 
   5.612 -no qual você deseja instalar o pacote com a opção -root= :
   5.613 -</p>
   5.614 +<p>Mostra uma lista de bugs conhecidos dos pacotes.</p>
   5.615 +
   5.616  <pre>
   5.617 -# tazpkg install package-1.0.tazpkg
   5.618 -# tazpkg install path/to/package-1.0.tazpkg --forced
   5.619 -# tazpkg install path/to/package-1.0.tazpkg --root=/mnt/rootfs
   5.620 +$ tazpkg bugs
   5.621 +$ tazpkg bugs <em>my_package</em>
   5.622  </pre>
   5.623  
   5.624  
   5.625 -<h3 id="install-list">install-list ou get-install-list</h3>
   5.626 +<h3 id="depends">depends, rdepends</h3>
   5.627  
   5.628 -<p>
   5.629 -Instala uma seleção de pacotes listados em um arquivo. Este comando permite a
   5.630 -você instalar vários pacotes com um único comando, e também oferece a opção 
   5.631 ---forced:
   5.632 -</p>
   5.633 +<p>Mostra a árvore de dependências (direta ou inversamente) para um pacote.</p>
   5.634 +
   5.635  <pre>
   5.636 -# tazpkg install-list my-packages.list
   5.637 -# tazpkg get-install-list my-packages.list --forced
   5.638 -</pre>
   5.639 -
   5.640 -
   5.641 -<h3 id="link">link</h3>
   5.642 -
   5.643 -<p>
   5.644 -Permite a instalação de um pacote a partir de uma mídia qualquer. 
   5.645 -A configuração é feita criando links simbólicos e consome pouca memória.
   5.646 -Geralmente é usado em sistemas LiveCD para instalar pacotes encontrados
   5.647 -numa mídia USB:
   5.648 -</p>
   5.649 -<pre>
   5.650 -# tazpkg link openoffice /media/usbdisk
   5.651 -</pre>
   5.652 -
   5.653 -
   5.654 -<h3 id="remove">remove</h3>
   5.655 -
   5.656 -<p>
   5.657 -Remove um pacote. Será pedido que você confirme a ação (y/N). Este comando
   5.658 -deleta todos os arquivos instalados pelo pacote. Para ver a lista de arquivos,
   5.659 -use o comando "list-files" seguido do nome do pacote. Exemplo com o pacote bc:
   5.660 -</p>
   5.661 -<pre>
   5.662 -# tazpkg remove bc
   5.663 +# tazpkg depends <em>mpd</em>
   5.664 +# tazpkg rdepends <em>mpd</em>
   5.665  </pre>
   5.666  
   5.667  
   5.668  <h3 id="extract">extract</h3>
   5.669  
   5.670 -<p>
   5.671 -Extrai um pacote em um diretório. Se você não especificar o diretório de destino,
   5.672 -o pacote será extraido no diretório atual usando o formato nome do pacote-versão:
   5.673 -</p>
   5.674 +<p>Extrai um pacote em um diretório. Se você não especificar o diretório de
   5.675 +destino, o pacote será extraido no diretório atual usando o formato nome do
   5.676 +<tt>pacote-versão</tt>.</p>
   5.677 +
   5.678  <pre>
   5.679 -# tazpkg extract package.tazpkg
   5.680 -# tazpkg extract package.tazpkg target/dir
   5.681 +$ tazpkg extract <em>pacote.tazpkg</em>
   5.682 +$ tazpkg extract <em>pacote.tazpkg target/dir</em>
   5.683  </pre>
   5.684  
   5.685  
   5.686  <h3 id="pack">pack</h3>
   5.687  
   5.688 -<p>
   5.689 -O comando "pack" cria um pacote a partir de um diretório preparado previamente
   5.690 -ou a partir de um pacote extraido localmente. Pode também criar manualmente um
   5.691 -pacote .tazpkg (veja a documentação do Cookutils para a criação automática de 
   5.692 -pacotes). Para "empacotar" (pack) um pacote:
   5.693 -</p>
   5.694 +<p>O comando <tt>pack</tt> cria um pacote a partir de um diretório preparado
   5.695 +previamente ou a partir de um pacote extraido localmente. Pode também criar
   5.696 +manualmente um pacote .tazpkg (veja a documentação do Cookutils para a criação
   5.697 +automática de pacotes).</p>
   5.698 +
   5.699  <pre>
   5.700 -# tazpkg pack package-version
   5.701 +# tazpkg pack <em>pacote-versão</em>
   5.702  </pre>
   5.703  
   5.704  
   5.705  <h3 id="repack">repack</h3>
   5.706  
   5.707 -<p>
   5.708 -O comando "repack" permite a recriação de um pacote a partir dos arquivos
   5.709 -instalados no sistema em que este pacote foi instalado. Para "re-empacotar"
   5.710 -(repack) um pacote:
   5.711 -</p>
   5.712 +<p>O comando <tt>repack</tt> permite a recriação de um pacote a partir dos
   5.713 +arquivos instalados no sistema em que este pacote foi instalado.</p>
   5.714 +
   5.715  <pre>
   5.716 -# tazpkg repack package
   5.717 +$ tazpkg repack <em>pacote</em>
   5.718  </pre>
   5.719  
   5.720  
   5.721  <h3 id="repack-config">repack-config</h3>
   5.722  
   5.723 -<p>
   5.724 -O comando 'repack-config' recria um pacote a partir dos arquivos de 
   5.725 -configuração do sistema (veja list-config). É suficiente para instalar
   5.726 -um pacote para encontrar a configuração atual. Para re-empacotar os 
   5.727 -arquivos de configuração:
   5.728 -</p>
   5.729 +<p>O comando <tt>repack-config</tt> recria um pacote a partir dos arquivos de
   5.730 +configuração do sistema (veja <tt><a href="#list-config">list-config</a></tt>).
   5.731 +É suficiente para instalar um pacote para encontrar a configuração atual.</p>
   5.732 +
   5.733  <pre>
   5.734  # tazpkg repack-config
   5.735  </pre>
   5.736  
   5.737  
   5.738 +<h3 id="recompress">recompress</h3>
   5.739 +
   5.740 +<p>Recompress .tazpkg cpio archive with lzma.</p>
   5.741 +
   5.742 +<pre>
   5.743 +$ tazpkg recompress <em>package.tazpkg</em>
   5.744 +</pre>
   5.745 +
   5.746 +
   5.747 +<h3 id="convert">convert</h3>
   5.748 +
   5.749 +<p>Converte pacotes em pacotes .tazpkg (SliTaz).</p>
   5.750 +
   5.751 +<p>Supported packages formats:</p>
   5.752 +
   5.753 +<ul>
   5.754 +	<li><a href="https://packages.debian.org/search" target="_blank">pacotes
   5.755 +		Debian</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   5.756 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
   5.757 +		target="_blank">pacotes RPM</a> (<tt>*.rpm</tt>)</li>
   5.758 +	<li><a href="http://www.slax.org/" target="_blank">pacotes Slax</a>
   5.759 +		(<tt>*.sb</tt>)</li>
   5.760 +	<li><a href="http://puppylinux.org/" target="_blank">pacotes Puppy</a>
   5.761 +		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
   5.762 +	<li><a href="http://www.slackware.com/packages/" target="_blank">pacotes
   5.763 +		Slackware</a> (<tt>*.tgz</tt>)</li>
   5.764 +	<li><a href="http://www.nutyx.org/" target="_blank">pacotes NuTyX</a>
   5.765 +		(<tt>*.cards.tar.xz</tt>)</li>
   5.766 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">pacotes
   5.767 +		Arch Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
   5.768 +		target="_blank">Alpine Linux</a> (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>,
   5.769 +		<tt>*.pkg.tar.xz</tt>)</li>
   5.770 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">pacotes
   5.771 +		OpenWrt</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   5.772 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
   5.773 +		target="_blank">pacotes 0Linux</a> (<tt>*.spack</tt>)</li>
   5.774 +	<li><a href="http://www.paldo.org/index-section-packages.html"
   5.775 +		target="_blank">pacotes paldo</a> (<tt>*.tar.bz2</tt>)</li>
   5.776 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">pacotes
   5.777 +		Void</a> (<tt>*.xbps</tt>)</li>
   5.778 +	<li><a href="http://tinycorelinux.net/" target="_blank">pacotes Tinycore</a>
   5.779 +		(<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
   5.780 +</ul>
   5.781 +
   5.782 +<pre>
   5.783 +# tazpkg convert <em>alien-pacote-file</em>
   5.784 +</pre>
   5.785 +
   5.786 +
   5.787 +<h3 id="list-suggested">list-suggested</h3>
   5.788 +
   5.789 +<p>List suggested packages for each of your installed packages. With option
   5.790 +<tt>--all</tt> it shows all suggested packages, and without option it shows only
   5.791 +not installed suggested packages.</p>
   5.792 +
   5.793 +<pre>
   5.794 +$ tazpkg list-suggested
   5.795 +$ tazpkg list-suggested --all
   5.796 +</pre>
   5.797 +
   5.798 +
   5.799 +
   5.800 +
   5.801 +<h2>Working with repositories</h2>
   5.802 +
   5.803 +
   5.804  <h3 id="recharge">recharge</h3>
   5.805  
   5.806 -<p>
   5.807 -Recarrega a lista de pacotes disponíves no mirror. Este comando baixa o arquivo
   5.808 -"packages.list" (lista de pacotes instaláveis) mais recente e salva a antiga. 
   5.809 -Uma vez que a lista está atualizada, você pode usar os comandos "list" e 
   5.810 -"search". Para ver uma relação com as diferenças entre a lista atual e a 
   5.811 -antiga, use o comando "list-mirror --diff" e para ver e atualizar pacotes,
   5.812 -use o comando "upgrade". Para recarregar a lista de pacotes:
   5.813 -</p>
   5.814 +<p>Recarrega a lista de pacotes disponíves no mirror. Este comando baixa o
   5.815 +arquivo <tt>packages.list</tt> (lista de pacotes instaláveis) mais recente e
   5.816 +salva a antiga. Uma vez que a lista está atualizada, você pode usar os comandos
   5.817 +<tt>list</tt> e <tt>search</tt>. Para ver uma relação com as diferenças entre a
   5.818 +lista atual e a antiga, use o comando <tt>list-mirror --diff</tt> e para ver e
   5.819 +atualizar pacotes, use o comando <tt>upgrade</tt>.</p>
   5.820 +
   5.821  <pre>
   5.822  # tazpkg recharge
   5.823 +# tazpkg recharge main
   5.824 +# tazpkg recharge <em>My_Undigest</em>
   5.825 +# tazpkg recharge --root=<em>/mnt/sda6</em>
   5.826  </pre>
   5.827  
   5.828  
   5.829  <h3 id="upgrade">up ou upgrade</h3>
   5.830  
   5.831 -<p>
   5.832 -O comando upgrade permite a atualização de todos os pacotes disponíveis no mirror.
   5.833 -Atualizar pacotes é uma parte importante da manutenção da segurança do sistema,
   5.834 -permitindo o acesso às últimas atualizações e correções. O projeto SliTaz,
   5.835 -embora leve, fornece atualizações de segurança regulares e geralmente oferece
   5.836 -as últimas versões dos programas. Note que esta função é direcionada àquelas
   5.837 -pessoas que possuem o SliTaz instalado no seu disco rígido. Pacotes atualizados
   5.838 -a partir do LiveCD serão perdidos no desligamento do sistema. Para atualizar
   5.839 -ou mostrar as opções para o comando:
   5.840 -</p>
   5.841 +<p>O comando <tt>upgrade</tt> permite a atualização de todos os pacotes
   5.842 +disponíveis no mirror. Atualizar pacotes é uma parte importante da manutenção da
   5.843 +segurança do sistema, permitindo o acesso às últimas atualizações e correções. O
   5.844 +projeto SliTaz, embora leve, fornece atualizações de segurança regulares e
   5.845 +geralmente oferece as últimas versões dos programas. Note que esta função é
   5.846 +direcionada àquelas pessoas que possuem o SliTaz instalado no seu disco rígido.
   5.847 +Pacotes atualizados a partir do Live CD serão perdidos no desligamento do
   5.848 +sistema. Para atualizar ou mostrar as opções para o comando:</p>
   5.849 +
   5.850  <pre>
   5.851 -# tazpkg up
   5.852 -# tazpkg --help-up
   5.853 +# tazpkg upgrade
   5.854  # tazpkg up --recharge --install
   5.855  # tazpkg up -r -i
   5.856  </pre>
   5.857  
   5.858  
   5.859 -<h3 id="check">check</h3>
   5.860 -
   5.861 -<p>
   5.862 -O comando "check" checa por dependências em pacotes instalados e determina
   5.863 -se todos os arquivos necessários para o re-empacotamento de um pacote estão
   5.864 -presentes:
   5.865 -</p>
   5.866 -<pre>
   5.867 -# tazpkg check package
   5.868 -</pre>
   5.869 -
   5.870 -
   5.871 -<h3 id="block">block ou unblock</h3>
   5.872 -
   5.873 -<p>
   5.874 -Os comandos "block" e "unblock" permitem o bloqueio de pacotes instalados para
   5.875 -que estes não possam ser atualizados com o comando "upgrade". A lista de pacotes
   5.876 -bloqueados está contida no arquivo /var/lib/tazpkg/blocked-packages.list, 
   5.877 -que também pode ser editado manualmente. Para bloquear ou desbloquear pacotes,
   5.878 -como o Grub, por exemplo:
   5.879 -</p>
   5.880 -<pre>
   5.881 -# tazpkg block grub
   5.882 -</pre>
   5.883 -<p>Ou :</p>
   5.884 -<pre>
   5.885 -# tazpkg unblock grub
   5.886 -</pre>
   5.887 -
   5.888 -
   5.889 -<h3 id="get">get</h3>
   5.890 -
   5.891 -<p>
   5.892 -Baixa um pacote do mirror (se existir). O arquivo baixado é arquivado no
   5.893 -diretório atual. Para descobrir qual o diretório atual utilize o comando "pwd".
   5.894 -Para baixar o pacote Grub:
   5.895 -</p>
   5.896 -<pre>
   5.897 -# tazpkg get grub
   5.898 -</pre>
   5.899 -
   5.900 -
   5.901 -<h3 id="get-install">get-install</h3>
   5.902 -
   5.903 -<p>
   5.904 -Baixa e instala um pacote de um mirror na internet. O comando "get-install" 
   5.905 -inicia checando se o pacote requerido existe no mirror e se já foi baixado.
   5.906 -Para uma lista de pacotes do mirror, usa-se o comando "list-mirror". Para 
   5.907 -baixar e instalar o pacote Grub:
   5.908 -</p>
   5.909 -<pre>
   5.910 -# tazpkg get-install grub
   5.911 -</pre>
   5.912 -
   5.913 -
   5.914 -<h3 id="clean-cache">clean-cache</h3>
   5.915 -
   5.916 -<p>
   5.917 -Remove pacotes *.tazpkg baixados que se encontram no cache. Durante a instalação,
   5.918 -o TazPkg mantém uma cópia dos pacotes baixados da internet. Isto é feito para
   5.919 -economizar banda no caso de uma reinstalação, mas pode ser que você queira
   5.920 -ter mais espaço no disco rígido ou baixar os pacotes novamente:
   5.921 -</p>
   5.922 -<pre>
   5.923 -# tazpkg clean-cache
   5.924 -</pre>
   5.925 -
   5.926 -
   5.927  <h3 id="setup-mirror">setup-mirror</h3>
   5.928  
   5.929 -<p>
   5.930 -Configura a URL do mirror. O comando "setup-mirror" pedirá a URL do novo mirror.
   5.931 -Você pode especificar várias URLs separadas por espaços. Note que você também
   5.932 -pode modificar manualmente o arquivo /var/lib/tazpkg/mirror. A URL deve apontar
   5.933 -para um diretório contendo um arquivo "packages.list" e os pacotes:
   5.934 -</p>
   5.935 +<p>Configura a URL do mirror. O comando <tt>setup-mirror</tt> pedirá a URL do
   5.936 +novo mirror. Você pode especificar várias URLs separadas por espaços. Note que
   5.937 +você também pode modificar manualmente o arquivo
   5.938 +<tt>/var/lib/tazpkg/mirror</tt>. A URL deve apontar para um diretório contendo
   5.939 +um arquivo <tt>packages.list</tt> e os pacotes.</p>
   5.940 +
   5.941  <pre>
   5.942  # tazpkg setup-mirror
   5.943  </pre>
   5.944  
   5.945  
   5.946 -<h3 id="reconfigure">reconfigure</h3>
   5.947 +<h3 id="add-undigest">add-undigest ou setup-undigest</h3>
   5.948  
   5.949 -<p>
   5.950 -Executa novamente o script de pós instalação de um pacote. Exemplo
   5.951 -usando o gcc:
   5.952 -</p>
   5.953 +<p>Define a URL de um mirror não oficial para testar ou usar pacotes que não
   5.954 +estão disponíveis no mirror oficial (chamados 'undigest'). Note que em vez de
   5.955 +rodar este comando você pode editar diretamente o arquivo
   5.956 +<tt>/var/lib/tazpkg/undigest/<em>repositorio</em></tt>. A URL deve apontar para
   5.957 +um diretório na web que contenha um arquivo <tt>packages.list</tt>:</p>
   5.958 +
   5.959  <pre>
   5.960 -# tazpkg reconfigure gcc
   5.961 +# tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
   5.962 +# tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
   5.963  </pre>
   5.964  
   5.965  
   5.966 -<h3 id="depends">depends ou rdepends</h3>
   5.967 +<h3 id="list-undigest">list-undigest</h3>
   5.968  
   5.969 -<p>
   5.970 -Mostra a árvore de dependências (direta ou inversamente) para um pacote.
   5.971 -Exemplo utilizando o mpd:
   5.972 -</p>
   5.973 -<pre> 
   5.974 -# tazpkg depends mpd
   5.975 -# tazpkg rdepends mpd
   5.976 -</pre>
   5.977 +<p>Lista os mirrors undigest adicionados.</p>
   5.978  
   5.979 -
   5.980 -<h3 id="add-undigest">add-undigest ou setup-undigest</h3>
   5.981 -
   5.982 -<p>
   5.983 -Define a URL de um mirror não oficial para testar ou usar pacotes que
   5.984 -não estão disponíveis no mirror oficial (chamados 'undigest'). Note que 
   5.985 -em vez de rodar este comando você pode editar diretamente o arquivo 
   5.986 -/var/lib/tazpkg/undigest/'repositorio'. A URL deve apontar para um 
   5.987 -diretório na web que contenha um arquivo 'packages.list':
   5.988 -</p>
   5.989  <pre>
   5.990 -# tazpkg add-undigest public-repository http://my.home.org/slitaz
   5.991 -# tazpkg setup-undigest local-repository /home/slitaz/packages
   5.992 +# tazpkg list-undigest
   5.993 +# tazpkg list-undigest --box
   5.994  </pre>
   5.995  
   5.996  
   5.997  <h3 id="remove-undigest">remove-undigest</h3>
   5.998  
   5.999 -<p>
  5.1000 -Remove a URL de um mirror undigest:
  5.1001 -</p>
  5.1002 +<p>Remove a URL de um mirror undigest.</p>
  5.1003 +
  5.1004  <pre>
  5.1005 -# tazpkg remove-undigest my-repository
  5.1006 +# tazpkg remove-undigest <em>my-repository</em>
  5.1007  </pre>
  5.1008  
  5.1009  
  5.1010 -<h3 id="list-undigest">list-undigest</h3>
  5.1011 -
  5.1012 -<p>
  5.1013 -Lista os mirrors undigest adicionados:
  5.1014 -</p>
  5.1015 -<pre>
  5.1016 -# tazpkg list-undigest
  5.1017 -</pre>
  5.1018 -
  5.1019 -
  5.1020 -<h3 id="convert">convert</h3>
  5.1021 -
  5.1022 -<p>
  5.1023 -Converte pacotes .deb (debian), .rpm (RedHat), .tgz (Slackware) ou
  5.1024 -.pgk.tar.gz (Archlinux) em pacotes .tazpkg (SliTaz):
  5.1025 -</p>
  5.1026 -<pre>
  5.1027 -# tazpkg convert pacote{.deb|.rpm|.tgz|.pkg.tar.gz}
  5.1028 -</pre>
  5.1029 -
  5.1030 -
  5.1031 -<h3 id="set-release">set-release</h3>
  5.1032 -
  5.1033 -<p>
  5.1034 -Este comando muda a versão atual e faz a atualização de pacotes para
  5.1035 -o lançamento mais recente:
  5.1036 -</p>
  5.1037 -<pre>
  5.1038 -# tazpkg set-release cooking
  5.1039 -</pre>
  5.1040 -
  5.1041 -
  5.1042 -<h3 id="bugs">bugs</h3>
  5.1043 -
  5.1044 -<p>
  5.1045 -Mostra uma lista de bugs conhecidos dos pacotes:
  5.1046 -</p>
  5.1047 -<pre>
  5.1048 -# tazpkg bugs
  5.1049 -</pre>
  5.1050  
  5.1051  
  5.1052  <h2>MANTENEDOR</h2>
  5.1053  
  5.1054 -<p>
  5.1055 -Christophe Lincoln &lt;pankso at slitaz.org&gt;
  5.1056 -</p>
  5.1057 +<p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
  5.1058  
  5.1059  <!-- End content -->
  5.1060  </div>
     6.1 --- a/doc/tazpkg.ru.html	Sun May 31 12:40:55 2015 -0400
     6.2 +++ b/doc/tazpkg.ru.html	Thu Jun 04 00:15:13 2015 +0300
     6.3 @@ -1,8 +1,9 @@
     6.4  <!DOCTYPE html>
     6.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
     6.6 +<html lang="ru">
     6.7  <head>
     6.8 +	<meta charset="utf-8" />
     6.9  	<title>Руководство TazPkg</title>
    6.10 -	<meta charset="utf-8" />
    6.11 +	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    6.12  	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    6.13  	<script type="text/javascript" src="../slitaz-doc.js"></script>
    6.14  </head>
    6.15 @@ -15,176 +16,336 @@
    6.16  <!-- Start content -->
    6.17  <div id="content">
    6.18  
    6.19 +
    6.20  <h2>НАЗВАНИЕ</h2>
    6.21  
    6.22 -<p>TazPkg — менеджер пакетов в системе SliTaz GNU/Linux.</p>
    6.23 +<p>TazPkg — менеджер пакетов в системе SliTaz GNU/Linux.</p>
    6.24  
    6.25  
    6.26  <h2>СИНТАКСИС</h2>
    6.27  
    6.28  <pre>
    6.29 -tazpkg [команда] [пакет|папка|шаблон|список|категория|--опции] [папка|--опции]
    6.30 +tazpkg [команда] [параметры...]
    6.31  </pre>
    6.32  
    6.33  
    6.34  <h2>ОПИСАНИЕ</h2>
    6.35  
    6.36 -<p>TazPkg — это сверхлегкий (~ 80 КБ) менеджер пакетов, позволяющий
    6.37 -устанавливать, выдавать список, загружать, обновлять и удалять бинарные пакеты
    6.38 -в системе GNU/Linux. TazPkg предоставляет команды для поиска и создания пакетов,
    6.39 -он был создан независимо от проекта. Пакеты с расширением *.tazpkg — это архивы
    6.40 -CPIO, содержащие сжатую при помощи GZip файловую систему, рецепт и
    6.41 -дополнительное описание. TazPkg также управляет зависимостями на основе
    6.42 -рецептов, находящихся в пакетах. Каждый рецепт содержит полную информацию
    6.43 -о пакете, а также может содержать пре- и пост-установочные функции. Тот же самый
    6.44 -рецепт использует Cookutils для компиляции исходников и создания пакетов
    6.45 -<tt>.tazpkg</tt>.</p>
    6.46 +<p>TazPkg — это легковесный менеджер пакетов, позволяющий устанавливать, выдавать списки, загружать,
    6.47 +обновлять и удалять бинарные пакеты в системе GNU/Linux. TazPkg предоставляет команды для поиска
    6.48 +и создания пакетов, он был создан независимо для проекта. Пакеты с расширением *.tazpkg — это архивы
    6.49 +CPIO, содержащие сжатую при помощи GZip файловую систему, рецепт и дополнительное описание. TazPkg
    6.50 +также управляет зависимостями на основе рецептов, находящихся в пакетах. Каждый рецепт содержит
    6.51 +полную информацию о пакете, а также может содержать пре- и пост-установочные функции. Тот же самый
    6.52 +рецепт использует Cookutils для компиляции исходников и создания пакетов <tt>.tazpkg</tt>.</p>
    6.53  
    6.54 -<p>TazPkg разработан полностью с нуля, он написан на скрипте, совместимом
    6.55 -с Bash. TazPkg работает под управлением Ash, который входит в состав проекта
    6.56 -BusyBox. TazPkg распространяется под свободной лицензией GNU GPL v3.</p>
    6.57 +<p>TazPkg разработан полностью с нуля, он написан на скрипте, совместимом с Bash. TazPkg работает
    6.58 +под управлением Ash, который входит в состав проекта BusyBox. TazPkg распространяется под свободной
    6.59 +лицензией GNU GPL v3.</p>
    6.60  
    6.61  
    6.62  <h2>КОМАНДЫ</h2>
    6.63  
    6.64  
    6.65 +<h3>Служебные команды</h3>
    6.66 +
    6.67 +<ul>
    6.68 +	<li><a href="#usage">usage</a>: краткая справка по командам</li>
    6.69 +	<li><a href="#help">help</a>: справка по выбранной команде</li>
    6.70 +	<li><a href="#activity">activity</a>: журнал действий TazPkg</li>
    6.71 +	<li><a href="#clean-cache">clean-cache</a>: очистить кэш загруженных пакетов</li>
    6.72 +	<li><a href="#shell">shell</a>: запустить интерактивную оболочку TazPkg</li>
    6.73 +</ul>
    6.74 +
    6.75 +
    6.76 +<h3>Работа со списками</h3>
    6.77 +
    6.78 +<ul>
    6.79 +	<li><a href="#list">list</a>: список установленных пакетов</li>
    6.80 +	<li><a href="#list-mirror">list-mirror</a>: список всех доступных в репозитории пакетов</li>
    6.81 +	<li><a href="#list-config">list-config</a>: список всех конфигурационных файлов</li>
    6.82 +</ul>
    6.83 +
    6.84 +
    6.85 +<h3>Поиск</h3>
    6.86 +
    6.87 +<ul>
    6.88 +	<li><a href="#search">search</a>: поиск пакета по шаблону или названию</li>
    6.89 +	<li><a href="#search-pkgname">search-pkgname</a>: поиск в репозитории пакета, имеющего указанный
    6.90 +		файл</li>
    6.91 +	<li><a href="#search-file">search-file</a>: поиск файла среди файлов всех установленных
    6.92 +		пакетов</li>
    6.93 +</ul>
    6.94 +
    6.95 +
    6.96 +<h3>Установка и удаление пакетов</h3>
    6.97 +
    6.98 +<ul>
    6.99 +	<li><a href="#get">get</a>: загрузить пакет в текущую папку</li>
   6.100 +	<li><a href="#install">install</a>: установить локальный пакет</li>
   6.101 +	<li><a href="#get-install">get-install</a>: загрузить пакет из репозитория и установить его</li>
   6.102 +	<li><a href="#install-list">install-list</a>: установить все пакеты из списка пакетов</li>
   6.103 +	<li><a href="#install-list">get-install-list</a>: загрузить из репозитория список пакетов
   6.104 +		и установить их</li>
   6.105 +	<li><a href="#remove">remove</a>: удалить указанный пакет и все установленные им файлы</li>
   6.106 +	<li><a href="#reconfigure">reconfigure</a>: повторно выполнить пост-установочный скрипт из
   6.107 +		пакета</li>
   6.108 +	<li><a href="#link">link</a>: присоединить пакет из другого установленного SliTaz</li>
   6.109 +	<li><a href="#set-release">set-release</a>: изменить релиз и обновить пакеты</li>
   6.110 +	<li><a href="#add-flavor">add-flavor</a>: установить список пакетов flavor</li>
   6.111 +	<li><a href="#add-flavor">install-flavor</a>: установить список пакетов flavor и удалить
   6.112 +		прочие</li>
   6.113 +</ul>
   6.114 +
   6.115 +
   6.116 +<h3>Работа с пакетами</h3>
   6.117 +
   6.118 +<ul>
   6.119 +	<li><a href="#info">info</a>: информация о пакете</li>
   6.120 +	<li><a href="#desc">desc</a>: описание пакета</li>
   6.121 +	<li><a href="#list-files">list-files</a>: список файлов пакета</li>
   6.122 +	<li><a href="#block">block, unblock</a>: блокировать или разблокировать установленный пакет для
   6.123 +		обновлений</li>
   6.124 +	<li><a href="#check">check</a>: проверить целостность установленных пакетов</li>
   6.125 +	<li><a href="#bugs">bugs</a>: известные ошибки в пакетах</li>
   6.126 +	<li><a href="#depends">depends</a>: показать дерево зависимостей</li>
   6.127 +	<li><a href="#depends">rdepends</a>: показать дерево обратных зависимостей</li>
   6.128 +	<li><a href="#extract">extract</a>: распаковать пакет (*.tazpkg) в папку</li>
   6.129 +	<li><a href="#pack">pack</a>: упаковать распакованное или подготовленное дерево пакета</li>
   6.130 +	<li><a href="#repack">repack</a>: создать пакет из файлов установленного пакета</li>
   6.131 +	<li><a href="#repack-config">repack-config</a>: создать пакет со всеми конфигурационными
   6.132 +		файлами</li>
   6.133 +	<li><a href="#recompress">recompress</a>: перепаковать пакет с лучшей степенью сжатия</li>
   6.134 +	<li><a href="#convert">convert</a>: конвертировать «чужой» пакет в формат tazpkg</li>
   6.135 +	<li><a href="#list-suggested">list-suggested</a>: список предлагаемых пакетов</li>
   6.136 +</ul>
   6.137 +
   6.138 +
   6.139 +<h3>Работа с репозиториями</h3>
   6.140 +
   6.141 +<ul>
   6.142 +	<li><a href="#recharge">recharge</a>: получить свежий список пакетов репозитория</li>
   6.143 +	<li><a href="#upgrade">upgrade</a>: проверить, показать и установить обновления</li>
   6.144 +	<li><a href="#setup-mirror">setup-mirror</a>: изменить настройки URL репозитория</li>
   6.145 +	<li><a href="#add-undigest">setup-undigest</a>: обновить неофициальный репозиторий</li>
   6.146 +	<li><a href="#list-undigest">list-undigest</a>: список неофициальных репозиториев</li>
   6.147 +	<li><a href="#add-undigest">add-undigest</a>: добавить неофициальный репозиторий</li>
   6.148 +	<li><a href="#remove-undigest">remove-undigest</a>: удалить неофициальный репозиторий</li>
   6.149 +</ul>
   6.150 +
   6.151 +
   6.152 +
   6.153 +
   6.154 +<h2>Служебные команды</h2>
   6.155 +
   6.156 +
   6.157 +<h3 id="usage">usage</h3>
   6.158 +
   6.159 +<p>Отобразить полный список команд TazPkg с кратким описанием.</p>
   6.160 +
   6.161 +<pre>
   6.162 +$ tazpkg usage
   6.163 +$ tazpkg
   6.164 +</pre>
   6.165 +
   6.166 +
   6.167 +<h3 id="help">help</h3>
   6.168 +
   6.169 +<p>Отобразить справку по выбранной команде (<tt>help</tt> или <tt>-h</tt>). Можно вводить краткое
   6.170 +имя команды, полное имя, либо часть полного имени. Можно игнорировать дефисы в начале краткого
   6.171 +имени. В случае, если запрошенной части полного имени соответствуют несколько имен команд, будет
   6.172 +предложено уточнить имя команды.</p>
   6.173 +
   6.174 +<pre>
   6.175 +$ tazpkg help <em>-gi</em>
   6.176 +$ tazpkg -h <em>us</em>
   6.177 +</pre>
   6.178 +
   6.179 +
   6.180 +<h3 id="activity">activity</h3>
   6.181 +
   6.182 +<p>Показать журнал действий TazPkg (<tt>activity</tt> или <tt>log</tt> или <tt>-a</tt>). При помощи
   6.183 +параметра <tt>--nb=</tt> можно указать количество отображаемых строк журнала.</p>
   6.184 +<pre>
   6.185 +$ tazpkg activity
   6.186 +$ tazpkg -a --nb=<em>20</em>
   6.187 +</pre>
   6.188 +
   6.189 +
   6.190 +<h3 id="clean-cache">clean-cache</h3>
   6.191 +
   6.192 +<p>Удалить пакеты *.tazpkg, загруженные в кэш (<tt>clean-cache</tt> или <tt>-cc</tt>). Во время
   6.193 +установки TazPkg сохраняет копии пакетов, загруженных из интернета. Это сделано для того, чтобы
   6.194 +сохранить трафик в случае переустановки, но вы можете захотеть освободить место на жестком диске или
   6.195 +повторно загрузить пакеты.</p>
   6.196 +
   6.197 +<pre>
   6.198 +# tazpkg clean-cache
   6.199 +# tazpkg -cc
   6.200 +</pre>
   6.201 +
   6.202 +
   6.203 +<h3 id="shell">shell</h3>
   6.204 +
   6.205 +<p>Запустить интерактивную оболочку TazPkg. Здесь вы можете ввести все команды TazPkg, описанные
   6.206 +выше.</p>
   6.207 +<pre>
   6.208 +$ tazpkg shell
   6.209 +# tazpkg shell
   6.210 +</pre>
   6.211 +
   6.212 +
   6.213 +
   6.214 +
   6.215 +<h2>Работа со списками</h2>
   6.216 +
   6.217 +
   6.218  <h3 id="list">list</h3>
   6.219  
   6.220 -<p>Список пакетов, установленных в системе. Эта команда может выводить список
   6.221 -всех установленных пакетов, список категорий, список пакетов определенной
   6.222 -категории, и список пакетов заблокированных от обновления. Вы можете также
   6.223 -использовать команду <tt><a href="#search">search</a></tt> для вывода списка
   6.224 -на основе условия или названия пакета:</p>
   6.225 +<p>Список пакетов, установленных в системе (<tt>list</tt> или <tt>-l</tt>). Эта команда может
   6.226 +выводить список всех установленных пакетов, список категорий (<tt>c</tt> или <tt>cat</tt> или
   6.227 +<tt>categories</tt>), список пакетов определенной категории, и список пакетов заблокированных от
   6.228 +обновления (<tt>b</tt> или <tt>blocked</tt>). Вы можете также использовать команду
   6.229 +<tt><a href="#search">search</a></tt> для вывода списка на основе условия или названия пакета.</p>
   6.230  
   6.231  <pre>
   6.232  # tazpkg list
   6.233 -# tazpkg list cat
   6.234 -# tazpkg list <em>категория</em>
   6.235 -# tazpkg list blocked
   6.236 -</pre>
   6.237 -
   6.238 -
   6.239 -<h3 id="xhtml-list">xhtml-list</h3>
   6.240 -
   6.241 -<p>Эта команда сохраняет список всех пакетов, установленных в системе, в файл
   6.242 -формата xHTML для просмотра в браузере. Команду может запускать обычный
   6.243 -пользователь, она создает файл <tt>installed-packages.html</tt> в той папке,
   6.244 -откуда она была запущена. Обратите внимание, что вы можете изменить имя файла
   6.245 -с помощью командной строки:</p>
   6.246 -
   6.247 -<pre>
   6.248 -# tazpkg xhtml-list
   6.249 -# tazpkg xhtml-list <em>имя-списка.html</em>
   6.250 +# tazpkg -l cat
   6.251 +# tazpkg -l <em>games</em>
   6.252 +# tazpkg -l <em>игры</em>
   6.253 +# tazpkg -l blocked
   6.254  </pre>
   6.255  
   6.256  
   6.257  <h3 id="list-mirror">list-mirror</h3>
   6.258  
   6.259 -<p>Список пакетов, доступных на <a href="http://mirror.slitaz.org/">зеркале</a>. Эта команда покажет файл
   6.260 -<tt>packages.list</tt>, загруженный с зеркала. Если этого файла нет, вам будет
   6.261 -предложено запустить <code>tazpkg <a href="#recharge">recharge</a></code>
   6.262 -с правами администратора (root), чтобы получить список доступных пакетов.
   6.263 -Параметр <tt>--diff</tt> позволяет отобразить различия между новым и текущим
   6.264 -списками пакетов:</p>
   6.265 +<p>Список пакетов, доступных в <a href="http://mirror.slitaz.org/">репозитории</a>
   6.266 +(<tt>list-mirror</tt> или <tt>-lm</tt>). Эта команда покажет список пакетов, загруженный из
   6.267 +репозитория. Если этот список еще не загружался, вам будет предложено запустить
   6.268 +<code>tazpkg <a href="#recharge">recharge</a></code> с правами администратора (root), чтобы получить
   6.269 +список доступных пакетов. Параметр <tt>--diff</tt> позволяет отобразить различия между новым и
   6.270 +текущим списками пакетов.</p>
   6.271  
   6.272  <pre>
   6.273  # tazpkg list-mirror
   6.274 -# tazpkg list-mirror --diff
   6.275 -</pre>
   6.276 -
   6.277 -
   6.278 -<h3 id="info">info</h3>
   6.279 -
   6.280 -<p>Показать всю информацию по интересующему вас пакету. Информация содержится
   6.281 -в рецепте пакета — его версия, категория, разработчик, сайт и все зависимости
   6.282 -(см. также Cookutils для получения дополнительной информации по рецептам):</p>
   6.283 -
   6.284 -<pre>
   6.285 -# tazpkg info <em>busybox</em>
   6.286 -</pre>
   6.287 -
   6.288 -
   6.289 -<h3 id="desc">desc</h3>
   6.290 -
   6.291 -<p>Описание пакета (если оно существует). Эта команда выводит файл
   6.292 -<tt>description.txt</tt> из каждого пакета (простой текстовый файл, шириной до
   6.293 -80 символов, чтобы поместиться в стандартном терминале):</p>
   6.294 -
   6.295 -<pre>
   6.296 -# tazpkg desc <em>busybox</em>
   6.297 +# tazpkg -lm --diff
   6.298  </pre>
   6.299  
   6.300  
   6.301  <h3 id="list-config">list-config</h3>
   6.302  
   6.303 -<p>Список конфигурационных системных файлов. Параметр <tt>--box</tt> отображает
   6.304 -список в виде таблицы:</p>
   6.305 +<p>Список конфигурационных системных файлов. Параметр <tt>--box</tt> отображает список в виде
   6.306 +таблицы. Вы можете указать имя пакета, чтобы отобразить конфигурацинные файлы только для этого
   6.307 +пакета.</p>
   6.308  
   6.309  <pre>
   6.310 -# tazpkg list-config
   6.311 -# tazpkg list-config --box
   6.312 +$ tazpkg list-config
   6.313 +$ tazpkg list-config --box
   6.314 +$ tazpkg list-config <em>slim</em>
   6.315 +$ tazpkg list-config --box <em>slim</em>
   6.316  </pre>
   6.317  
   6.318  
   6.319 -<h3 id="list-files">list-files</h3>
   6.320  
   6.321 -<p>Список всех файлов, которые устанавливаются при установке пакета. Эта команда
   6.322 -просто читает и отображает файл <tt>files.list</tt> каждого пакета (он создается
   6.323 -автоматически при создании пакета, а также используется для удаления файлов при
   6.324 -удалении пакета). Чтобы получить список файлов, установленных пакетом bc:</p>
   6.325  
   6.326 -<pre>
   6.327 -# tazpkg list-files <em>bc</em>
   6.328 -</pre>
   6.329 +<h2>Поиск</h2>
   6.330  
   6.331  
   6.332  <h3 id="search">search</h3>
   6.333  
   6.334 -<p>Поиск пакета по имени владельца или названию пакета. Эта команда будет искать
   6.335 -в списке установленных пакетов и в списке пакетов, доступных на зеркале. Для
   6.336 -того, чтобы получить новейший список пакетов с зеркала, просто запустите
   6.337 -<code>tazpkg recharge</code> перед началом проведения поиска:</p>
   6.338 +<p>Поиск пакета по имени владельца или названию пакета (<tt>search</tt> или <tt>-s</tt>). Эта
   6.339 +команда будет искать в списке установленных пакетов (<tt>-i</tt> или <tt>--installed</tt>) и
   6.340 +в списке пакетов, доступных в репозитории (<tt>-l</tt> или <tt>--list</tt>). Для того, чтобы
   6.341 +получить новейший список пакетов из репозитория, просто запустите <code>tazpkg recharge</code> перед
   6.342 +началом проведения поиска:</p>
   6.343  
   6.344  <pre>
   6.345 -# tazpkg search <em>gcc</em>
   6.346 +$ tazpkg search <em>gcc</em>
   6.347 +$ tazpkg search <em>mt</em> -i
   6.348 +$ tazpkg search <em>bit</em> -l
   6.349 +</pre>
   6.350 +
   6.351 +
   6.352 +<h3 id="search-pkgname">search-pkgname</h3>
   6.353 +
   6.354 +<p>Поиск файла среди всех файлов, доступных в репозитории с выводом только названий соответствующих
   6.355 +пакетов (<tt>search-pkgname</tt> или <tt>-sp</tt>).</p>
   6.356 +
   6.357 +<pre>
   6.358 +$ tazpkg search-pkgname <em>libnss</em>
   6.359 +$ tazpkg -sp <em>/usr/share/fonts</em>
   6.360  </pre>
   6.361  
   6.362  
   6.363  <h3 id="search-file">search-file</h3>
   6.364  
   6.365 -<p>Эта команда ищет файл среди всех файлов, которые были установлены с пакетами.
   6.366 -Это бывает очень полезно, когда нужно найти полный путь к файлу или определить,
   6.367 -присутствует ли файл в системе. Пример:</p>
   6.368 +<p>Поиск файла среди всех файлов, которые были установлены с пакетами (<tt>search-file</tt> или
   6.369 +<tt>-sf</tt>). Это бывает очень полезно, когда нужно найти полный путь к файлу или определить,
   6.370 +присутствует ли файл в системе. Опция <tt>--mirror</tt> позволяет искать файл среди всех файлов,
   6.371 +доступных в репозитории. Пример:</p>
   6.372  
   6.373  <pre>
   6.374  $ tazpkg search-file <em>libnss</em>
   6.375 +$ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   6.376 +</pre>
   6.377 +
   6.378 +
   6.379 +
   6.380 +
   6.381 +<h2>Установка и удаление пакетов</h2>
   6.382 +
   6.383 +
   6.384 +<h3 id="get">get</h3>
   6.385 +
   6.386 +<p>Загрузить пакет из репозитория (если он существует). Загруженный пакет сохраняется в текущей
   6.387 +папке. Чтобы узнать текущий путь, вы можете использовать команду <code>pwd</code>.</p>
   6.388 +
   6.389 +<pre>
   6.390 +# tazpkg get <em>grub</em>
   6.391 +# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   6.392  </pre>
   6.393  
   6.394  
   6.395  <h3 id="install">install</h3>
   6.396  
   6.397 -<p>Эта команда позволяет устанавливать ранее загруженный пакет с расширением
   6.398 -<tt>.tazpkg</tt>. См. <tt><a href="#get-install">get-install</a></tt>, если вы
   6.399 -хотите установить пакет из интернета. Обратите внимание, что вы можете выполнить
   6.400 -принудительную установку с параметром <tt>--forced</tt>, удалить и
   6.401 -переустановить пакет с параметрами <tt>uninstall</tt> и <tt>reinstall</tt>
   6.402 -соответственно. Также вы можете указать путь к корню файловой системы, в которую
   6.403 -вы хотите установить пакет, с помощью параметра <tt>--root=…</tt>:</p>
   6.404 +<p>Эта команда позволяет устанавливать ранее загруженный пакет с расширением <tt>.tazpkg</tt>
   6.405 +(<tt>install</tt> или <tt>-i</tt>). См. <tt><a href="#get-install">get-install</a></tt>, если вы
   6.406 +хотите установить пакет из интернета. Обратите внимание, что вы можете выполнить принудительную
   6.407 +установку с параметром <tt>--forced</tt>. Также вы можете указать путь к корню файловой системы,
   6.408 +в которую вы хотите установить пакет, с помощью параметра <tt>--root=</tt>.</p>
   6.409  
   6.410  <pre>
   6.411  # tazpkg install <em>пакет-1.0.tazpkg</em>
   6.412 -# tazpkg install <em>путь/к/пакету-1.0.tazpkg</em> --forced
   6.413 -# tazpkg install <em>путь/к/пакету-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   6.414 +# tazpkg -i <em>путь/к/пакету-1.0.tazpkg</em> --forced
   6.415 +# tazpkg -i <em>путь/к/пакету-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   6.416  </pre>
   6.417  
   6.418  
   6.419 -<h3 id="install-list">install-list<br />
   6.420 -<span id="get-install-list">get-install-list</span></h3>
   6.421 +<h3 id="get-install">get-install</h3>
   6.422  
   6.423 -<p>Установить набор пакетов, перечисленных в файле. Команда
   6.424 -<tt>install-list</tt> позволяет вам установить за один раз несколько ранее
   6.425 -загруженных пакетов, а команда <tt>get-install-list</tt> перед установкой списка
   6.426 -пакетов предварительно загружает их из интернета. Эти команды также понимают
   6.427 +<p>Загрузить и установить пакет из репозитория в интернете. Эта команда (<tt>get-install</tt> или
   6.428 +<tt>-gi</tt>) сначала проверяет, существует ли пакет в репозитории и был ли он уже загружен. Для
   6.429 +получения списка пакетов в репозитории используйте команду
   6.430 +<tt><a href="#list-mirror">list-mirror</a></tt>.</p>
   6.431 +
   6.432 +<p>Команда воспринимает следующие параметры:</p>
   6.433 +
   6.434 +<p><tt>--forced</tt> позволяет обновить уже установленный пакет.</p>
   6.435 +
   6.436 +<p><tt>--root=</tt> позволяет указать корень файловой системы, в которой будет установлен пакет.</p>
   6.437 +
   6.438 +<pre>
   6.439 +# tazpkg get-install <em>grub</em>
   6.440 +# tazpkg -gi <em>grub</em> --forced
   6.441 +# tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   6.442 +</pre>
   6.443 +
   6.444 +
   6.445 +<h3 id="install-list">install-list, get-install-list</h3>
   6.446 +
   6.447 +<p>Установить набор пакетов, перечисленных в файле. Команда <tt>install-list</tt> позволяет вам
   6.448 +установить за один раз несколько ранее загруженных пакетов, а команда <tt>get-install-list</tt>
   6.449 +перед установкой списка пакетов предварительно загружает их из интернета. Эти команды также понимают
   6.450  параметр форсированной установки:</p>
   6.451  
   6.452  <pre>
   6.453 @@ -193,200 +354,146 @@
   6.454  </pre>
   6.455  
   6.456  
   6.457 +<h3 id="remove">remove</h3>
   6.458 +
   6.459 +<p>Удалить пакет (<tt>remove</tt> или <tt>-r</tt>). Вас спросят о подтверждении (y/N) удаления
   6.460 +пакета, а также об удалении пакетов, зависящих от этого пакета, и о переустановке пакетов, которые
   6.461 +были изменены этим пакетом. Эта команда удаляет все файлы, которые устанавливались в составе
   6.462 +пакета.</p>
   6.463 +
   6.464 +<p>Параметр <tt>--root=</tt> позволяет указать корень ФС, в которой будут удаляться пакеты. Параметр
   6.465 +<tt>--auto</tt> удаляет и переустанавливает пакеты без вашего подтверждения.</p>
   6.466 +
   6.467 +<pre>
   6.468 +# tazpkg remove <em>bc</em>
   6.469 +# tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   6.470 +# tazpkg -r <em>nano</em> --auto
   6.471 +</pre>
   6.472 +
   6.473 +
   6.474 +<h3 id="reconfigure">reconfigure</h3>
   6.475 +
   6.476 +<p>Повторяет пост-установочный скрипт из пакета.</p>
   6.477 +
   6.478 +<pre>
   6.479 +# tazpkg reconfigure <em>gcc</em>
   6.480 +# tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   6.481 +</pre>
   6.482 +
   6.483 +
   6.484  <h3 id="link">link</h3>
   6.485  
   6.486 -<p>Эта команда позволяет установить пакет, уже установленный на другом носителе.
   6.487 -Установка заключается в создании символьных ссылок и требует очень мало памяти.
   6.488 -Обычно это применяется, когда система работает в оперативной памяти и нужно
   6.489 -установить дополнения с USB-флэш:</p>
   6.490 +<p>Эта команда позволяет установить пакет, уже установленный на другом носителе. Установка
   6.491 +заключается в создании символьных ссылок и требует очень мало памяти. Обычно это применяется, когда
   6.492 +система работает в оперативной памяти и нужно установить дополнения с USB-флэш.</p>
   6.493  
   6.494  <pre>
   6.495  # tazpkg link <em>openoffice /media/usbdisk</em>
   6.496  </pre>
   6.497  
   6.498  
   6.499 -<h3 id="remove">remove</h3>
   6.500 +<h3 id="set-release">set-release</h3>
   6.501  
   6.502 -<p>Удалить пакет. Вас спросят о подтверждении (y/N). Эта команда удаляет все
   6.503 -файлы, которые устанавливались в составе пакета. Для просмотра списка файлов,
   6.504 -используйте команду <tt><a href="#list-files">list-files</a></tt> с названием
   6.505 -пакета. Пример удаления пакета bc:</p>
   6.506 +<p>Эта команда меняет текущую версию и обновляет все пакеты до последнего релиза выбранной
   6.507 +версии.</p>
   6.508  
   6.509  <pre>
   6.510 -# tazpkg remove <em>bc</em>
   6.511 +# tazpkg set-release <em>cooking</em>
   6.512  </pre>
   6.513  
   6.514  
   6.515 -<h3 id="extract">extract</h3>
   6.516 +<h3 id="add-flavor">add-flavor, install-flavor</h3>
   6.517  
   6.518 -<p>Распаковать пакет в папку. Если вы не укажете папку назначения, то пакет
   6.519 -будет распакован в папку с именем <tt><em>пакет-версия</em></tt>, которая будет
   6.520 -создана в текущей папке:</p>
   6.521 +<p>Установить набор пакетов указанной редакции (flavor). Дополнительно, команда
   6.522 +<tt>install-flavor</tt> удаляет все прочие установленные пакеты, не входящие в эту редакцию.</p>
   6.523  
   6.524  <pre>
   6.525 -# tazpkg extract <em>пакет.tazpkg</em>
   6.526 -# tazpkg extract <em>пакет.tazpkg папка/назначения</em>
   6.527 +# tazpkg add-flavor <em>gtkonly</em>
   6.528 +# tazpkg install-flavor <em>justx</em>
   6.529  </pre>
   6.530  
   6.531  
   6.532 -<h3 id="pack">pack</h3>
   6.533  
   6.534 -<p>Эта команда создаст пакет из заранее подготовленной папки или из
   6.535 -распакованного пакета. Используя эту команду вы можете создать пакет .tazpkg
   6.536 -вручную (см. документацию Cookutils по вопросу автоматического создания пакетов).
   6.537 -Упаковать пакет:</p>
   6.538 +
   6.539 +<h2>Работа с пакетами</h2>
   6.540 +
   6.541 +
   6.542 +<h3 id="info">info</h3>
   6.543 +
   6.544 +<p>Показать всю информацию по интересующему вас пакету. Информация содержится в рецепте пакета — его
   6.545 +версия, категория, разработчик, сайт и все зависимости (см. также Cookutils для получения
   6.546 +дополнительной информации по рецептам):</p>
   6.547  
   6.548  <pre>
   6.549 -# tazpkg pack <em>пакет-версия</em>
   6.550 +# tazpkg info <em>busybox</em>
   6.551  </pre>
   6.552  
   6.553  
   6.554 -<h3 id="repack">repack</h3>
   6.555 +<h3 id="desc">desc</h3>
   6.556  
   6.557 -<p>Эта команда позволяет восстановить пакет из файлов в системе, где он был
   6.558 -ранее установлен. Переупаковать пакет:</p>
   6.559 +<p>Описание пакета (если оно существует) (<tt>desc</tt> или <tt>-d</tt>). Эта команда выводит файл
   6.560 +<tt>description.txt</tt> из каждого пакета (простой текстовый файл, шириной до 80 символов, чтобы
   6.561 +поместиться в стандартном терминале):</p>
   6.562  
   6.563  <pre>
   6.564 -# tazpkg repack <em>пакет</em>
   6.565 +# tazpkg desc <em>busybox</em>
   6.566  </pre>
   6.567  
   6.568  
   6.569 -<h3 id="repack-config">repack-config</h3>
   6.570 +<h3 id="list-files">list-files</h3>
   6.571  
   6.572 -<p>Эта команда воссоздает пакет с конфигурационными системными файлами (см.
   6.573 -<tt><a href="#list-config">list-config</a></tt>). Для того, чтобы восстановить
   6.574 -текущую конфигурацию, потом достаточно будет установить созданный пакет.
   6.575 -Упаковать конфигурационные файлы:</p>
   6.576 +<p>Список всех файлов, которые устанавливаются при установке пакета (<tt>list-files</tt> или
   6.577 +<tt>-lf</tt>). Эта команда просто читает и отображает файл <tt>files.list</tt> каждого пакета (он
   6.578 +создается автоматически при создании пакета, а также используется для удаления файлов при удалении
   6.579 +пакета).</p>
   6.580  
   6.581  <pre>
   6.582 -# tazpkg repack-config
   6.583 +# tazpkg list-files <em>bc</em>
   6.584  </pre>
   6.585  
   6.586  
   6.587 -<h3 id="recharge">recharge</h3>
   6.588 +<h3 id="block">block, unblock, chblock</h3>
   6.589  
   6.590 -<p>Обновление списка пакетов, доступных на зеркале. Эта команда загрузит с
   6.591 -зеркала самый последний список устанавливаемых пакетов <tt>packages.list</tt> и,
   6.592 -прежде чем продолжить, сохранит старый список. После обновления списка, вы
   6.593 -можете использовать команды <tt><a href="#list">list</a></tt> и
   6.594 -<tt><a href="#search">search</a></tt>. Для просмотра списка различий используйте
   6.595 -команду <code>list-mirror --diff</code>, а для просмотра и обновления пакетов
   6.596 -просто скомандуйте <tt><a href="#upgrade">upgrade</a></tt>. Обновить список
   6.597 -пакетов:</p>
   6.598 -
   6.599 -<pre>
   6.600 -# tazpkg recharge
   6.601 -</pre>
   6.602 -
   6.603 -
   6.604 -<h3 id="up">up<br />
   6.605 -<span id="upgrade">upgrade</span></h3>
   6.606 -
   6.607 -<p>Команда позволяет обновить все установленные пакеты, доступные на текущем
   6.608 -зеркале. Обновление пакетов — важная составляющая безопасности системы, и вы
   6.609 -можете чувствовать себя в безопасности с последними обновлениями и
   6.610 -исправлениями. Хотя проект SliTaz и крохотный, но он обеспечивает регулярные
   6.611 -обновления по безопасности и как правило, предоставляет последние версии ПО.
   6.612 -Обратите внимание, что эта функция предназначена для людей, установивших SliTaz
   6.613 -на жесткий диск. Обновленные пакеты в режиме LiveCD, будут потеряны при
   6.614 -выключении системы. Обновить или показать все параметры команды <tt>up</tt>:</p>
   6.615 -
   6.616 -<pre>
   6.617 -# tazpkg up
   6.618 -# tazpkg --help-up
   6.619 -# tazpkg up --recharge --install
   6.620 -# tazpkg up -r -i
   6.621 -</pre>
   6.622 -
   6.623 -
   6.624 -<h3 id="check">check</h3>
   6.625 -
   6.626 -<p>Эта команда может проверить зависимости установленных пакетов и определить,
   6.627 -все ли файлы, необходимые для переупаковки пакета присутствуют:</p>
   6.628 -
   6.629 -<pre>
   6.630 -# tazpkg check <em>пакет</em>
   6.631 -</pre>
   6.632 -
   6.633 -
   6.634 -<h3 id="block">block<br />
   6.635 -<span id="unblock">unblock</span></h3>
   6.636 -
   6.637 -<p>Команды позволяют вам блокировать и разблокировать установленную версию
   6.638 -пакета. Заблокированный пакет не будет обновляться командой
   6.639 -<tt><a href="#upgrade">upgrade</a></tt>. Список заблокированных пакетов
   6.640 -находится в файле <tt>/var/lib/tazpkg/blocked-packages.list</tt>. Этот файл
   6.641 -также можно отредактировать вручную. Для блокирования или разблокирования пакета
   6.642 -Grub:</p>
   6.643 +<p>Команды позволяют вам блокировать (<tt>block</tt> или <tt>-b</tt>) и разблокировать
   6.644 +(<tt>unblock</tt> или <tt>-u</tt>) установленную версию пакета. Команда <tt>chblock</tt> меняет
   6.645 +состояние блокировки пакета на противоположное. Заблокированный пакет не будет обновляться командой
   6.646 +<tt><a href="#upgrade">upgrade</a></tt>. Список заблокированных пакетов находится в файле
   6.647 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>. Этот файл также можно отредактировать вручную.</p>
   6.648  
   6.649  <pre>
   6.650  # tazpkg block <em>grub</em>
   6.651  # tazpkg unblock <em>grub</em>
   6.652 +# tazpkg chblock <em>grub</em>
   6.653  </pre>
   6.654  
   6.655  
   6.656 -<h3 id="get">get</h3>
   6.657 +<h3 id="check">check</h3>
   6.658  
   6.659 -<p>Загрузить пакет с зеркала (если он существует). Загруженный пакет сохраняется
   6.660 -в текущей папке. Чтобы узнать текущий путь, вы можете использовать команду
   6.661 -<code>pwd</code>. Для загрузки пакета Grub:</p>
   6.662 +<p>Эта команда может проверить зависимости установленных пакетов и определить, все ли файлы,
   6.663 +необходимые для переупаковки пакета присутствуют:</p>
   6.664  
   6.665  <pre>
   6.666 -# tazpkg get <em>grub</em>
   6.667 +$ tazpkg check
   6.668 +$ tazpkg check --full
   6.669 +$ tazpkg check <em>nano</em>
   6.670 +$ tazpkg check <em>sakura</em> --full
   6.671  </pre>
   6.672  
   6.673  
   6.674 -<h3 id="get-install">get-install</h3>
   6.675 +<h3 id="bugs">bugs</h3>
   6.676  
   6.677 -<p>Загрузить и установить пакет с зеркала в интернете. Эта команда сначала
   6.678 -проверяет, существует ли пакет на зеркале и был ли он уже загружен. Для
   6.679 -получения списка пакетов на зеркале, используйте команду
   6.680 -<tt><a href="#list-mirror">list-mirror</a></tt>. Для установки пакета Grub:</p>
   6.681 +<p>Показывает список известных ошибок в пакетах. Вы можете указать название единственного пакета,
   6.682 +для которого нужно показать список ошибок.</p>
   6.683  
   6.684  <pre>
   6.685 -# tazpkg get-install <em>grub</em>
   6.686 +$ tazpkg bugs
   6.687 +$ tazpkg bugs <em>мой_пакет</em>
   6.688  </pre>
   6.689  
   6.690  
   6.691 -<h3 id="clean-cache">clean-cache</h3>
   6.692 +<h3 id="depends">depends, rdepends</h3>
   6.693  
   6.694 -<p>Удалить пакеты *.tazpkg, загруженные в кэш. Во время установки TazPkg
   6.695 -сохраняет копии пакетов, загруженных из интернета. Это сделано для того, чтобы
   6.696 -сохранить трафик в случае переустановки, но вы можете захотеть освободить место
   6.697 -на жестком диске или повторно загрузить пакеты:</p>
   6.698 -
   6.699 -<pre>
   6.700 -# tazpkg clean-cache
   6.701 -</pre>
   6.702 -
   6.703 -
   6.704 -<h3 id="setup-mirror">setup-mirror</h3>
   6.705 -
   6.706 -<p>Установка адреса зеркала. Эта команда запросит URL нового зеркала. Можно
   6.707 -указать несколько адресов, разделенных пробелами. Обратите внимание, что вы
   6.708 -также можете изменить основной файл <tt>/var/lib/tazpkg/mirror</tt>. URL-адрес
   6.709 -должен указывать на папку, содержащую пакеты и файл <tt>packages.list</tt>:</p>
   6.710 -
   6.711 -<pre>
   6.712 -# tazpkg setup-mirror
   6.713 -</pre>
   6.714 -
   6.715 -
   6.716 -<h3 id="reconfigure">reconfigure</h3>
   6.717 -
   6.718 -<p>Повторяет пост-установочный скрипт из пакета. Пример использования для
   6.719 -GCC:</p>
   6.720 -
   6.721 -<pre>
   6.722 -# tazpkg reconfigure <em>gcc</em>
   6.723 -</pre>
   6.724 -
   6.725 -
   6.726 -<h3 id="depends">depends<br />
   6.727 -<span id="rdepends">rdepends</span></h3>
   6.728 -
   6.729 -<p>Отображает дерево зависимостей и обратное дерево зависимостей пакета,
   6.730 -соответственно. Пример использования для MPD:</p>
   6.731 +<p>Отображает дерево зависимостей и обратное дерево зависимостей пакета, соответственно.</p>
   6.732  
   6.733  <pre>
   6.734  # tazpkg depends <em>mpd</em>
   6.735 @@ -394,14 +501,180 @@
   6.736  </pre>
   6.737  
   6.738  
   6.739 -<h3 id="add-undigest">add-undigest<br />
   6.740 -<span id="setup-undigest">setup-undigest</span></h3>
   6.741 +<h3 id="extract">extract</h3>
   6.742  
   6.743 -<p>Устанавливает адрес дополнительного неофициального зеркала для тестирования
   6.744 -пакетов, которые еще не присутствуют на официальных зеркалах. Обратите внимание,
   6.745 -вы можете также вручную редактировать файлы в
   6.746 -<tt>/var/lib/tazpkg/undigest/<em>имя_репозитория</em></tt>. URL-адрес должен
   6.747 -указывать на папку, содержащую пакеты и файл <tt>packages.list</tt>:</p>
   6.748 +<p>Распаковать пакет в папку (<tt>extract</tt> или <tt>-e</tt>). Если вы не укажете папку
   6.749 +назначения, то пакет будет распакован в папку с именем <tt><em>пакет-версия</em></tt>, которая будет
   6.750 +создана в текущей папке.</p>
   6.751 +
   6.752 +<pre>
   6.753 +$ tazpkg extract <em>пакет.tazpkg</em>
   6.754 +$ tazpkg extract <em>пакет.tazpkg папка/назначения</em>
   6.755 +</pre>
   6.756 +
   6.757 +
   6.758 +<h3 id="pack">pack</h3>
   6.759 +
   6.760 +<p>Эта команда создаст пакет из заранее подготовленной папки или из распакованного пакета. Используя
   6.761 +эту команду вы можете создать пакет .tazpkg вручную (см. документацию Cookutils по вопросу
   6.762 +автоматического создания пакетов).</p>
   6.763 +
   6.764 +<pre>
   6.765 +# tazpkg pack <em>пакет-версия</em>
   6.766 +</pre>
   6.767 +
   6.768 +
   6.769 +<h3 id="repack">repack</h3>
   6.770 +
   6.771 +<p>Эта команда позволяет восстановить пакет из файлов в системе, где он был ранее установлен.</p>
   6.772 +
   6.773 +<pre>
   6.774 +$ tazpkg repack <em>пакет</em>
   6.775 +</pre>
   6.776 +
   6.777 +
   6.778 +<h3 id="repack-config">repack-config</h3>
   6.779 +
   6.780 +<p>Эта команда воссоздает пакет с конфигурационными системными файлами (см.
   6.781 +<tt><a href="#list-config">list-config</a></tt>). Для того, чтобы восстановить текущую конфигурацию,
   6.782 +потом достаточно будет установить созданный пакет.</p>
   6.783 +
   6.784 +<pre>
   6.785 +# tazpkg repack-config
   6.786 +</pre>
   6.787 +
   6.788 +
   6.789 +<h3 id="recompress">recompress</h3>
   6.790 +
   6.791 +<p>Перепаковать CPIO-архив .tazpkg с помощью LZMA. Эта команда нужна только для того, чтобы
   6.792 +уменьшить размер имеющихся старых пакетов, созданных для SliTaz 2.0.</p>
   6.793 +
   6.794 +<pre>
   6.795 +$ tazpkg recompress <em>пакет.tazpkg</em>
   6.796 +</pre>
   6.797 +
   6.798 +
   6.799 +<h3 id="convert">convert</h3>
   6.800 +
   6.801 +<p>Преобразует пакеты «чужих» дистрибутивов в пакеты SliTaz (.tazpkg).</p>
   6.802 +
   6.803 +<p>Поддерживаемые форматы пакетов:</p>
   6.804 +
   6.805 +<ul>
   6.806 +	<li><a href="https://packages.debian.org/search" target="_blank">пакеты Debian</a>
   6.807 +		(<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   6.808 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">пакеты RPM</a>
   6.809 +		(<tt>*.rpm</tt>)</li>
   6.810 +	<li><a href="http://www.slax.org/" target="_blank">пакеты Slax</a> (<tt>*.sb</tt>)</li>
   6.811 +	<li><a href="http://puppylinux.org/" target="_blank">пакеты Puppy</a> (<tt>*.sfs</tt>,
   6.812 +		<tt>*.pet</tt>)</li>
   6.813 +	<li><a href="http://www.slackware.com/packages/" target="_blank">пакеты Slackware</a>
   6.814 +		(<tt>*.tgz</tt>)</li>
   6.815 +	<li><a href="http://www.nutyx.org/" target="_blank">пакеты NuTyX</a>
   6.816 +		(<tt>*.cards.tar.xz</tt>)</li>
   6.817 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">пакеты Arch Linux</a> / <a
   6.818 +		href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux</a>
   6.819 +		(<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
   6.820 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">пакеты OpenWrt</a>
   6.821 +		(<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   6.822 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">пакеты 0Linux</a>
   6.823 +		(<tt>*.spack</tt>)</li>
   6.824 +	<li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">пакеты paldo</a>
   6.825 +		(<tt>*.tar.bz2</tt>)</li>
   6.826 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">пакеты Void</a>
   6.827 +		(<tt>*.xbps</tt>)</li>
   6.828 +	<li><a href="http://tinycorelinux.net/" target="_blank">пакеты Tinycore</a> (<tt>*.tce</tt>,
   6.829 +		<tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
   6.830 +</ul>
   6.831 +
   6.832 +<pre>
   6.833 +# tazpkg convert <em>файл-чужого-пакета</em>
   6.834 +</pre>
   6.835 +
   6.836 +
   6.837 +<h3 id="list-suggested">list-suggested</h3>
   6.838 +
   6.839 +<p>Список предложенных пакетов для каждого из ваших установленных пакетов. С параметром
   6.840 +<tt>--all</tt> будет отображен полный список предложенных пакетов, а без параметра — только список
   6.841 +не установленных предложенных пакетов.</p>
   6.842 +
   6.843 +<pre>
   6.844 +$ tazpkg list-suggested
   6.845 +$ tazpkg list-suggested --all
   6.846 +</pre>
   6.847 +
   6.848 +
   6.849 +
   6.850 +
   6.851 +<h2>Работа с репозиториями</h2>
   6.852 +
   6.853 +
   6.854 +<h3 id="recharge">recharge</h3>
   6.855 +
   6.856 +<p>Обновление списка пакетов, доступных в репозитории. Эта команда загрузит из репозитория самую
   6.857 +последнюю базу данных устанавливаемых пакетов и, прежде чем продолжить, сохранит старую базу. После
   6.858 +обновления списка, вы можете использовать команды <tt><a href="#list">list</a></tt> и
   6.859 +<tt><a href="#search">search</a></tt>. Для просмотра списка различий используйте команду
   6.860 +<code>list-mirror --diff</code>, а для просмотра и обновления пакетов просто скомандуйте
   6.861 +<tt><a href="#upgrade">upgrade</a></tt>.</p>
   6.862 +
   6.863 +<p>Команда без параметров обновит базы данных всех ваших репозиториев. Вы можете указать, какой
   6.864 +репозиторий следует обновить: «main» для главного репозитория или имя неофициального репозитория.
   6.865 +Параметр <tt>--root=</tt> позволяет указать корень файловой системы, где будут обновляться базы
   6.866 +данных пакетов.</p>
   6.867 +
   6.868 +<pre>
   6.869 +# tazpkg recharge
   6.870 +# tazpkg recharge main
   6.871 +# tazpkg recharge <em>Мой_неофициальный</em>
   6.872 +# tazpkg recharge --root=<em>/mnt/sda6</em>
   6.873 +</pre>
   6.874 +
   6.875 +
   6.876 +<h3 id="upgrade">upgrade</h3>
   6.877 +
   6.878 +<p>Команда позволяет обновить все установленные пакеты, доступные в текущем репозитории
   6.879 +(<tt>upgrade</tt> или <tt>up</tt>). Обновление пакетов — важная составляющая безопасности системы, и
   6.880 +вы можете чувствовать себя в безопасности с последними обновлениями и исправлениями. Хотя проект
   6.881 +SliTaz и крохотный, но он обеспечивает регулярные обновления по безопасности и как правило,
   6.882 +предоставляет последние версии ПО. Обратите внимание, что эта функция предназначена для людей,
   6.883 +установивших SliTaz на жесткий диск. Обновленные пакеты в режиме Live CD, будут потеряны при
   6.884 +выключении системы.</p>
   6.885 +
   6.886 +<p>Команда без параметров будет работать в интерактивном режиме и спрашивать перед установкой
   6.887 +пакетов. Вы можете указать одну или несколько из следующих параметров:</p>
   6.888 +
   6.889 +<p><tt>-c</tt> или <tt>--check</tt> чтобы только проверить обновления;</p>
   6.890 +
   6.891 +<p><tt>-r</tt> или <tt>--recharge</tt> чтобы обновить БД и проверить обновления пакетов;</p>
   6.892 +
   6.893 +<p><tt>-i</tt> или <tt>--install</tt> чтобы проверить обновления и установить их все.</p>
   6.894 +
   6.895 +<pre>
   6.896 +# tazpkg up
   6.897 +# tazpkg up --recharge --install
   6.898 +# tazpkg up -r -i
   6.899 +</pre>
   6.900 +
   6.901 +
   6.902 +<h3 id="setup-mirror">setup-mirror</h3>
   6.903 +
   6.904 +<p>Установка адреса репозитория (<tt>setup-mirror</tt> или <tt>-sm</tt>). Эта команда запросит URL
   6.905 +нового репозитория. Обратите внимание, что вы также можете изменить основной файл
   6.906 +<tt>/var/lib/tazpkg/mirror</tt>. URL-адрес должен указывать на папку, содержащую пакеты и файл
   6.907 +<tt>packages.info</tt>.</p>
   6.908 +
   6.909 +<pre>
   6.910 +# tazpkg setup-mirror
   6.911 +</pre>
   6.912 +
   6.913 +
   6.914 +<h3 id="add-undigest">add-undigest, setup-undigest</h3>
   6.915 +
   6.916 +<p>Устанавливает адрес дополнительного неофициального репозитория для тестирования пакетов, которые
   6.917 +еще не присутствуют в официальных репозиториях. Обратите внимание, вы можете также вручную
   6.918 +редактировать файлы в <tt>/var/lib/tazpkg/undigest/<em>имя_репозитория</em></tt>. URL-адрес должен
   6.919 +указывать на папку, содержащую пакеты и файл <tt>packages.info</tt>:</p>
   6.920  
   6.921  <pre>
   6.922  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
   6.923 @@ -409,53 +682,26 @@
   6.924  </pre>
   6.925  
   6.926  
   6.927 +<h3 id="list-undigest">list-undigest</h3>
   6.928 +
   6.929 +<p>Список дополнительных неофициальных репозиториев. Параметр <tt>--box</tt> выведет список в форме
   6.930 +таблицы.</p>
   6.931 +
   6.932 +<pre>
   6.933 +# tazpkg list-undigest
   6.934 +# tazpkg list-undigest --box
   6.935 +</pre>
   6.936 +
   6.937 +
   6.938  <h3 id="remove-undigest">remove-undigest</h3>
   6.939  
   6.940 -<p>Удаляет адрес неофициального зеркала:</p>
   6.941 +<p>Удаляет адрес неофициального репозитория. Перед удалением вас спросят о подтверждении.</p>
   6.942  
   6.943  <pre>
   6.944  # tazpkg remove-undigest <em>my-repository</em>
   6.945  </pre>
   6.946  
   6.947  
   6.948 -<h3 id="list-undigest">list-undigest</h3>
   6.949 -
   6.950 -<p>Список дополнительных неофициальных зеркал:</p>
   6.951 -
   6.952 -<pre>
   6.953 -# tazpkg list-undigest
   6.954 -</pre>
   6.955 -
   6.956 -
   6.957 -<h3 id="convert">convert</h3>
   6.958 -
   6.959 -<p>Преобразует пакеты Debian (.deb), Redhat (.rpm), Slackware (.tgz) и Archlinux
   6.960 -(.pkg.tar.gz) в пакеты SliTaz (.tazpkg):</p>
   6.961 -
   6.962 -<pre>
   6.963 -# tazpkg convert <em>чужой-пакет</em>
   6.964 -</pre>
   6.965 -
   6.966 -
   6.967 -<h3 id="set-release">set-release</h3>
   6.968 -
   6.969 -<p>Эта команда меняет текущую версию и обновляет все пакеты до последнего релиза
   6.970 -выбранной версии:</p>
   6.971 -
   6.972 -<pre>
   6.973 -# tazpkg set-release <em>cooking</em>
   6.974 -</pre>
   6.975 -
   6.976 -
   6.977 -<h3 id="bugs">bugs</h3>
   6.978 -
   6.979 -<p>Генерирует список известных ошибок в пакетах:</p>
   6.980 -
   6.981 -<pre>
   6.982 -# tazpkg bugs
   6.983 -</pre>
   6.984 -
   6.985 -
   6.986  <h2>МЭЙНТЕЙНЕР</h2>
   6.987  
   6.988  <p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/modules/tazpkg-help	Thu Jun 04 00:15:13 2015 +0300
     7.3 @@ -0,0 +1,95 @@
     7.4 +#!/bin/sh
     7.5 +# TazPkg - Tiny autonomous zone packages manager.
     7.6 +# TazPkg help system
     7.7 +
     7.8 +. /lib/libtaz.sh
     7.9 +
    7.10 +T="${1#-}"
    7.11 +DOC='/usr/share/doc/tazpkg/tazpkg.html'
    7.12 +QUERY="$T"
    7.13 +
    7.14 +if [ -z "$T" ]; then
    7.15 +	tazpkg usage; exit 0
    7.16 +fi
    7.17 +
    7.18 +commands="\
    7.19 +:usage::help,h::activity,log,a::clean-cache,cc::shell::list,l::list-mirror,lm:\
    7.20 +:list-config::search,s::search-pkgname,sp::search-file,sf::get,g::install,i:\
    7.21 +:get-install,gi::install-list,get-install-list::remove,r::reconfigure::link:\
    7.22 +:set-release::add-flavor,install-flavor::info::desc,d::list-files,lf:\
    7.23 +:block,b,unblock,u,chblock::check::bugs::depends,rdepends::extract,e::pack:\
    7.24 +:repack::repack-config::recompress::convert,c::list-suggested::recharge:
    7.25 +:upgrade,up::setup-mirror,sm::add-undigest,setup-undigest::list-undigest:\
    7.26 +:remove-undigest:"
    7.27 +
    7.28 +if [ ! $(echo $commands | grep -e "[:,]$T[:,]") ]; then
    7.29 +	try1=$(echo $commands | grep -oe ":[^:]*$T[^:]*:")
    7.30 +	if [ -z "$try1" ]; then
    7.31 +		_ 'Sorry, no help for "%s"' "$QUERY"; newline; exit 0
    7.32 +	fi
    7.33 +
    7.34 +	try2=$(echo "$try1" | tr -d : )
    7.35 +
    7.36 +	trynum=$(echo "$try2" | wc -l)
    7.37 +	if [ "$trynum" -ne 1 ]; then
    7.38 +		_p '%d help topic available:' '%d help topics available:' "$trynum" \
    7.39 +			"$trynum"; newline
    7.40 +		echo "$try2" | sed 's|^|  * &|; s|  ,|  |; s|,|, |g'
    7.41 +		exit 0
    7.42 +	else
    7.43 +		T="${try2%%,*}"
    7.44 +	fi
    7.45 +else
    7.46 +	try3=$(echo $commands | grep -oe "[:,]$T[:,]")
    7.47 +	case $try3 in
    7.48 +		:*)	try4="$try3";;
    7.49 +		,*)	try4=$(echo $commands | grep -oe ":[^:]*$try3" | cut -d, -f1);;
    7.50 +	esac
    7.51 +
    7.52 +	T=$(echo $try4 | tr -d ':,')
    7.53 +fi
    7.54 +
    7.55 +title=$(echo $commands | grep -oe ":$T\(,[^:]*\)*:" | tr -d : | sed 's|,|, |g')
    7.56 +
    7.57 +
    7.58 +# style: <h3 id="TOPIC">
    7.59 +HLP=$(sed "/id=\"$T\"/,/<h3/!d; /<h3/d; /<\/h3/d; /<h2/,\$d" $DOC)
    7.60 +if [ -z "$HLP" ]; then
    7.61 +	# style: <a name="TOPIC"></a>
    7.62 +	HLP=$(sed "/name=\"$T\"/,/name=/!d; /name=/d; /<h3/d; /<h2/,\$d" $DOC)
    7.63 +fi
    7.64 +
    7.65 +if [ -z "$HLP" ]; then
    7.66 +	_ 'Sorry, no help for "%s"' "$QUERY"
    7.67 +	exit 0
    7.68 +fi
    7.69 +
    7.70 +PRE=$(echo "$HLP" | sed "/^$/d; /<pre>/,/<\/pre\>/{s|.*|  &|; s| |·|g}; \
    7.71 +	s|^  </*pre>$||; s|<pre>||; s|</pre>||; s|  ·#|  #|;" | tr '\n' ' ' | \
    7.72 +	sed '/^[ 	]*$/d' | \
    7.73 +	sed 's|[ 	][ 	]*| |g;' | \
    7.74 +	sed 's|[ 	]*<dl>|O\n|g; s|[ 	]*</dl>|L\n|g; s|[ 	]*</*dt>||g;' | \
    7.75 +	sed 's|[ 	]*<dd>|	|g; s|</dd>|\n|g;' | \
    7.76 +	sed 's|<h4>|<b>|g; s|</h4>|</b>\n|g' | \
    7.77 +	sed 's|[ 	]*<p>[ 	]*||g; s|[ 	]*</p>|\n \n|g; s|  |\n  |g' | \
    7.78 +	sed 's|<a [^>]*>||g; s|</a>||g; s|·| |g' | \
    7.79 +	sed 's|</*nobr>||g; s|&shy;||g; s|^[ 	]*||' | \
    7.80 +	sed '/^$/d' | \
    7.81 +	sed 's|<tt>|A|g; s|<code>|A|g; s|<em>|B|g; s|<strong>|B|g; \
    7.82 +		s|</tt>|D|g; s|</code>|D|g; s|</em>|D|g; s|</strong>|C|g; \
    7.83 +		s|DD|D|g;')
    7.84 +
    7.85 +OPT=$(echo "$PRE" | sed '/O/,/L/!d; /[OL]/d')
    7.86 +OPTLIST=$(optlist "$OPT")
    7.87 +
    7.88 +OPT0=$(echo "$PRE" | tr '\n' '@')
    7.89 +OPTA=$(echo "$OPT" | tr '\n' '@')
    7.90 +OPTB=$(echo "$OPTLIST" | tr '\n' '@')
    7.91 +
    7.92 +PRE2=$(echo "$OPT0" | sed "s|$OPTA|$OPTB|" | tr '@' '\n' | sed '/O/d; s|L||')
    7.93 +
    7.94 +[ ! -z "$TA" ] && T="$T, $TA"
    7.95 +
    7.96 +title '$title'
    7.97 +emsg "$(longline "$PRE2" | sed 's|A|<c 33>|g; s|B|<c 36>|g; s|C|<b>|g; s|D|</c>|g; ')"
    7.98 +newline
     8.1 --- a/po/el.po	Sun May 31 12:40:55 2015 -0400
     8.2 +++ b/po/el.po	Thu Jun 04 00:15:13 2015 +0300
     8.3 @@ -237,15 +237,15 @@
     8.4  
     8.5  #: tazpkg:214
     8.6  msgid "Convert alien package to tazpkg"
     8.7 -msgstr "Μετατροπή ενός μη ιθαγενών πακέτου σε μορφή slitaz (.tazpkg)"
     8.8 +msgstr "Μετατροπή ενός μη ιθαγενών πακέτου σε μορφή SliTaz (.tazpkg)"
     8.9  
    8.10  #: tazpkg:215
    8.11 -msgid "Link a package from another slitaz installation"
    8.12 +msgid "Link a package from another SliTaz installation"
    8.13  msgstr "Συνδέστε (link) ένα πακέτο από μια άλλη εγκατάσταση του SliTaz"
    8.14  
    8.15  #: tazpkg:217
    8.16 -msgid "Change the mirror url configuration"
    8.17 -msgstr "Αλλάξτε τη ρύθμιση για το url του mirror"
    8.18 +msgid "Change the mirror URL configuration"
    8.19 +msgstr "Αλλάξτε τη ρύθμιση για το URL του mirror"
    8.20  
    8.21  #: tazpkg:218
    8.22  msgid "List undigest mirrors"
    8.23 @@ -594,7 +594,7 @@
    8.24  
    8.25  #: tazpkg:1489
    8.26  #, fuzzy
    8.27 -msgid "TazPKG information"
    8.28 +msgid "TazPkg information"
    8.29  msgstr "Πληροφορίες για το TazPkg"
    8.30  
    8.31  #: tazpkg:1501
    8.32 @@ -659,7 +659,7 @@
    8.33  msgstr "Το %s δεν εγκαταστάθηκε."
    8.34  
    8.35  #: tazpkg:1538
    8.36 -msgid "TazPKG Activity"
    8.37 +msgid "TazPkg Activity"
    8.38  msgstr ""
    8.39  
    8.40  #: tazpkg:1561
    8.41 @@ -992,28 +992,28 @@
    8.42  msgstr "Υπάρχουν σφάλματα στην %s έκδοση %s:"
    8.43  
    8.44  #: tazpkg:2502
    8.45 -msgid "The package \"%s\" installation has not completed"
    8.46 -msgstr "Η εγκατάσταση του πακέτου %s δεν ολοκληρώθηκε"
    8.47 +msgid "The package installation has not completed"
    8.48 +msgstr "Η εγκατάσταση του πακέτου δεν ολοκληρώθηκε"
    8.49  
    8.50  #: tazpkg:2510
    8.51 -msgid "The package \"%s\" has been modified by:"
    8.52 -msgstr "Το πακέτο %s τροποποιήθηκε από:"
    8.53 +msgid "The package has been modified by:"
    8.54 +msgstr "Το πακέτο τροποποιήθηκε από:"
    8.55  
    8.56  #: tazpkg:2516
    8.57 -msgid "Files lost from package \"%s\":"
    8.58 -msgstr "Χάθηκαν αρχεία από το %s:"
    8.59 +msgid "Files lost from package:"
    8.60 +msgstr "Χάθηκαν αρχεία από το:"
    8.61  
    8.62  #: tazpkg:2520
    8.63  msgid "target of symlink"
    8.64  msgstr "στόχος του συμβολικού δεσμού symlink"
    8.65  
    8.66  #: tazpkg:2526
    8.67 -msgid "Missing dependencies for package \"%s\":"
    8.68 -msgstr "Εξαρτήσεις που λείπουν για το %s:"
    8.69 +msgid "Missing dependencies for package:"
    8.70 +msgstr "Εξαρτήσεις που λείπουν για το:"
    8.71  
    8.72  #: tazpkg:2534
    8.73 -msgid "Dependencies loop between \"%s\" and:"
    8.74 -msgstr "Υπάρχει βρόχος (loop) εξαρτήσεων ανάμεσα στο %s και το:"
    8.75 +msgid "Dependencies loop between package and:"
    8.76 +msgstr "Υπάρχει βρόχος (loop) εξαρτήσεων ανάμεσα στο πακέτο και το:"
    8.77  
    8.78  #: tazpkg:2539
    8.79  msgid "Looking for known bugs..."
    8.80 @@ -1120,7 +1120,7 @@
    8.81  
    8.82  #: tazpkg:2896
    8.83  #, fuzzy
    8.84 -msgid "TazPKG SHell."
    8.85 +msgid "TazPkg SHell."
    8.86  msgstr "Κέλυφος του TazPkg"
    8.87  
    8.88  #: tazpkg:2897
    8.89 @@ -1132,7 +1132,7 @@
    8.90  
    8.91  #: tazpkg:2906
    8.92  #, fuzzy
    8.93 -msgid "You are already running a TazPKG SHell."
    8.94 +msgid "You are already running a TazPkg SHell."
    8.95  msgstr "Τρέχετε ήδη ένα κέλυφος TazPkg"
    8.96  
    8.97  #: tazpkg:2966
    8.98 @@ -2061,7 +2061,7 @@
    8.99  #~ msgstr "Όνομα πακέτου: <b>$pkgname</b>"
   8.100  
   8.101  #~ msgid "URL"
   8.102 -#~ msgstr "url"
   8.103 +#~ msgstr "URL"
   8.104  
   8.105  #~ msgid "pkg"
   8.106  #~ msgstr "πακέτο"
     9.1 --- a/po/es.po	Sun May 31 12:40:55 2015 -0400
     9.2 +++ b/po/es.po	Thu Jun 04 00:15:13 2015 +0300
     9.3 @@ -251,17 +251,17 @@
     9.4  #, fuzzy
     9.5  msgid "Convert alien package to tazpkg"
     9.6  msgstr ""
     9.7 -"Convertir paquetes deb/rpm/tgz/pet/sfs/sb/arch/ipk al de slitaz (.tazpkg)."
     9.8 +"Convertir paquetes deb/rpm/tgz/pet/sfs/sb/arch/ipk al de SliTaz (.tazpkg)."
     9.9  
    9.10  #: tazpkg:215
    9.11  #, fuzzy
    9.12 -msgid "Link a package from another slitaz installation"
    9.13 -msgstr "Enlazar un paquete desde otra instalación del slitaz."
    9.14 +msgid "Link a package from another SliTaz installation"
    9.15 +msgstr "Enlazar un paquete desde otra instalación del SliTaz."
    9.16  
    9.17  #: tazpkg:217
    9.18  #, fuzzy
    9.19 -msgid "Change the mirror url configuration"
    9.20 -msgstr "Cambia la configuración del url espejo."
    9.21 +msgid "Change the mirror URL configuration"
    9.22 +msgstr "Cambia la configuración del URL espejo."
    9.23  
    9.24  #: tazpkg:218
    9.25  #, fuzzy
    9.26 @@ -607,7 +607,7 @@
    9.27  
    9.28  #: tazpkg:1489
    9.29  #, fuzzy
    9.30 -msgid "TazPKG information"
    9.31 +msgid "TazPkg information"
    9.32  msgstr "Información TazPkg"
    9.33  
    9.34  #: tazpkg:1501
    9.35 @@ -673,7 +673,7 @@
    9.36  msgstr "%s no está instalado."
    9.37  
    9.38  #: tazpkg:1538
    9.39 -msgid "TazPKG Activity"
    9.40 +msgid "TazPkg Activity"
    9.41  msgstr ""
    9.42  
    9.43  #: tazpkg:1561
    9.44 @@ -1005,18 +1005,18 @@
    9.45  msgstr "Bugs en el paquete %s versión %s:"
    9.46  
    9.47  #: tazpkg:2502
    9.48 -msgid "The package \"%s\" installation has not completed"
    9.49 -msgstr "La instalación del paquete %s no fue completada"
    9.50 +msgid "The package installation has not completed"
    9.51 +msgstr "La instalación del paquete no fue completada"
    9.52  
    9.53  #: tazpkg:2510
    9.54  #, fuzzy
    9.55 -msgid "The package \"%s\" has been modified by:"
    9.56 -msgstr "El paquete %s ha sido modificado por:"
    9.57 +msgid "The package has been modified by:"
    9.58 +msgstr "El paquete ha sido modificado por:"
    9.59  
    9.60  #: tazpkg:2516
    9.61  #, fuzzy
    9.62 -msgid "Files lost from package \"%s\":"
    9.63 -msgstr "Archivos perdidos de %s:"
    9.64 +msgid "Files lost from package:"
    9.65 +msgstr "Archivos perdidos de:"
    9.66  
    9.67  #: tazpkg:2520
    9.68  msgid "target of symlink"
    9.69 @@ -1024,11 +1024,11 @@
    9.70  
    9.71  #: tazpkg:2526
    9.72  #, fuzzy
    9.73 -msgid "Missing dependencies for package \"%s\":"
    9.74 -msgstr "Archivos perdidos de %s:"
    9.75 +msgid "Missing dependencies for package:"
    9.76 +msgstr "Archivos perdidos de:"
    9.77  
    9.78  #: tazpkg:2534
    9.79 -msgid "Dependencies loop between \"%s\" and:"
    9.80 +msgid "Dependencies loop between package and:"
    9.81  msgstr ""
    9.82  
    9.83  # Bug es más conocido que su misma traducción al español.
    9.84 @@ -1142,7 +1142,7 @@
    9.85  
    9.86  #: tazpkg:2896
    9.87  #, fuzzy
    9.88 -msgid "TazPKG SHell."
    9.89 +msgid "TazPkg SHell."
    9.90  msgstr "TazPkg SHell"
    9.91  
    9.92  #: tazpkg:2897
    9.93 @@ -1153,7 +1153,7 @@
    9.94  
    9.95  #: tazpkg:2906
    9.96  #, fuzzy
    9.97 -msgid "You are already running a TazPKG SHell."
    9.98 +msgid "You are already running a TazPkg SHell."
    9.99  msgstr "Estás corriendo actualmente un TazPkg SHell"
   9.100  
   9.101  #: tazpkg:2966
    10.1 --- a/po/fr.po	Sun May 31 12:40:55 2015 -0400
    10.2 +++ b/po/fr.po	Thu Jun 04 00:15:13 2015 +0300
    10.3 @@ -105,7 +105,7 @@
    10.4  
    10.5  #: tazpkg:175
    10.6  msgid "Show TazPkg activity log"
    10.7 -msgstr "Affiche les denières actions de TazPKG"
    10.8 +msgstr "Affiche les denières actions de TazPkg"
    10.9  
   10.10  #: tazpkg:176
   10.11  msgid "List installed packages on the system"
   10.12 @@ -234,11 +234,11 @@
   10.13  msgstr "Convertit un paquet d'une autre distribution vers SliTaz"
   10.14  
   10.15  #: tazpkg:215
   10.16 -msgid "Link a package from another slitaz installation"
   10.17 +msgid "Link a package from another SliTaz installation"
   10.18  msgstr "Lie un paquet depuis une autre installation SliTaz"
   10.19  
   10.20  #: tazpkg:217
   10.21 -msgid "Change the mirror url configuration"
   10.22 +msgid "Change the mirror URL configuration"
   10.23  msgstr "Change l'URL du miroir"
   10.24  
   10.25  #: tazpkg:218
   10.26 @@ -576,8 +576,8 @@
   10.27  msgstr[1] "%s fichiers"
   10.28  
   10.29  #: tazpkg:1489
   10.30 -msgid "TazPKG information"
   10.31 -msgstr "TazPKG information"
   10.32 +msgid "TazPkg information"
   10.33 +msgstr "TazPkg information"
   10.34  
   10.35  #: tazpkg:1501
   10.36  msgid "Package    : %s"
   10.37 @@ -640,8 +640,8 @@
   10.38  msgstr "%s n'est pas installé."
   10.39  
   10.40  #: tazpkg:1538
   10.41 -msgid "TazPKG Activity"
   10.42 -msgstr "Activité de TazPKG"
   10.43 +msgid "TazPkg Activity"
   10.44 +msgstr "Activité de TazPkg"
   10.45  
   10.46  #: tazpkg:1561
   10.47  msgid "Please specify a pattern or package name to search for."
   10.48 @@ -966,28 +966,28 @@
   10.49  msgstr "Bugs dans le paquet %s version %s:"
   10.50  
   10.51  #: tazpkg:2502
   10.52 -msgid "The package \"%s\" installation has not completed"
   10.53 -msgstr "L'installation du paquet %s n'est pas terminée"
   10.54 +msgid "The package installation has not completed"
   10.55 +msgstr "L'installation du paquet n'est pas terminée"
   10.56  
   10.57  #: tazpkg:2510
   10.58 -msgid "The package \"%s\" has been modified by:"
   10.59 -msgstr "Le paquet \"%s\" a été modifié par :"
   10.60 +msgid "The package has been modified by:"
   10.61 +msgstr "Le paquet a été modifié par :"
   10.62  
   10.63  #: tazpkg:2516
   10.64 -msgid "Files lost from package \"%s\":"
   10.65 -msgstr "Fichiers perdus de \"%s\" :"
   10.66 +msgid "Files lost from package:"
   10.67 +msgstr "Fichiers perdus de :"
   10.68  
   10.69  #: tazpkg:2520
   10.70  msgid "target of symlink"
   10.71  msgstr "cible du lien symbolique"
   10.72  
   10.73  #: tazpkg:2526
   10.74 -msgid "Missing dependencies for package \"%s\":"
   10.75 -msgstr "Dépendances manquantes pour le paquet \"%s\" :"
   10.76 +msgid "Missing dependencies for package:"
   10.77 +msgstr "Dépendances manquantes pour le paquet :"
   10.78  
   10.79  #: tazpkg:2534
   10.80 -msgid "Dependencies loop between \"%s\" and:"
   10.81 -msgstr "Dépendances circulaires entre \"%s\" et "
   10.82 +msgid "Dependencies loop between package and:"
   10.83 +msgstr "Dépendances circulaires entre paquet et :"
   10.84  
   10.85  #: tazpkg:2539
   10.86  msgid "Looking for known bugs..."
   10.87 @@ -1088,15 +1088,15 @@
   10.88  msgstr "Installez un paquet avec '%s' ou '%s'"
   10.89  
   10.90  #: tazpkg:2896
   10.91 -msgid "TazPKG SHell."
   10.92 -msgstr "SHell TazPKG"
   10.93 +msgid "TazPkg SHell."
   10.94 +msgstr "SHell TazPkg"
   10.95  
   10.96  #: tazpkg:2897
   10.97  msgid "Type 'usage' to list all available commands or 'quit' or 'q' to exit."
   10.98  msgstr "Tapez 'usage' pour lister toutes les commandes ou 'quit' pour sortir."
   10.99  
  10.100  #: tazpkg:2906
  10.101 -msgid "You are already running a TazPKG SHell."
  10.102 +msgid "You are already running a TazPkg SHell."
  10.103  msgstr "Vous êtes déjà dans un SHell TazPkg."
  10.104  
  10.105  #: tazpkg:2966
  10.106 @@ -1168,7 +1168,7 @@
  10.107  
  10.108  #: tazpkg-box:20
  10.109  msgid "SliTaz Package Action"
  10.110 -msgstr "Action de TazPKG"
  10.111 +msgstr "Action de TazPkg"
  10.112  
  10.113  #: tazpkg-box:27
  10.114  msgid "package"
  10.115 @@ -1837,11 +1837,11 @@
  10.116  
  10.117  #: tazpkg-notify:69
  10.118  msgid "TazPkg SHell"
  10.119 -msgstr "SHell de TazPKG"
  10.120 +msgstr "SHell de TazPkg"
  10.121  
  10.122  #: tazpkg-notify:70
  10.123  msgid "TazPkg manual"
  10.124 -msgstr "Manuel de TazPKG"
  10.125 +msgstr "Manuel de TazPkg"
  10.126  
  10.127  #: tazpkg-notify:71
  10.128  msgid "Close notification"
  10.129 @@ -1939,8 +1939,8 @@
  10.130  #~ msgid "Depends:"
  10.131  #~ msgstr "Dépendances :"
  10.132  
  10.133 -#~ msgid "TazPKG"
  10.134 -#~ msgstr "TazPKG"
  10.135 +#~ msgid "TazPkg"
  10.136 +#~ msgstr "TazPkg"
  10.137  
  10.138  #~ msgid "$PACKAGE_FILE does not look like an Archlinux/Alpine package!"
  10.139  #~ msgstr "$PACKAGE_FILE ne semble pas être un paquet Archlinux ou Alpine !"
    11.1 --- a/po/pl.po	Sun May 31 12:40:55 2015 -0400
    11.2 +++ b/po/pl.po	Thu Jun 04 00:15:13 2015 +0300
    11.3 @@ -1,11 +1,11 @@
    11.4 -# Polish translation for Tazpkg package.
    11.5 +# Polish translation for TazPkg package.
    11.6  # Copyright (C) 2013 SliTaz
    11.7 -# This file is distributed under the same license as the Tazpkg package.
    11.8 +# This file is distributed under the same license as the TazPkg package.
    11.9  # Paweł Pyrczak <support@pyrczak.pl>, 2013.
   11.10  #
   11.11  msgid ""
   11.12  msgstr ""
   11.13 -"Project-Id-Version: Tazpkg 5.0\n"
   11.14 +"Project-Id-Version: TazPkg 5.0\n"
   11.15  "Report-Msgid-Bugs-To: \n"
   11.16  "POT-Creation-Date: 2015-05-10 12:26+0300\n"
   11.17  "PO-Revision-Date: 2013-08-07 13:34+0100\n"
   11.18 @@ -250,12 +250,12 @@
   11.19  "                   pakietów SliTaz (*.tazpkg)"
   11.20  
   11.21  #: tazpkg:215
   11.22 -msgid "Link a package from another slitaz installation"
   11.23 +msgid "Link a package from another SliTaz installation"
   11.24  msgstr "Dowiązanie do pakietu z innej instalacji SliTaz"
   11.25  
   11.26  #: tazpkg:217
   11.27 -msgid "Change the mirror url configuration"
   11.28 -msgstr "Zmienia konfigurację url serwera"
   11.29 +msgid "Change the mirror URL configuration"
   11.30 +msgstr "Zmienia konfigurację URL serwera"
   11.31  
   11.32  #: tazpkg:218
   11.33  msgid "List undigest mirrors"
   11.34 @@ -607,7 +607,7 @@
   11.35  
   11.36  #: tazpkg:1489
   11.37  #, fuzzy
   11.38 -msgid "TazPKG information"
   11.39 +msgid "TazPkg information"
   11.40  msgstr "Informacje TazPkg"
   11.41  
   11.42  #: tazpkg:1501
   11.43 @@ -672,7 +672,7 @@
   11.44  msgstr "%s nie jest zainstalowany."
   11.45  
   11.46  #: tazpkg:1538
   11.47 -msgid "TazPKG Activity"
   11.48 +msgid "TazPkg Activity"
   11.49  msgstr ""
   11.50  
   11.51  #: tazpkg:1561
   11.52 @@ -1003,28 +1003,28 @@
   11.53  msgstr "Błędy w pakiecie %s wersja %s:"
   11.54  
   11.55  #: tazpkg:2502
   11.56 -msgid "The package \"%s\" installation has not completed"
   11.57 -msgstr "Instalacja pakietu %s nie została zakończona pomyśłnie"
   11.58 +msgid "The package installation has not completed"
   11.59 +msgstr "Instalacja pakietu nie została zakończona pomyśłnie"
   11.60  
   11.61  #: tazpkg:2510
   11.62 -msgid "The package \"%s\" has been modified by:"
   11.63 -msgstr "Pakiet %s został zmodyfikowany przez:"
   11.64 +msgid "The package has been modified by:"
   11.65 +msgstr "Pakiet został zmodyfikowany przez:"
   11.66  
   11.67  #: tazpkg:2516
   11.68 -msgid "Files lost from package \"%s\":"
   11.69 -msgstr "Brakujące pliki pochodzące z %s:"
   11.70 +msgid "Files lost from package:"
   11.71 +msgstr "Brakujące pliki pochodzące z:"
   11.72  
   11.73  #: tazpkg:2520
   11.74  msgid "target of symlink"
   11.75  msgstr "cel dla dowiązania symbolicznego"
   11.76  
   11.77  #: tazpkg:2526
   11.78 -msgid "Missing dependencies for package \"%s\":"
   11.79 -msgstr "Brakujące zależności dla %s:"
   11.80 +msgid "Missing dependencies for package:"
   11.81 +msgstr "Brakujące zależności dla:"
   11.82  
   11.83  #: tazpkg:2534
   11.84 -msgid "Dependencies loop between \"%s\" and:"
   11.85 -msgstr "Pętla zależności pomiędzy %s i:"
   11.86 +msgid "Dependencies loop between package and:"
   11.87 +msgstr "Pętla zależności pomiędzy pakietem i:"
   11.88  
   11.89  #: tazpkg:2539
   11.90  msgid "Looking for known bugs..."
   11.91 @@ -1132,7 +1132,7 @@
   11.92  
   11.93  #: tazpkg:2896
   11.94  #, fuzzy
   11.95 -msgid "TazPKG SHell."
   11.96 +msgid "TazPkg SHell."
   11.97  msgstr "TazPkg SHell."
   11.98  
   11.99  #: tazpkg:2897
  11.100 @@ -1144,8 +1144,8 @@
  11.101  
  11.102  #: tazpkg:2906
  11.103  #, fuzzy
  11.104 -msgid "You are already running a TazPKG SHell."
  11.105 -msgstr "Tazpkg SHell jest już uruchomiony."
  11.106 +msgid "You are already running a TazPkg SHell."
  11.107 +msgstr "TazPkg SHell jest już uruchomiony."
  11.108  
  11.109  #: tazpkg:2966
  11.110  msgid "Usage: tazpkg link package_name slitaz_root"
    12.1 --- a/po/pt_BR.po	Sun May 31 12:40:55 2015 -0400
    12.2 +++ b/po/pt_BR.po	Thu Jun 04 00:15:13 2015 +0300
    12.3 @@ -103,7 +103,7 @@
    12.4  
    12.5  #: tazpkg:175
    12.6  msgid "Show TazPkg activity log"
    12.7 -msgstr "Mostra o log de atividade do TazPKG"
    12.8 +msgstr "Mostra o log de atividade do TazPkg"
    12.9  
   12.10  #: tazpkg:176
   12.11  msgid "List installed packages on the system"
   12.12 @@ -231,12 +231,12 @@
   12.13  msgstr "Converte um pacote deb/rpm/tgz/pet/sfs/sb/arch/ipk para tazpkg"
   12.14  
   12.15  #: tazpkg:215
   12.16 -msgid "Link a package from another slitaz installation"
   12.17 +msgid "Link a package from another SliTaz installation"
   12.18  msgstr "Liga um pacote a partir de outra instalação do SliTaz"
   12.19  
   12.20  #: tazpkg:217
   12.21 -msgid "Change the mirror url configuration"
   12.22 -msgstr "Muda a configuração de url do mirror"
   12.23 +msgid "Change the mirror URL configuration"
   12.24 +msgstr "Muda a configuração de URL do mirror"
   12.25  
   12.26  #: tazpkg:218
   12.27  msgid "List undigest mirrors"
   12.28 @@ -571,7 +571,7 @@
   12.29  msgstr[1] "%s instalados"
   12.30  
   12.31  #: tazpkg:1489
   12.32 -msgid "TazPKG information"
   12.33 +msgid "TazPkg information"
   12.34  msgstr "Informação do TazPkg"
   12.35  
   12.36  #: tazpkg:1501
   12.37 @@ -636,8 +636,8 @@
   12.38  msgstr "%s não está instalado."
   12.39  
   12.40  #: tazpkg:1538
   12.41 -msgid "TazPKG Activity"
   12.42 -msgstr "Atividade do TazPKG"
   12.43 +msgid "TazPkg Activity"
   12.44 +msgstr "Atividade do TazPkg"
   12.45  
   12.46  #: tazpkg:1561
   12.47  msgid "Please specify a pattern or package name to search for."
   12.48 @@ -963,28 +963,28 @@
   12.49  msgstr "Bugs no pacote %s versão %s:"
   12.50  
   12.51  #: tazpkg:2502
   12.52 -msgid "The package \"%s\" installation has not completed"
   12.53 -msgstr "A instalação do pacote %s não se completou"
   12.54 +msgid "The package installation has not completed"
   12.55 +msgstr "A instalação do pacote não se completou"
   12.56  
   12.57  #: tazpkg:2510
   12.58 -msgid "The package \"%s\" has been modified by:"
   12.59 -msgstr "O pacote %s foi modificado por:"
   12.60 +msgid "The package has been modified by:"
   12.61 +msgstr "O pacote foi modificado por:"
   12.62  
   12.63  #: tazpkg:2516
   12.64 -msgid "Files lost from package \"%s\":"
   12.65 -msgstr "Arquivos perdidos para %s:"
   12.66 +msgid "Files lost from package:"
   12.67 +msgstr "Arquivos perdidos para:"
   12.68  
   12.69  #: tazpkg:2520
   12.70  msgid "target of symlink"
   12.71  msgstr "alvo do link simbólico"
   12.72  
   12.73  #: tazpkg:2526
   12.74 -msgid "Missing dependencies for package \"%s\":"
   12.75 -msgstr "Arquivos perdidos para %s:"
   12.76 +msgid "Missing dependencies for package:"
   12.77 +msgstr "Arquivos perdidos para:"
   12.78  
   12.79  #: tazpkg:2534
   12.80 -msgid "Dependencies loop between \"%s\" and:"
   12.81 -msgstr "Loop de dependências entre %s e:"
   12.82 +msgid "Dependencies loop between package and:"
   12.83 +msgstr "Loop de dependências entre pacote e:"
   12.84  
   12.85  #: tazpkg:2539
   12.86  msgid "Looking for known bugs..."
   12.87 @@ -1090,7 +1090,7 @@
   12.88  msgstr "Instale o pacote com '%s' ou '%s'"
   12.89  
   12.90  #: tazpkg:2896
   12.91 -msgid "TazPKG SHell."
   12.92 +msgid "TazPkg SHell."
   12.93  msgstr "TazPkg SHell."
   12.94  
   12.95  #: tazpkg:2897
   12.96 @@ -1098,7 +1098,7 @@
   12.97  msgstr "Digite 'usage' para comandos disponíveis ou 'quit' ou 'q' para sair."
   12.98  
   12.99  #: tazpkg:2906
  12.100 -msgid "You are already running a TazPKG SHell."
  12.101 +msgid "You are already running a TazPkg SHell."
  12.102  msgstr "Você já está usando o TazPkg SHell."
  12.103  
  12.104  #: tazpkg:2966
  12.105 @@ -1974,8 +1974,8 @@
  12.106  #~ msgid "Depends:"
  12.107  #~ msgstr "Dependências:"
  12.108  
  12.109 -#~ msgid "TazPKG"
  12.110 -#~ msgstr "TazPKG"
  12.111 +#~ msgid "TazPkg"
  12.112 +#~ msgstr "TazPkg"
  12.113  
  12.114  #~ msgid "$PACKAGE_FILE does not look like an Archlinux/Alpine package!"
  12.115  #~ msgstr "$PACKAGE_FILE não se parece com um pacote Archlinux/Alpine!"
    13.1 --- a/po/ru.po	Sun May 31 12:40:55 2015 -0400
    13.2 +++ b/po/ru.po	Thu Jun 04 00:15:13 2015 +0300
    13.3 @@ -236,11 +236,11 @@
    13.4  msgstr "Конвертировать «чужой» пакет в формат tazpkg"
    13.5  
    13.6  #: tazpkg:215
    13.7 -msgid "Link a package from another slitaz installation"
    13.8 +msgid "Link a package from another SliTaz installation"
    13.9  msgstr "Присоединить пакет из другого установленного SliTaz"
   13.10  
   13.11  #: tazpkg:217
   13.12 -msgid "Change the mirror url configuration"
   13.13 +msgid "Change the mirror URL configuration"
   13.14  msgstr "Изменить настройки URL репозитория"
   13.15  
   13.16  #: tazpkg:218
   13.17 @@ -585,7 +585,7 @@
   13.18  msgstr[2] "%s файлов"
   13.19  
   13.20  #: tazpkg:1489
   13.21 -msgid "TazPKG information"
   13.22 +msgid "TazPkg information"
   13.23  msgstr "Информация TazPkg"
   13.24  
   13.25  #: tazpkg:1501
   13.26 @@ -649,7 +649,7 @@
   13.27  msgstr "Пакет «%s» не установлен."
   13.28  
   13.29  #: tazpkg:1538
   13.30 -msgid "TazPKG Activity"
   13.31 +msgid "TazPkg Activity"
   13.32  msgstr "Журнал действий TazPkg"
   13.33  
   13.34  #: tazpkg:1561
   13.35 @@ -976,28 +976,28 @@
   13.36  msgstr "Ошибки в пакете «%s» версии %s:"
   13.37  
   13.38  #: tazpkg:2502
   13.39 -msgid "The package \"%s\" installation has not completed"
   13.40 -msgstr "Установка пакета «%s» не была завершена"
   13.41 +msgid "The package installation has not completed"
   13.42 +msgstr "Установка пакета не была завершена"
   13.43  
   13.44  #: tazpkg:2510
   13.45 -msgid "The package \"%s\" has been modified by:"
   13.46 -msgstr "Пакет «%s» был изменен пакетами:"
   13.47 +msgid "The package has been modified by:"
   13.48 +msgstr "Пакет был изменен пакетами:"
   13.49  
   13.50  #: tazpkg:2516
   13.51 -msgid "Files lost from package \"%s\":"
   13.52 -msgstr "Отсутствуют файлы, установленные пакетом «%s»:"
   13.53 +msgid "Files lost from package:"
   13.54 +msgstr "Отсутствуют файлы, установленные пакетом:"
   13.55  
   13.56  #: tazpkg:2520
   13.57  msgid "target of symlink"
   13.58  msgstr "цель ссылки"
   13.59  
   13.60  #: tazpkg:2526
   13.61 -msgid "Missing dependencies for package \"%s\":"
   13.62 -msgstr "Отсутствуют зависимости пакета «%s»:"
   13.63 +msgid "Missing dependencies for package:"
   13.64 +msgstr "Отсутствуют зависимости пакета:"
   13.65  
   13.66  #: tazpkg:2534
   13.67 -msgid "Dependencies loop between \"%s\" and:"
   13.68 -msgstr "Циклическая зависимость между пакетами «%s» и:"
   13.69 +msgid "Dependencies loop between package and:"
   13.70 +msgstr "Циклическая зависимость между пакетом и:"
   13.71  
   13.72  #: tazpkg:2539
   13.73  msgid "Looking for known bugs..."
   13.74 @@ -1099,7 +1099,7 @@
   13.75  msgstr "Установите пакет командой «%s» или «%s»"
   13.76  
   13.77  #: tazpkg:2896
   13.78 -msgid "TazPKG SHell."
   13.79 +msgid "TazPkg SHell."
   13.80  msgstr "Оболочка TazPkg."
   13.81  
   13.82  #: tazpkg:2897
   13.83 @@ -1109,7 +1109,7 @@
   13.84  "выход."
   13.85  
   13.86  #: tazpkg:2906
   13.87 -msgid "You are already running a TazPKG SHell."
   13.88 +msgid "You are already running a TazPkg SHell."
   13.89  msgstr "Вы уже работаете в оболочке TazPkg."
   13.90  
   13.91  #: tazpkg:2966
    14.1 --- a/po/sv.po	Sun May 31 12:40:55 2015 -0400
    14.2 +++ b/po/sv.po	Thu Jun 04 00:15:13 2015 +0300
    14.3 @@ -238,12 +238,12 @@
    14.4  
    14.5  #: tazpkg:215
    14.6  #, fuzzy
    14.7 -msgid "Link a package from another slitaz installation"
    14.8 +msgid "Link a package from another SliTaz installation"
    14.9  msgstr "Länk till annan SliTaz installation"
   14.10  
   14.11  #: tazpkg:217
   14.12  #, fuzzy
   14.13 -msgid "Change the mirror url configuration"
   14.14 +msgid "Change the mirror URL configuration"
   14.15  msgstr "Spara konfiguration"
   14.16  
   14.17  #: tazpkg:218
   14.18 @@ -575,7 +575,7 @@
   14.19  msgstr[1] ""
   14.20  
   14.21  #: tazpkg:1489
   14.22 -msgid "TazPKG information"
   14.23 +msgid "TazPkg information"
   14.24  msgstr ""
   14.25  
   14.26  #: tazpkg:1501
   14.27 @@ -648,7 +648,7 @@
   14.28  msgstr ""
   14.29  
   14.30  #: tazpkg:1538
   14.31 -msgid "TazPKG Activity"
   14.32 +msgid "TazPkg Activity"
   14.33  msgstr ""
   14.34  
   14.35  #: tazpkg:1561
   14.36 @@ -982,15 +982,15 @@
   14.37  msgstr ""
   14.38  
   14.39  #: tazpkg:2502
   14.40 -msgid "The package \"%s\" installation has not completed"
   14.41 +msgid "The package installation has not completed"
   14.42  msgstr ""
   14.43  
   14.44  #: tazpkg:2510
   14.45 -msgid "The package \"%s\" has been modified by:"
   14.46 +msgid "The package has been modified by:"
   14.47  msgstr ""
   14.48  
   14.49  #: tazpkg:2516
   14.50 -msgid "Files lost from package \"%s\":"
   14.51 +msgid "Files lost from package:"
   14.52  msgstr ""
   14.53  
   14.54  #: tazpkg:2520
   14.55 @@ -998,11 +998,11 @@
   14.56  msgstr ""
   14.57  
   14.58  #: tazpkg:2526
   14.59 -msgid "Missing dependencies for package \"%s\":"
   14.60 +msgid "Missing dependencies for package:"
   14.61  msgstr ""
   14.62  
   14.63  #: tazpkg:2534
   14.64 -msgid "Dependencies loop between \"%s\" and:"
   14.65 +msgid "Dependencies loop between package and:"
   14.66  msgstr ""
   14.67  
   14.68  #: tazpkg:2539
   14.69 @@ -1114,7 +1114,7 @@
   14.70  msgstr "Installerade paket:"
   14.71  
   14.72  #: tazpkg:2896
   14.73 -msgid "TazPKG SHell."
   14.74 +msgid "TazPkg SHell."
   14.75  msgstr ""
   14.76  
   14.77  #: tazpkg:2897
   14.78 @@ -1122,7 +1122,7 @@
   14.79  msgstr ""
   14.80  
   14.81  #: tazpkg:2906
   14.82 -msgid "You are already running a TazPKG SHell."
   14.83 +msgid "You are already running a TazPkg SHell."
   14.84  msgstr ""
   14.85  
   14.86  #: tazpkg:2966
    15.1 --- a/po/tazpkg.pot	Sun May 31 12:40:55 2015 -0400
    15.2 +++ b/po/tazpkg.pot	Thu Jun 04 00:15:13 2015 +0300
    15.3 @@ -231,11 +231,11 @@
    15.4  msgstr ""
    15.5  
    15.6  #: tazpkg:215
    15.7 -msgid "Link a package from another slitaz installation"
    15.8 +msgid "Link a package from another SliTaz installation"
    15.9  msgstr ""
   15.10  
   15.11  #: tazpkg:217
   15.12 -msgid "Change the mirror url configuration"
   15.13 +msgid "Change the mirror URL configuration"
   15.14  msgstr ""
   15.15  
   15.16  #: tazpkg:218
   15.17 @@ -561,7 +561,7 @@
   15.18  msgstr[1] ""
   15.19  
   15.20  #: tazpkg:1489
   15.21 -msgid "TazPKG information"
   15.22 +msgid "TazPkg information"
   15.23  msgstr ""
   15.24  
   15.25  #: tazpkg:1501
   15.26 @@ -625,7 +625,7 @@
   15.27  msgstr ""
   15.28  
   15.29  #: tazpkg:1538
   15.30 -msgid "TazPKG Activity"
   15.31 +msgid "TazPkg Activity"
   15.32  msgstr ""
   15.33  
   15.34  #: tazpkg:1561
   15.35 @@ -943,15 +943,15 @@
   15.36  msgstr ""
   15.37  
   15.38  #: tazpkg:2502
   15.39 -msgid "The package \"%s\" installation has not completed"
   15.40 +msgid "The package installation has not completed"
   15.41  msgstr ""
   15.42  
   15.43  #: tazpkg:2510
   15.44 -msgid "The package \"%s\" has been modified by:"
   15.45 +msgid "The package has been modified by:"
   15.46  msgstr ""
   15.47  
   15.48  #: tazpkg:2516
   15.49 -msgid "Files lost from package \"%s\":"
   15.50 +msgid "Files lost from package:"
   15.51  msgstr ""
   15.52  
   15.53  #: tazpkg:2520
   15.54 @@ -959,11 +959,11 @@
   15.55  msgstr ""
   15.56  
   15.57  #: tazpkg:2526
   15.58 -msgid "Missing dependencies for package \"%s\":"
   15.59 +msgid "Missing dependencies for package:"
   15.60  msgstr ""
   15.61  
   15.62  #: tazpkg:2534
   15.63 -msgid "Dependencies loop between \"%s\" and:"
   15.64 +msgid "Dependencies loop between package and:"
   15.65  msgstr ""
   15.66  
   15.67  #: tazpkg:2539
   15.68 @@ -1065,7 +1065,7 @@
   15.69  msgstr ""
   15.70  
   15.71  #: tazpkg:2896
   15.72 -msgid "TazPKG SHell."
   15.73 +msgid "TazPkg SHell."
   15.74  msgstr ""
   15.75  
   15.76  #: tazpkg:2897
   15.77 @@ -1073,7 +1073,7 @@
   15.78  msgstr ""
   15.79  
   15.80  #: tazpkg:2906
   15.81 -msgid "You are already running a TazPKG SHell."
   15.82 +msgid "You are already running a TazPkg SHell."
   15.83  msgstr ""
   15.84  
   15.85  #: tazpkg:2966
    16.1 --- a/po/zh_CN.po	Sun May 31 12:40:55 2015 -0400
    16.2 +++ b/po/zh_CN.po	Thu Jun 04 00:15:13 2015 +0300
    16.3 @@ -1,5 +1,5 @@
    16.4  # Simplified Chinese translations for SliTaz tazpkg package.
    16.5 -# Copyright (C) 2014 Slitaz Association
    16.6 +# Copyright (C) 2014 SliTaz Association
    16.7  # This file is distributed under the same license as the SliTaz tazpkg package.
    16.8  # 张文宇 <jame987165702@gmail.com>, 2014.
    16.9  #
   16.10 @@ -232,12 +232,12 @@
   16.11  msgstr "将deb/rpm/tgz/pet/sfs/sb/arch/ipk包转换成tazpkg 格式"
   16.12  
   16.13  #: tazpkg:215
   16.14 -msgid "Link a package from another slitaz installation"
   16.15 -msgstr "由另一个安装好的slitaz连接包"
   16.16 +msgid "Link a package from another SliTaz installation"
   16.17 +msgstr "由另一个安装好的SliTaz连接包"
   16.18  
   16.19  #: tazpkg:217
   16.20 -msgid "Change the mirror url configuration"
   16.21 -msgstr "更改镜像url配置"
   16.22 +msgid "Change the mirror URL configuration"
   16.23 +msgstr "更改镜像URL配置"
   16.24  
   16.25  #: tazpkg:218
   16.26  msgid "List undigest mirrors"
   16.27 @@ -559,8 +559,8 @@
   16.28  msgstr[0] "与 $PACKAGE 同时安装的 %s 个文件"
   16.29  
   16.30  #: tazpkg:1489
   16.31 -msgid "TazPKG information"
   16.32 -msgstr "TazPKG 资讯"
   16.33 +msgid "TazPkg information"
   16.34 +msgstr "TazPkg 资讯"
   16.35  
   16.36  #: tazpkg:1501
   16.37  msgid "Package    : %s"
   16.38 @@ -624,8 +624,8 @@
   16.39  msgstr "未安装 %s."
   16.40  
   16.41  #: tazpkg:1538
   16.42 -msgid "TazPKG Activity"
   16.43 -msgstr "TazPKG 活动"
   16.44 +msgid "TazPkg Activity"
   16.45 +msgstr "TazPkg 活动"
   16.46  
   16.47  #: tazpkg:1561
   16.48  msgid "Please specify a pattern or package name to search for."
   16.49 @@ -943,28 +943,28 @@
   16.50  msgstr "%s 包 %s 版本的Bugs"
   16.51  
   16.52  #: tazpkg:2502
   16.53 -msgid "The package \"%s\" installation has not completed"
   16.54 -msgstr "未完成 %s 包的安装"
   16.55 +msgid "The package installation has not completed"
   16.56 +msgstr "未完成 包的安装"
   16.57  
   16.58  #: tazpkg:2510
   16.59 -msgid "The package \"%s\" has been modified by:"
   16.60 -msgstr "%s 包已被以下程式更改:"
   16.61 +msgid "The package has been modified by:"
   16.62 +msgstr "包已被以下程式更改:"
   16.63  
   16.64  #: tazpkg:2516
   16.65 -msgid "Files lost from package \"%s\":"
   16.66 -msgstr "%s 已遗失以下文件:"
   16.67 +msgid "Files lost from package:"
   16.68 +msgstr "已遗失以下文件:"
   16.69  
   16.70  #: tazpkg:2520
   16.71  msgid "target of symlink"
   16.72  msgstr "软链接(symlink)对象"
   16.73  
   16.74  #: tazpkg:2526
   16.75 -msgid "Missing dependencies for package \"%s\":"
   16.76 -msgstr "%s 欠缺以下依赖:"
   16.77 +msgid "Missing dependencies for package:"
   16.78 +msgstr "欠缺以下依赖:"
   16.79  
   16.80  #: tazpkg:2534
   16.81 -msgid "Dependencies loop between \"%s\" and:"
   16.82 -msgstr "%s 与以下程式有依赖循环"
   16.83 +msgid "Dependencies loop between package and:"
   16.84 +msgstr "包与以下程式有依赖循环"
   16.85  
   16.86  #: tazpkg:2539
   16.87  msgid "Looking for known bugs..."
   16.88 @@ -1069,16 +1069,16 @@
   16.89  msgstr "以'%s' 或 '%s' 安装包"
   16.90  
   16.91  #: tazpkg:2896
   16.92 -msgid "TazPKG SHell."
   16.93 -msgstr "TazPKG SHell."
   16.94 +msgid "TazPkg SHell."
   16.95 +msgstr "TazPkg SHell."
   16.96  
   16.97  #: tazpkg:2897
   16.98  msgid "Type 'usage' to list all available commands or 'quit' or 'q' to exit."
   16.99  msgstr "键入 'usage' 以列出所有可用命令或 'quit' 或 'q' 以退出"
  16.100  
  16.101  #: tazpkg:2906
  16.102 -msgid "You are already running a TazPKG SHell."
  16.103 -msgstr "你已经在运行 TazPKG SHell."
  16.104 +msgid "You are already running a TazPkg SHell."
  16.105 +msgstr "你已经在运行 TazPkg SHell."
  16.106  
  16.107  #: tazpkg:2966
  16.108  msgid "Usage: tazpkg link package_name slitaz_root"
  16.109 @@ -1948,8 +1948,8 @@
  16.110  #~ msgid "Depends:"
  16.111  #~ msgstr "依赖:"
  16.112  
  16.113 -#~ msgid "TazPKG"
  16.114 -#~ msgstr "TazPKG"
  16.115 +#~ msgid "TazPkg"
  16.116 +#~ msgstr "TazPkg"
  16.117  
  16.118  #~ msgid "$PACKAGE_FILE does not look like an Archlinux/Alpine package!"
  16.119  #~ msgstr "$PACKAGE_FILE 并非 Archlinux/Alpine 包!"
    17.1 --- a/po/zh_TW.po	Sun May 31 12:40:55 2015 -0400
    17.2 +++ b/po/zh_TW.po	Thu Jun 04 00:15:13 2015 +0300
    17.3 @@ -1,5 +1,5 @@
    17.4  # Traditional Chinese translations for SliTaz tazpkg package.
    17.5 -# Copyright (C) 2014 Slitaz Association
    17.6 +# Copyright (C) 2014 SliTaz Association
    17.7  # This file is distributed under the same license as the SliTaz tazpkg package.
    17.8  # lunglungyu <lunglungyu2004@gmail.com>, 2014.
    17.9  #
   17.10 @@ -231,12 +231,12 @@
   17.11  msgstr "將deb/rpm/tgz/pet/sfs/sb/arch/ipk包轉換成tazpkg 格式"
   17.12  
   17.13  #: tazpkg:215
   17.14 -msgid "Link a package from another slitaz installation"
   17.15 -msgstr "由另一個安裝好的slitaz連接包"
   17.16 +msgid "Link a package from another SliTaz installation"
   17.17 +msgstr "由另一個安裝好的SliTaz連接包"
   17.18  
   17.19  #: tazpkg:217
   17.20 -msgid "Change the mirror url configuration"
   17.21 -msgstr "更改鏡像url配置"
   17.22 +msgid "Change the mirror URL configuration"
   17.23 +msgstr "更改鏡像URL配置"
   17.24  
   17.25  #: tazpkg:218
   17.26  msgid "List undigest mirrors"
   17.27 @@ -558,8 +558,8 @@
   17.28  msgstr[0] "與 $PACKAGE 同時安裝的 %s 個文件"
   17.29  
   17.30  #: tazpkg:1489
   17.31 -msgid "TazPKG information"
   17.32 -msgstr "TazPKG 資訊"
   17.33 +msgid "TazPkg information"
   17.34 +msgstr "TazPkg 資訊"
   17.35  
   17.36  #: tazpkg:1501
   17.37  msgid "Package    : %s"
   17.38 @@ -623,8 +623,8 @@
   17.39  msgstr "未安裝 %s."
   17.40  
   17.41  #: tazpkg:1538
   17.42 -msgid "TazPKG Activity"
   17.43 -msgstr "TazPKG 活動"
   17.44 +msgid "TazPkg Activity"
   17.45 +msgstr "TazPkg 活動"
   17.46  
   17.47  #: tazpkg:1561
   17.48  msgid "Please specify a pattern or package name to search for."
   17.49 @@ -943,28 +943,28 @@
   17.50  msgstr "%s 包 %s 版本的Bugs"
   17.51  
   17.52  #: tazpkg:2502
   17.53 -msgid "The package \"%s\" installation has not completed"
   17.54 -msgstr "未完成 %s 包的安裝"
   17.55 +msgid "The package installation has not completed"
   17.56 +msgstr "未完成 包的安裝"
   17.57  
   17.58  #: tazpkg:2510
   17.59 -msgid "The package \"%s\" has been modified by:"
   17.60 -msgstr "%s 包已被以下程式更改:"
   17.61 +msgid "The package has been modified by:"
   17.62 +msgstr "包已被以下程式更改:"
   17.63  
   17.64  #: tazpkg:2516
   17.65 -msgid "Files lost from package \"%s\":"
   17.66 -msgstr "%s 已遺失以下文件:"
   17.67 +msgid "Files lost from package:"
   17.68 +msgstr "已遺失以下文件:"
   17.69  
   17.70  #: tazpkg:2520
   17.71  msgid "target of symlink"
   17.72  msgstr "軟鏈接(symlink)對象"
   17.73  
   17.74  #: tazpkg:2526
   17.75 -msgid "Missing dependencies for package \"%s\":"
   17.76 -msgstr "%s 欠缺以下依賴:"
   17.77 +msgid "Missing dependencies for package:"
   17.78 +msgstr "欠缺以下依賴:"
   17.79  
   17.80  #: tazpkg:2534
   17.81 -msgid "Dependencies loop between \"%s\" and:"
   17.82 -msgstr "%s 與以下程式有依賴循環"
   17.83 +msgid "Dependencies loop between package and:"
   17.84 +msgstr "包與以下程式有依賴循環"
   17.85  
   17.86  #: tazpkg:2539
   17.87  msgid "Looking for known bugs..."
   17.88 @@ -1072,16 +1072,16 @@
   17.89  msgstr "以'%s' 或 '%s' 安裝包"
   17.90  
   17.91  #: tazpkg:2896
   17.92 -msgid "TazPKG SHell."
   17.93 -msgstr "TazPKG SHell."
   17.94 +msgid "TazPkg SHell."
   17.95 +msgstr "TazPkg SHell."
   17.96  
   17.97  #: tazpkg:2897
   17.98  msgid "Type 'usage' to list all available commands or 'quit' or 'q' to exit."
   17.99  msgstr "鍵入 'usage' 以列出所有可用命令或 'quit' 或 'q' 以退出"
  17.100  
  17.101  #: tazpkg:2906
  17.102 -msgid "You are already running a TazPKG SHell."
  17.103 -msgstr "你已經在運行 TazPKG SHell."
  17.104 +msgid "You are already running a TazPkg SHell."
  17.105 +msgstr "你已經在運行 TazPkg SHell."
  17.106  
  17.107  #: tazpkg:2966
  17.108  msgid "Usage: tazpkg link package_name slitaz_root"
  17.109 @@ -1950,8 +1950,8 @@
  17.110  #~ msgid "Depends:"
  17.111  #~ msgstr "依賴:"
  17.112  
  17.113 -#~ msgid "TazPKG"
  17.114 -#~ msgstr "TazPKG"
  17.115 +#~ msgid "TazPkg"
  17.116 +#~ msgstr "TazPkg"
  17.117  
  17.118  #~ msgid "$PACKAGE_FILE does not look like an Archlinux/Alpine package!"
  17.119  #~ msgstr "$PACKAGE_FILE 並非 Archlinux/Alpine 包!"
    18.1 --- a/tazpanel/pkgs.cgi	Sun May 31 12:40:55 2015 -0400
    18.2 +++ b/tazpanel/pkgs.cgi	Thu Jun 04 00:15:13 2015 +0300
    18.3 @@ -770,17 +770,13 @@
    18.4  
    18.5  <section>
    18.6  	<header>
    18.7 -		$(_ 'Recharging log')
    18.8 +		<span data-icon="sync">$(_ 'Recharging log')</span>
    18.9  		<form>$(show_button up)</form>
   18.10  	</header>
   18.11 -
   18.12 -	<pre class="scroll">
   18.13  EOT
   18.14  		echo $(_ 'Recharging packages list') | log
   18.15 -		tazpkg recharge | filter_taztools_msgs
   18.16 +		export output="html"; tazpkg recharge
   18.17  		cat <<EOT
   18.18 -	</pre>
   18.19 -
   18.20  	<footer>$(_ 'Packages lists are up-to-date. You should check for upgrades now.')</footer>
   18.21  </section>
   18.22  EOT
   18.23 @@ -1071,14 +1067,12 @@
   18.24  				echo "</ul>" ;;
   18.25  			quickcheck)
   18.26  				loading_msg "$(_ 'Checking packages consistency...')"
   18.27 -				echo "<pre>"
   18.28  				tazpkg check
   18.29 -				echo "</pre>" ;;
   18.30 +				;;
   18.31  			fullcheck)
   18.32  				loading_msg "$(_ 'Full packages check...')"
   18.33 -				echo "<pre>"
   18.34  				tazpkg check --full
   18.35 -				echo "</pre>" ;;
   18.36 +				;;
   18.37  			dvdimage)
   18.38  				dev=$(POST dvdimage)
   18.39  				mkdir -p /mnt/packages 2> /dev/null
    19.1 --- a/tazpkg	Sun May 31 12:40:55 2015 -0400
    19.2 +++ b/tazpkg	Thu Jun 04 00:15:13 2015 +0300
    19.3 @@ -18,9 +18,6 @@
    19.4  # Script variables #
    19.5  ####################
    19.6  
    19.7 -# TazPkg version
    19.8 -VERSION='5.3.4'
    19.9 -
   19.10  . /etc/slitaz/slitaz.conf
   19.11  . /etc/slitaz/tazpkg.conf
   19.12  
   19.13 @@ -33,7 +30,7 @@
   19.14  _()  { local T="$1"; shift; printf "$(gettext "$T")" "$@"; echo; }
   19.15  _n() { local T="$1"; shift; printf "$(gettext "$T")" "$@"; }
   19.16  _p() {
   19.17 -	local S="$1" P="$2" N="$3"; shift; shift; shift;
   19.18 +	local S="$1" P="$2" N="$3"; shift 3;
   19.19  	printf "$(ngettext "$S" "$P" "$N")" "$@"; }
   19.20  
   19.21  
   19.22 @@ -77,44 +74,6 @@
   19.23  
   19.24  
   19.25  
   19.26 -#
   19.27 -# TazPkg output functions
   19.28 -#
   19.29 -
   19.30 -
   19.31 -# Print localized title
   19.32 -
   19.33 -title() {
   19.34 -	case $output in
   19.35 -		html)
   19.36 -			echo "<section><header>$(_ "$@")</header><pre class=\"scroll\">";;
   19.37 -		*)
   19.38 -			newline; boldify "$(_ "$@")"; separator;;
   19.39 -	esac
   19.40 -}
   19.41 -
   19.42 -
   19.43 -# Print footer
   19.44 -
   19.45 -footer() {
   19.46 -	case $output in
   19.47 -		html)
   19.48 -			echo "</pre><footer>$1</header></section>";;
   19.49 -		*)
   19.50 -			separator; echo "$1"; [ -n "$1" ] && newline;;
   19.51 -	esac
   19.52 -}
   19.53 -
   19.54 -
   19.55 -# Print current action in brown color (separate from any other msgs)
   19.56 -
   19.57 -action() {
   19.58 -	case $output in
   19.59 -		raw|gtk|html) _n "$@" ;;
   19.60 -		*) echo -ne "\033[0;33m"$(_ "$@")"\033[0m" ;;
   19.61 -	esac
   19.62 -}
   19.63 -
   19.64  
   19.65  # Initialize some variables to use words rather than numbers for functions
   19.66  # and actions.
   19.67 @@ -142,6 +101,11 @@
   19.68  UP_LIST="$PKGS_DB/packages.up"
   19.69  DEFAULT_MIRROR="$ONLINE_PKGS"
   19.70  
   19.71 +# TazPkg version
   19.72 +VERSION=$(awk -F$'\t' '$1=="tazpkg"{print $2}' $PKGS_DB/installed.info)
   19.73 +# User Agent
   19.74 +UA="TazPkg-$VERSION"
   19.75 +
   19.76  
   19.77  
   19.78  
   19.79 @@ -170,56 +134,54 @@
   19.80  $(boldify "$(_ 'Commands:')")
   19.81  $(optlist "\
   19.82       usage				$(_ 'Print this short usage')
   19.83 -     bugs				$(_ 'Show known bugs in packages')
   19.84 +-h   help				$(_ 'Show help on the TazPkg commands')
   19.85  -a   activity			$(_ 'Show TazPkg activity log')
   19.86 +-cc  clean-cache		$(_ 'Clean all packages downloaded in cache directory')
   19.87 +     shell				$(_ 'Run interactive TazPkg shell')
   19.88 +
   19.89  -l   list				$(_ 'List installed packages on the system')
   19.90  -lm  list-mirror		$(_ 'List all available packages on the mirror')
   19.91 +     list-config		$(_ 'List the configuration files')
   19.92 +
   19.93 +-s   search				$(_ 'Search for a package by pattern or name')
   19.94 +-sp  search-pkgname		$(_ 'Search on mirror for package having a particular file')
   19.95 +-sf  search-file		$(_ 'Search for file in all installed packages files')
   19.96 +
   19.97 +-g   get				$(_ 'Download a package into the current directory')
   19.98 +-i   install			$(_ 'Install a local package')
   19.99 +-gi  get-install		$(_ 'Download and install a package from the mirror')
  19.100 +     install-list		$(_ 'Install all packages from a list of packages')
  19.101 +     get-install-list	$(_ 'Download and install a list of packages from the mirror')
  19.102 +-r   remove				$(_ 'Remove the specified package and all installed files')
  19.103 +     reconfigure		$(_ 'Replay post install script from package')
  19.104 +     link				$(_ 'Link a package from another SliTaz installation')
  19.105 +     set-release		$(_ 'Change release and update packages')
  19.106 +     add-flavor			$(_ 'Install the flavor list of packages')
  19.107 +     install-flavor		$(_ 'Install the flavor list of packages and remove other ones')
  19.108 +
  19.109       info				$(_ 'Print information about a package')
  19.110 -     desc				$(_ 'Print description of a package')
  19.111 +-d   desc				$(_ 'Print description of a package')
  19.112  -lf  list-files			$(_ 'List the files installed with a package')
  19.113 -     list-config		$(_ 'List the configuration files')
  19.114 -
  19.115 --s   search				$(_ 'Search for a package by pattern or name')
  19.116 -     search-pkgname		$(_ 'Search on mirror for package having a particular file')
  19.117 --sf  search-file		$(_ 'Search for file in all installed packages files')
  19.118 -
  19.119 --g   get				$(_ 'Download a package into the current directory')
  19.120 --gi  get-install		$(_ 'Download and install a package from the mirror')
  19.121 -     get-install-list	$(_ 'Download and install a list of packages from the mirror')
  19.122 --i   install			$(_ 'Install a local package')
  19.123 -     install-list		$(_ 'Install all packages from a list of packages')
  19.124 --r   remove				$(_ 'Remove the specified package and all installed files')
  19.125 +-b|u block|unblock		$(_ 'Block an installed package version or unblock it for upgrade')
  19.126 +     check				$(_ 'Verify consistency of installed packages')
  19.127 +     bugs				$(_ 'Show known bugs in packages')
  19.128 +     depends			$(_ 'Display dependencies tree')
  19.129 +     rdepends			$(_ 'Display reverse dependencies tree')
  19.130  -e   extract			$(_ 'Extract a (*.tazpkg) package into a directory')
  19.131       pack				$(_ 'Pack an unpacked or prepared package tree')
  19.132 -
  19.133 -     recharge			$(_ 'Recharge your packages.list from the mirror')
  19.134 -     up|help-up			$(_ 'Check packages %s to list and install latest upgrades' $CHECKSUM)
  19.135 -
  19.136       repack				$(_ 'Create a package archive from an installed package')
  19.137       repack-config		$(_ 'Create a package archive with configuration files')
  19.138       recompress			$(_ 'Rebuild a package with a better compression ratio')
  19.139 --b|u block|unblock		$(_ 'Block an installed package version or unblock it for upgrade')
  19.140 -     check				$(_ 'Verify consistency of installed packages')
  19.141 -
  19.142 -     add-flavor			$(_ 'Install the flavor list of packages')
  19.143 -     install-flavor		$(_ 'Install the flavor list of packages and remove other ones')
  19.144 -
  19.145 -     set-release		$(_ 'Change release and update packages')
  19.146 --cc  clean-cache		$(_ 'Clean all packages downloaded in cache directory')
  19.147 -
  19.148 -     depends			$(_ 'Display dependencies tree')
  19.149 -     rdepends			$(_ 'Display reverse dependencies tree')
  19.150 -
  19.151       convert			$(_ 'Convert alien package to tazpkg')
  19.152 -     link				$(_ 'Link a package from another slitaz installation')
  19.153 -
  19.154 --sm  setup-mirror		$(_ 'Change the mirror url configuration')
  19.155 +     list-suggested		$(_ 'Print list of suggested packages')
  19.156 +
  19.157 +     recharge			$(_ 'Recharge your packages.list from the mirror')
  19.158 +     up|help-up			$(_ 'Check packages %s to list and install latest upgrades' $CHECKSUM)
  19.159 +-sm  setup-mirror		$(_ 'Change the mirror URL configuration')
  19.160 +     setup-undigest		$(_ 'Update an undigest mirror')
  19.161       list-undigest		$(_ 'List undigest mirrors')
  19.162 +     add-undigest		$(_ 'Add an undigest mirror')
  19.163       remove-undigest	$(_ 'Remove an undigest mirror')
  19.164 -     add-undigest		$(_ 'Add an undigest mirror')
  19.165 -     setup-undigest		$(_ 'Update an undigest mirror')
  19.166 -
  19.167 -     reconfigure		$(_ 'Replay post install script from package')
  19.168  ")
  19.169  EOT
  19.170  }
  19.171 @@ -248,7 +210,7 @@
  19.172  # Check if dir exists
  19.173  
  19.174  check_dir() {
  19.175 -	if ! [ -d "$1" ]; then
  19.176 +	if [ ! -d "$1" ]; then
  19.177  		action 'Creating folder "%s"...' "$1"
  19.178  		mkdir -p "$1"
  19.179  		status
  19.180 @@ -487,21 +449,17 @@
  19.181  # Get package filename available on the mirror
  19.182  
  19.183  get_package_filename() {
  19.184 -	local pkg
  19.185 +	# input: "<package_name>" or "<package_name>-<version>" (ex. "nano" or "nano-2.4.0")
  19.186 +	local pkg equiv
  19.187  	for rep in $priority; do
  19.188 -		pkg=$(grep -A 1 -sh "^$1$" $rep/packages.txt | tail -1 | sed 's/^ *//')
  19.189 -		[ -n "$pkg" ] && pkg=$(grep -sh "^$1-$pkg" $rep/packages.list | head -1)
  19.190 -
  19.191 -		# Allow user to call a package with his version number.
  19.192 -		[ -n "$pkg" ] || pkg=$(grep -sh "^$1$" $rep/packages.list | head -1)
  19.193 -
  19.194 -		[ -n "$pkg" ] || pkg=$(grep -sh "^$1-[0-9]" $rep/packages.list | head -1)
  19.195 -		[ -n "$pkg" ] || pkg=$(grep -sh "^$1-.[\.0-9]" $rep/packages.list | head -1)
  19.196 -		[ -n "$pkg" ] && get_cache_dir && break
  19.197 +		pkg=$(awk -F$'\t' -vp="$1" 'p==$1||p==$1"-"$2{print $1"-"$2}' $rep/packages.info)
  19.198 +
  19.199 +		if [ -n "$pkg" ]; then
  19.200 +			get_cache_dir; break
  19.201 +		fi
  19.202  	done
  19.203  	if [ -z "$pkg" ]; then
  19.204  		# Check for virtual package
  19.205 -		local equiv
  19.206  		equiv=$(virtual_pkg $1)
  19.207  		if [ "$equiv" != "$1" ]; then
  19.208  			PACKAGE="$equiv"
  19.209 @@ -513,12 +471,11 @@
  19.210  }
  19.211  
  19.212  
  19.213 -# Check for a package in packages.list. Used by get and get-install to grep
  19.214 +# Check for a package in packages DB. Used by get and get-install to grep
  19.215  # package basename.
  19.216  
  19.217  check_for_package_in_list() {
  19.218 -	local filename
  19.219 -	local check_only
  19.220 +	local filename check_only
  19.221  	check_only="$1"
  19.222  	filename=$(get_package_filename $PACKAGE)
  19.223  	if [ -n "$filename" ]; then
  19.224 @@ -560,7 +517,7 @@
  19.225  		for i in $(cat $p/mirror) ; do
  19.226  			case "$i" in
  19.227  				http://*|https://*|ftp://*)
  19.228 -					busybox wget -q -T 30 -U TazPkg -O $2 \
  19.229 +					busybox wget -q -T 30 -U $UA -O $2 \
  19.230  						${i%packages/*}packages/get/$1 && return 0 ;;
  19.231  			esac
  19.232  		done
  19.233 @@ -572,14 +529,15 @@
  19.234  # Download a file from this mirror
  19.235  
  19.236  download_from() {
  19.237 -	local i mirrors="$1"; shift
  19.238 -	for i in $mirrors; do
  19.239 +	# input: "<mirror_url>+" "<package_name>-<version>.tazpkg"
  19.240 +	local i
  19.241 +	for i in $1; do
  19.242  		case "$i" in
  19.243  			# Mirror URL can have a trailing slash or not.
  19.244 -			http://*|https://*|ftp://*)
  19.245 -				busybox wget -c -q -T 30 -U TazPkg ${i%/}/$@ 2>/dev/null && break ;;
  19.246 +			http://* | https://* | ftp://*)
  19.247 +				busybox wget -c -q -T 30 -U $UA ${i%/}/$2 2>/dev/null && break ;;
  19.248  			*)
  19.249 -				ln -sf ${i%/}/$1 . && break ;;
  19.250 +				ln -sf ${i%/}/$2 . && break ;;
  19.251  		esac
  19.252  	done
  19.253  }
  19.254 @@ -588,14 +546,19 @@
  19.255  # Download a file trying all mirrors
  19.256  
  19.257  download() {
  19.258 +	# input: <package_name>-<version>.tazpkg
  19.259  	local i
  19.260  	case "$1" in
  19.261 -	*.tazpkg)
  19.262 -		for i in $priority ; do
  19.263 -			grep -q "^${1%.tazpkg}$" $i/packages.list 2>/dev/null || continue
  19.264 -			download_from "$(cat $i/mirror)" "$@" && return
  19.265 -		done
  19.266 +		*.tazpkg)
  19.267 +			for i in $priority; do
  19.268 +				if [ -n "$(awk -F$'\t' -vp="$1" 'p==$1"-"$2".tazpkg"{print $1}' \
  19.269 +					$i/packages.info)" ]; then
  19.270 +					download_from "$(cat $i/mirror)" "$@" && return
  19.271 +				fi
  19.272 +			done
  19.273 +			;;
  19.274  	esac
  19.275 +
  19.276  	for i in $(cat $(for rep in $priority; do echo $rep/mirror; done) 2>/dev/null); do
  19.277  		download_from "$i" "$@" && break
  19.278  	done
  19.279 @@ -905,24 +868,24 @@
  19.280  install_package_from_get_script() {
  19.281  	SCRIPT="$1"
  19.282  	ROOT="$2"
  19.283 -	[ -d $ROOT$INSTALLED/$PACKAGE ] && exit 1
  19.284 +	[ -d "$ROOT$INSTALLED/$PACKAGE" ] && exit 1
  19.285  
  19.286  	grep -q no-check-certificate $SCRIPT &&
  19.287 -	[ ! -d $INSTALLED/wget ] && tazpkg get-install wget
  19.288 +		[ ! -d "$INSTALLED/wget" ] && tazpkg get-install wget
  19.289  
  19.290  	mkdir -p $TMP_DIR && cd $TMP_DIR
  19.291 -	saved=$PACKAGE
  19.292 +	saved="$PACKAGE"
  19.293  	unset_receipt
  19.294 -	PACKAGE=$saved
  19.295 -	
  19.296 +	PACKAGE="$saved"
  19.297 +
  19.298  	set -e
  19.299  	. $SCRIPT
  19.300  	set +e
  19.301 -	[ -d $PACKAGE-$VERSION ] || cd $TMP_DIR
  19.302 -	[ -d $PACKAGE-$VERSION ] || abort_package \
  19.303 +	[ -d "$PACKAGE-$VERSION" ] || cd $TMP_DIR
  19.304 +	[ -d "$PACKAGE-$VERSION" ] || abort_package \
  19.305  		"$(_ 'Could not download "%s" from "%s". Exiting.' ${TARBALL:-$PACKAGE} ${WGET_URL:-$WEB_SITE})"
  19.306  
  19.307 -	if [ ! -s $PACKAGE-$VERSION/receipt ]; then
  19.308 +	if [ ! -s "$PACKAGE-$VERSION/receipt" ]; then
  19.309  		cat > $PACKAGE-$VERSION/receipt <<EOT
  19.310  # SliTaz package receipt.
  19.311  
  19.312 @@ -955,7 +918,7 @@
  19.313  	# Clean to save RAM memory before installation
  19.314  	rm -rf $PACKAGE-$VERSION
  19.315  
  19.316 -	if [ "$3" == "--get" ]; then
  19.317 +	if [ "$3" == '--get' ]; then
  19.318  		mv $PACKAGE-$VERSION.tazpkg $TOP_DIR
  19.319  	else
  19.320  		# Install pseudo package
  19.321 @@ -972,13 +935,10 @@
  19.322  # Check for loop in deps tree.
  19.323  
  19.324  check_for_deps_loop() {
  19.325 -	local list
  19.326 -	local pkg
  19.327 -	local deps
  19.328 -	pkg=$1
  19.329 +	local list pkg="$1" deps
  19.330  	shift
  19.331  	[ -n "$1" ] || return
  19.332 -	list=""
  19.333 +	list=''
  19.334  
  19.335  	# Filter out already processed deps
  19.336  	for i in $@; do
  19.337 @@ -992,8 +952,11 @@
  19.338  		[ -f $i/receipt ] || continue
  19.339  		deps="$(DEPENDS=""; . $i/receipt; echo $DEPENDS)"
  19.340  		case " $deps " in
  19.341 -			*\ $pkg\ *) echo -e "$MSG  $i"; MSG="";;
  19.342 -			*) check_for_deps_loop $pkg $deps;;
  19.343 +			*\ $pkg\ *)
  19.344 +				print_pkgname
  19.345 +				echo -e "$MSG  $i"; MSG='';;
  19.346 +			*)
  19.347 +				check_for_deps_loop $pkg $deps;;
  19.348  		esac
  19.349  	done
  19.350  }
  19.351 @@ -1003,11 +966,11 @@
  19.352  
  19.353  check_for_deps() {
  19.354  	local saved;
  19.355 -	saved=$PACKAGE
  19.356 +	saved="$PACKAGE"
  19.357  	mkdir -p $TMP_DIR
  19.358 -	{ cd $TMP_DIR ; cpio --quiet -i receipt > /dev/null 2>&1; } < $PACKAGE_FILE
  19.359 +	{ cd $TMP_DIR ; cpio --quiet -i receipt >/dev/null 2>&1; } < $PACKAGE_FILE
  19.360  	. $TMP_DIR/receipt
  19.361 -	PACKAGE=$saved
  19.362 +	PACKAGE="$saved"
  19.363  	rm -rf $TMP_DIR
  19.364  
  19.365  	num=0
  19.366 @@ -1026,7 +989,7 @@
  19.367  		for pkgorg in $DEPENDS; do
  19.368  			i=$(equivalent_pkg $pkgorg $1)
  19.369  			if [ ! -d "$1$INSTALLED/$i" ]; then
  19.370 -				MISSING_PACKAGE=$i
  19.371 +				MISSING_PACKAGE="$i"
  19.372  				_ 'Missing package "%s"' $MISSING_PACKAGE
  19.373  			fi
  19.374  		done
  19.375 @@ -1039,14 +1002,14 @@
  19.376  
  19.377  
  19.378  # Install all missing deps. Auto install or ask user then install all missing
  19.379 -# deps from local dir, cdrom, media or from the mirror. In case we want to
  19.380 +# deps from local dir, CD-ROM, media or from the mirror. In case we want to
  19.381  # install packages from local, we need a packages.list to find the version.
  19.382  
  19.383  install_deps() {
  19.384 -	local root
  19.385 -	root=""
  19.386 +	local root=''
  19.387  	[ -n "$1" ] && root="--root=$1"
  19.388 -	if [ "$AUTO_INSTALL_DEPS" == "yes" ]; then
  19.389 +
  19.390 +	if [ "$AUTO_INSTALL_DEPS" == 'yes' ]; then
  19.391  		answer=0
  19.392  	else
  19.393  		newline
  19.394 @@ -1054,12 +1017,12 @@
  19.395  		answer=$?
  19.396  		newline
  19.397  	fi
  19.398 -	if [ $answer == 0 ] && ! [ "$nodeps" ]; then
  19.399 +
  19.400 +	if [ "$answer" == 0 ] && [ -z "$nodeps" ]; then
  19.401  		for pkgorg in $DEPENDS; do
  19.402  			pkg=$(equivalent_pkg $pkgorg $1)
  19.403  			if [ ! -d "$1$INSTALLED/$pkg" ]; then
  19.404 -				local list
  19.405 -				list="$INSTALL_LIST"
  19.406 +				local list="$INSTALL_LIST"
  19.407  				[ -n "$list" ] || list="$TOP_DIR/packages.list"
  19.408  				# We can install packages from a local dir by greping
  19.409  				# the TAZPKG_BASENAME in the local packages.list.
  19.410 @@ -1102,10 +1065,10 @@
  19.411  
  19.412  search_in_installed_packages() {
  19.413  	_ 'Installed packages'
  19.414 -	separator
  19.415 -	num=0
  19.416 +	separator '-'
  19.417 +	num='0'
  19.418  	for pkg in $(ls -1 $INSTALLED | grep -i "$PATTERN"); do
  19.419 -		EXTRAVERSION=""
  19.420 +		EXTRAVERSION=''
  19.421  		[ -f $INSTALLED/$pkg/receipt ] || continue
  19.422  		. $INSTALLED/$pkg/receipt
  19.423  		emsg "$PACKAGE<i 24> $VERSION$EXTRAVERSION<i 42> $(_n $CATEGORY)"
  19.424 @@ -1122,22 +1085,41 @@
  19.425  # Search in packages.list for available pkgs.
  19.426  
  19.427  search_in_packages_list() {
  19.428 -	_ 'Available packages'
  19.429 -	separator
  19.430 -	num=0
  19.431 +	_ 'Available packages'; separator '-'
  19.432 +	num='0'
  19.433 +	TMPLIST="$(mktemp)"
  19.434  	BPATTERN="$(emsg "<b>$PATTERN</b>")"
  19.435 -	for i in $PKGS_DB/packages.list $PKGS_DB/undigest/*/packages.list \
  19.436 -		 $PKGS_DB/extra.list $PKGS_DB/undigest/*/extra.list ; do
  19.437 -		grep -is "$PATTERN" $i | sed "s|$PATTERN|$BPATTERN|"
  19.438 -		num=$(($num + `grep -is "$PATTERN" $i | wc -l`))
  19.439 +
  19.440 +	for i in $PKGS_DB/packages.info $PKGS_DB/undigest/*/packages.info; do
  19.441 +		[ -e "$i" ] && awk -F$'\t' -vpattern="$PATTERN" -vbpattern="$BPATTERN" \
  19.442 +		-vt="$TMPLIST" '
  19.443 +		BEGIN { IGNORECASE = 1 }
  19.444 +		index($1 "-" $2, pattern) {
  19.445 +			pv = $1 "-" $2; gsub(pattern, bpattern, pv); print pv;
  19.446 +			printf "1" >> t
  19.447 +		}' $i
  19.448  	done
  19.449 -	if [ ! -f "$PKGS_DB/packages.list" ]; then
  19.450 +
  19.451 +	for i in $PKGS_DB/extra.list $PKGS_DB/undigest/*/extra.list; do
  19.452 +		[ -e "$i" ] && awk -F'|' -vpattern="$PATTERN" -vbpattern="$BPATTERN" \
  19.453 +		-vt="$TMPLIST" '
  19.454 +		BEGIN { IGNORECASE = 1 }
  19.455 +		index($1 "-" $5, pattern) {
  19.456 +			if ($5) pv = $1 "-" $5; else pv = $1;
  19.457 +			gsub(pattern, bpattern, pv); print pv " (extra)";
  19.458 +			printf "1" >> t
  19.459 +		}' $i
  19.460 +	done
  19.461 +
  19.462 +	if [ ! -f "$PKGS_DB/packages.info" ]; then
  19.463  		newline
  19.464  		longline "$(_ \
  19.465  "No \"%s\" found to check for mirrored packages. For more results, please run \
  19.466 -\"%s\" once as root before searching." packages.list 'tazpkg recharge')"
  19.467 +\"%s\" once as root before searching." 'packages.info' 'tazpkg recharge')"
  19.468  		newline
  19.469  	fi
  19.470 +
  19.471 +	num="$(wc -m < $TMPLIST)"; rm $TMPLIST
  19.472  	footer "$(_p \
  19.473  		'%s available package found for "%s"' \
  19.474  		'%s available packages found for "%s"' $num \
  19.475 @@ -1151,18 +1133,23 @@
  19.476  search_in_packages_txt() {
  19.477  	_ 'Matching packages name with version and desc'
  19.478  	separator
  19.479 -	num=0
  19.480 -	for i in $PKGS_DB/packages.txt $PKGS_DB/undigest/*/packages.txt; do
  19.481 +	num='0'
  19.482 +	for i in \
  19.483 +		$PKGS_DB/packages.txt \
  19.484 +		$PKGS_DB/undigest/*/packages.txt; do
  19.485 +
  19.486  		grep -is -A 2 "^$PATTERN" $i
  19.487 -		num=$(($num + `grep -is "^$PATTERN" $i | wc -l`))
  19.488 +		num=$(($num + $(grep -is "^$PATTERN" $i | wc -l)))
  19.489  	done
  19.490 +
  19.491  	if [ ! -f "$PKGS_DB/packages.txt" ]; then
  19.492  		newline
  19.493  		longline "$(_ \
  19.494  "No \"%s\" found to check for mirrored packages. For more results, please run \
  19.495 -\"%s\" once as root before searching." packages.txt 'tazpkg recharge')"
  19.496 +\"%s\" once as root before searching." 'packages.txt' 'tazpkg recharge')"
  19.497  		newline
  19.498  	fi
  19.499 +
  19.500  	footer "$(_p \
  19.501  		'%s available package found for "%s"' \
  19.502  		'%s available packages found for "%s"' $num \
  19.503 @@ -1178,8 +1165,7 @@
  19.504  	# Get repositories priority list.
  19.505  	look_for_priority
  19.506  
  19.507 -	FLAVOR=$1
  19.508 -	ARG=$2
  19.509 +	FLAVOR="$1"
  19.510  	mkdir -p $TMP_DIR
  19.511  	[ -f $FLAVOR.flavor ] && cp $FLAVOR.flavor $TMP_DIR
  19.512  	cd $TMP_DIR
  19.513 @@ -1189,7 +1175,7 @@
  19.514  		while read file; do
  19.515  			for pkg in $(ls -d $INSTALLED/${file%%-*}*); do
  19.516  				[ -f $pkg/receipt ] || continue
  19.517 -				EXTRAVERSION=""
  19.518 +				EXTRAVERSION=''
  19.519  				. $pkg/receipt
  19.520  				[ "$PACKAGE-$VERSION$EXTRAVERSION" == "$file" ] && break
  19.521  			done
  19.522 @@ -1206,9 +1192,10 @@
  19.523  			get-$pkg
  19.524  		done < $FLAVOR.nonfree
  19.525  
  19.526 -		[ "$ARG" == "--purge" ] && for pkg in $(ls $INSTALLED); do
  19.527 +		# option "--purge"
  19.528 +		[ -n "$purge" ] && for pkg in $(ls $INSTALLED); do
  19.529  			[ -f $INSTALLED/$pkg/receipt ] || continue
  19.530 -			EXTRAVERSION=""
  19.531 +			EXTRAVERSION=''
  19.532  			. $INSTALLED/$pkg/receipt
  19.533  			grep -q ^$PACKAGE-$VERSION$EXTRAVERSION$ $FLAVOR.pkglist && continue
  19.534  			grep -qs ^$PACKAGE$ $FLAVOR.nonfree && continue
  19.535 @@ -1222,7 +1209,7 @@
  19.536  }
  19.537  
  19.538  
  19.539 -# Update mirror urls
  19.540 +# Update mirror URLs
  19.541  
  19.542  setup_mirror() {
  19.543  	# Backup old list.
  19.544 @@ -1230,18 +1217,20 @@
  19.545  		cp -f $1/mirror $1/mirror.bak
  19.546  	fi
  19.547  	title 'Current mirror(s)'
  19.548 -	echo "  `cat $1/mirror 2> /dev/null`"
  19.549 +	echo "  $(cat $1/mirror 2> /dev/null)"
  19.550  	longline "$(_ \
  19.551  "Please enter URL of the new mirror (http, ftp or local path). You must specify \
  19.552  the complete address to the directory of the packages and packages.list file.")"
  19.553  	newline
  19.554 +
  19.555  	_n 'New mirror(s) URL: '
  19.556 -	NEW_MIRROR_URL=$2
  19.557 +	NEW_MIRROR_URL="$2"
  19.558  	if [ -n "$NEW_MIRROR_URL" ]; then
  19.559  		echo $NEW_MIRROR_URL
  19.560  	else
  19.561  		read NEW_MIRROR_URL
  19.562  	fi
  19.563 +
  19.564  	if [ -z "$NEW_MIRROR_URL" ]; then
  19.565  		_ 'Nothing has been changed.'
  19.566  	else
  19.567 @@ -1276,10 +1265,10 @@
  19.568  # recursive reverse dependencies scan
  19.569  
  19.570  rdep_scan() {
  19.571 -	SEARCH=$1
  19.572 +	SEARCH="$1"
  19.573  
  19.574  	for i in * ; do
  19.575 -		DEPENDS=""
  19.576 +		DEPENDS=''
  19.577  		. $i/receipt
  19.578  		echo "$i $(echo $DEPENDS)"
  19.579  	done | busybox awk -v search=$SEARCH '
  19.580 @@ -1306,42 +1295,42 @@
  19.581  		echo -n $spc | sed 's/=/ /g'
  19.582  		echo -n $pkg
  19.583  		echo -n ' ('
  19.584 -		fgrep -A 3 $pkg $PKGS_DB/packages.txt  | tail -1 | \
  19.585 +		fgrep -A 3 $pkg $PKGS_DB/packages.txt | tail -1 | \
  19.586  			sed 's/.*(\([^ ]*\).*/\1)/'
  19.587  	done
  19.588  }
  19.589  
  19.590  
  19.591  update_desktop_database() {
  19.592 -	if [ -f $1/usr/bin/update-desktop-database ] && [ -n "$updatedesktopdb" ]; then
  19.593 +	if [ -f "$1/usr/bin/update-desktop-database" ] && [ -n "$updatedesktopdb" ]; then
  19.594  		chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications 2>/dev/null
  19.595  	fi
  19.596  }
  19.597  
  19.598  
  19.599  update_mime_database() {
  19.600 -	if [ -f $1/usr/bin/update-mime-database ] && [ -n "$updatemimedb" ]; then
  19.601 +	if [ -f "$1/usr/bin/update-mime-database" ] && [ -n "$updatemimedb" ]; then
  19.602  		chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
  19.603  	fi
  19.604  }
  19.605  
  19.606  
  19.607  update_icon_database() {
  19.608 -	if [ -f $1/usr/bin/gtk-update-icon-cache ] && [ -n "$updateicondb" ]; then
  19.609 +	if [ -f "$1/usr/bin/gtk-update-icon-cache" ] && [ -n "$updateicondb" ]; then
  19.610  		chroot "$1/" /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
  19.611  	fi
  19.612  }
  19.613  
  19.614  
  19.615  compile_glib_schemas() {
  19.616 -	if [ -f $1/usr/bin/glib-compile-schemas ] && [ -n "$compile_schemas" ]; then
  19.617 +	if [ -f "$1/usr/bin/glib-compile-schemas" ] && [ -n "$compile_schemas" ]; then
  19.618  		chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
  19.619  	fi
  19.620  }
  19.621  
  19.622  
  19.623  update_kernel_modules() {
  19.624 -	if [ -f $1/sbin/depmod ] && [ -n "$updatedepmod" ]; then
  19.625 +	if [ -f "$1/sbin/depmod" ] && [ -n "$updatedepmod" ]; then
  19.626  		chroot "$1/" /sbin/depmod -a
  19.627  	fi
  19.628  }
  19.629 @@ -1350,8 +1339,6 @@
  19.630  # When recharging errors occur
  19.631  
  19.632  recharging_failed() {
  19.633 -	colorize 31 "$(_ 'Recharging failed')"
  19.634 -
  19.635  	# Restore database from bak files
  19.636  	action 'Restoring database files...'
  19.637  	[ -e 'ID'  -a ! -e 'ID.bak' ]  && rm ID
  19.638 @@ -1360,9 +1347,20 @@
  19.639  		mv -f $file ${file%.bak}
  19.640  	done
  19.641  	status
  19.642 +
  19.643 +	footer "$(colorize 31 "$(_ 'Recharging failed')")"
  19.644  }
  19.645  
  19.646  
  19.647 +# Print package name if not printed yet
  19.648 +print_pkgname() {
  19.649 +	if [ "$PACKAGE" != "$PACKAGE_PRINTED" ]; then
  19.650 +		[ -n "$PACKAGE_PRINTED" ] && footer
  19.651 +		title 'Package %s' "$PACKAGE-$VERSION$EXTRAVERSION"
  19.652 +		PACKAGE_PRINTED="$PACKAGE"
  19.653 +	fi
  19.654 +}
  19.655 +
  19.656  
  19.657  
  19.658  ###################
  19.659 @@ -1502,11 +1500,12 @@
  19.660  		check_for_receipt
  19.661  		EXTRAVERSION=''
  19.662  		. $INSTALLED/$PACKAGE/receipt
  19.663 -		im && title 'TazPKG information'
  19.664 +		im && title 'TazPkg information'
  19.665  		# Display localized short description
  19.666  		for LC in $LANG ${LANG%_*}; do
  19.667 -			if [ -e "$PKGS_DB/packages-desc.$LC" ]; then
  19.668 -				LOCDESC=$(grep -e "^$PACKAGE"$'\t' $PKGS_DB/packages-desc.$LC | cut -d$'\t' -f2)
  19.669 +			PDL="$PKGS_DB/packages-desc.$LC"
  19.670 +			if [ -e "$PDL" ]; then
  19.671 +				LOCDESC=$(awk -F$'\t' -vp="$PACKAGE" '$1==p{print $2}' $PDL)
  19.672  				[ -n "$LOCDESC" ] && SHORT_DESC="$LOCDESC"
  19.673  			fi
  19.674  		done
  19.675 @@ -1517,22 +1516,22 @@
  19.676  			_ 'Package    : %s' "$PACKAGE"
  19.677  			_ 'Version    : %s' "$VERSION$EXTRAVERSION"
  19.678  			_ 'Category   : %s' "$(_ $CATEGORY)"
  19.679 -			_ 'Short desc : %s' "$SHORT_DESC"
  19.680 +itemize  "$(_ 'Short desc : %s' "$SHORT_DESC")"
  19.681  			_ 'Maintainer : %s' "$MAINTAINER"
  19.682  			_ 'License    : %s' "$LICENSE"
  19.683 -			_ 'Depends    : %s' "$DEPENDS"
  19.684 -			_ 'Suggested  : %s' "$SUGGESTED"
  19.685 -			_ 'Build deps : %s' "$BUILD_DEPENDS"
  19.686 -			_ 'Wanted src : %s' "$WANTED"
  19.687 +itemize  "$(_ 'Depends    : %s' "$DEPENDS")"
  19.688 +itemize  "$(_ 'Suggested  : %s' "$SUGGESTED")"
  19.689 +itemize  "$(_ 'Build deps : %s' "$BUILD_DEPENDS")"
  19.690 +itemize  "$(_ 'Wanted src : %s' "$WANTED")"
  19.691  			_ 'Web site   : %s' "$WEB_SITE"
  19.692  			_ 'Size       : %s' "$SIZES"
  19.693 -			_ 'Tags       : %s' "$TAGS"
  19.694 +itemize  "$(_ 'Tags       : %s' "$TAGS")"
  19.695  		} | sed '/: $/d; s|^\([^:]*\):|<b>\1:</b>|')"
  19.696  		im && footer
  19.697  		;;
  19.698  
  19.699  
  19.700 -	desc)
  19.701 +	desc|-d)
  19.702  		# Display package description
  19.703  		if [ -n "$(grep -e "^$PACKAGE"$'\t' $PKGS_DB/installed.info)" ]; then
  19.704  			im && title 'Description of package "%s"' $PACKAGE
  19.705 @@ -1552,7 +1551,7 @@
  19.706  	activity|log|-a)
  19.707  		# Show activity log
  19.708  		[ -n "$nb" ] || nb='18'
  19.709 -		title 'TazPKG Activity'
  19.710 +		title 'TazPkg Activity'
  19.711  		IFS=' '
  19.712  		tail -n $nb $LOG | tac | \
  19.713  		while read date hour none action none pkg vers none; do
  19.714 @@ -1586,7 +1585,7 @@
  19.715  		case "$3" in
  19.716  			-i|--installed) search_in_installed_packages ;;
  19.717  			-l|--list)      search_in_packages_list ;;
  19.718 -			-m|--mirror)    search_in_packages_txt ;;
  19.719 +#buggy			-m|--mirror)    search_in_packages_txt ;;
  19.720  			*)
  19.721  				search_in_installed_packages
  19.722  				search_in_packages_list ;;
  19.723 @@ -1655,7 +1654,7 @@
  19.724  		;;
  19.725  
  19.726  
  19.727 -	search-pkgname)
  19.728 +	search-pkgname|-sp)
  19.729  		# Search for a package name
  19.730  		if [ -z "$2" ]; then
  19.731  			newline
  19.732 @@ -1670,12 +1669,12 @@
  19.733  		TMPLIST=$(mktemp)
  19.734  		for i in $PKGS_DB/files.list.lzma $PKGS_DB/undigest/*/files.list.lzma; do
  19.735  				[ -f "$i" ] || continue
  19.736 -				lzcat $i | awk -F: -vT=$TMPLIST '
  19.737 +				lzcat $i | awk -F: -vT=$TMPLIST -vterm="$2" '
  19.738  					BEGIN { P = "" }
  19.739 -					$2 ~ /'$2'/ {
  19.740 +					index($2, term) {
  19.741  						if ($1 != P) {
  19.742  							print $1;
  19.743 -							printf "%s" 1 >> T;
  19.744 +							printf "1" >> T;
  19.745  							P = $1
  19.746  						}
  19.747  					}'
  19.748 @@ -1700,12 +1699,14 @@
  19.749  			ROOT="$root";
  19.750  			check_base_dir "$root"
  19.751  		fi
  19.752 -		[ "$list" ] && INSTALL_LIST="$list"
  19.753 -		if [ "$rootconfig" ]; then
  19.754 -			if [ "$root" ]; then
  19.755 -				CACHE_DIR=$root/$CACHE_DIR
  19.756 -				SAVE_CACHE_DIR=$CACHE_DIR
  19.757 -				PKGS_DB=$root/$PKGS_DB
  19.758 +
  19.759 +		[ -n "$list" ] && INSTALL_LIST="$list"
  19.760 +
  19.761 +		if [ -n "$rootconfig" ]; then					# What about this parameter? Is it obsolete?
  19.762 +			if [ -n "$root" ]; then
  19.763 +				CACHE_DIR="$root/$CACHE_DIR"
  19.764 +				SAVE_CACHE_DIR="$CACHE_DIR"
  19.765 +				PKGS_DB="$root/$PKGS_DB"
  19.766  			else
  19.767  				echo "rootconfig needs --root= option used." >&2
  19.768  				exit 1
  19.769 @@ -1730,6 +1731,7 @@
  19.770  	install-list|get-install-list)
  19.771  		# Install a set of packages from a list.
  19.772  		check_root $@
  19.773 +
  19.774  		if [ -z "$2" ]; then
  19.775  			newline
  19.776  			longline "$(_ \
  19.777 @@ -1762,8 +1764,7 @@
  19.778  			pkg=$(egrep $pkg-[0-9] $INSTALL_LIST)
  19.779  			[ -z "$pkg" ] && continue
  19.780  			_ 'Adding implicit depends "%s"...' $pkg
  19.781 -			LIST="$pkg
  19.782 -$LIST"
  19.783 +			LIST="$pkg"$'\n'"$LIST"
  19.784  		done
  19.785  
  19.786  		for pkg in $LIST; do
  19.787 @@ -1786,7 +1787,7 @@
  19.788  
  19.789  	set-release)
  19.790  		# Change current release and upgrade packages.
  19.791 -		RELEASE=$2
  19.792 +		RELEASE="$2"
  19.793  		if [ -z "$RELEASE" ]; then
  19.794  			newline
  19.795  			_ 'Please specify the release you want on the command line.'
  19.796 @@ -1801,7 +1802,7 @@
  19.797  		# Install missing depends
  19.798  		cd $INSTALLED
  19.799  		for i in * ; do
  19.800 -			DEPENDS=""
  19.801 +			DEPENDS=''
  19.802  			. $i/receipt
  19.803  			for j in $DEPENDS ; do
  19.804  				[ -d $j ] || tazpkg get-install $j
  19.805 @@ -1906,7 +1907,7 @@
  19.806  
  19.807  		# Process dependent packages
  19.808  		if [ -n "$ALTERED" ]; then
  19.809 -			if [ "$auto" ]; then
  19.810 +			if [ -n "$auto" ]; then
  19.811  				answer=0
  19.812  			else
  19.813  				confirm "$(_ 'Remove packages depending on package "%s"? (y/N)' $PACKAGE)"
  19.814 @@ -1923,7 +1924,7 @@
  19.815  
  19.816  		# Process changed packages
  19.817  		if [ -n "$REFRESH" ]; then
  19.818 -			if [ "$auto" ]; then
  19.819 +			if [ -n "$auto" ]; then
  19.820  				answer=0
  19.821  			else
  19.822  				confirm "$(_ 'Reinstall packages modified by package "%s"? (y/N)' $PACKAGE)"
  19.823 @@ -1948,14 +1949,14 @@
  19.824  		# Extract .tazpkg cpio archive into a directory.
  19.825  		check_for_package_on_cmdline
  19.826  		check_for_package_file
  19.827 -		title 'Extracting package "%s"' $PACKAGE
  19.828 +		title 'Extracting package "%s"' "$PACKAGE"
  19.829  
  19.830  		# If no directory destination is found on the cmdline
  19.831  		# we create one in the current dir using the package name.
  19.832  		if [ -n "$TARGET_DIR" ]; then
  19.833 -			DESTDIR=$TARGET_DIR/$PACKAGE
  19.834 +			DESTDIR="$TARGET_DIR/$PACKAGE"
  19.835  		else
  19.836 -			DESTDIR=$PACKAGE
  19.837 +			DESTDIR="$PACKAGE"
  19.838  		fi
  19.839  		mkdir -p $DESTDIR
  19.840  
  19.841 @@ -1974,7 +1975,7 @@
  19.842  		# Recompress .tazpkg cpio archive with lzma.
  19.843  		check_for_package_on_cmdline
  19.844  		check_for_package_file
  19.845 -		title 'Recompressing package "%s"' $PACKAGE
  19.846 +		title 'Recompressing package "%s"' "$PACKAGE"
  19.847  		mkdir -p $TMP_DIR
  19.848  
  19.849  		action "Copying original package..."
  19.850 @@ -2035,9 +2036,10 @@
  19.851  
  19.852  
  19.853  	repack-config)
  19.854 +		check_root $@
  19.855  		# Create SliTaz package archive from configuration files.
  19.856  		mkdir -p $TMP_DIR; cd $TMP_DIR
  19.857 -		CONFIG_VERSION=1.0
  19.858 +		CONFIG_VERSION='1.0'
  19.859  		mkdir config-$CONFIG_VERSION
  19.860  		cd config-$CONFIG_VERSION
  19.861  		for i in $INSTALLED/*/volatile.cpio.gz; do
  19.862 @@ -2048,7 +2050,7 @@
  19.863  		( cd / ; cpio -o -H newc --quiet ) < ../files.list | cpio -idm --quiet > /dev/null
  19.864  		mkdir -p etc/tazlito
  19.865  		for i in $INSTALLED/*/receipt; do
  19.866 -			EXTRAVERSION=""
  19.867 +			EXTRAVERSION=''
  19.868  			. $i
  19.869  			echo "$PACKAGE-$VERSION$EXTRAVERSION"
  19.870  		done > etc/tazlito/config-packages.list
  19.871 @@ -2076,7 +2078,7 @@
  19.872  		# Create SliTaz package archive from an installed package.
  19.873  		check_for_package_on_cmdline
  19.874  		check_for_receipt
  19.875 -		EXTRAVERSION=""
  19.876 +		EXTRAVERSION=''
  19.877  		. $INSTALLED/$PACKAGE/receipt
  19.878  		title 'Repacking "%s"' "$PACKAGE-$VERSION$EXTRAVERSION.tazpkg"
  19.879  
  19.880 @@ -2093,7 +2095,7 @@
  19.881  			exit 1
  19.882  		fi
  19.883  
  19.884 -		MISSING=""
  19.885 +		MISSING=''
  19.886  		while read i; do
  19.887  			[ -e "$i" ] && continue
  19.888  			[ -L "$i" ] || MISSING="$MISSING\n  $i"
  19.889 @@ -2132,7 +2134,7 @@
  19.890  		if [ -f $INSTALLED/$PACKAGE/$CHECKSUM ]; then
  19.891  			sed 's,  ,  fs,' < $INSTALLED/$PACKAGE/$CHECKSUM | \
  19.892  			$CHECKSUM -s -c || {
  19.893 -				_ "Can't repack, %s error." $CHECKSUM
  19.894 +				_ "Can't repack, %s error." "$CHECKSUM"
  19.895  				cd $TOP_DIR
  19.896  				rm -rf $TMP_DIR
  19.897  				exit 1
  19.898 @@ -2154,7 +2156,7 @@
  19.899  		# TODO: Cook also pack packages, we should share code in libpkg.sh
  19.900  		check_for_package_on_cmdline
  19.901  		cd $PACKAGE
  19.902 -		if [ ! -f "receipt" ]; then
  19.903 +		if [ ! -f 'receipt' ]; then
  19.904  			_ 'Receipt is missing. Please read the documentation.'
  19.905  			exit 0
  19.906  		fi
  19.907 @@ -2162,11 +2164,11 @@
  19.908  		title 'Packing package "%s"' $PACKAGE
  19.909  		# Create files.list with redirecting find outpout.
  19.910  
  19.911 -		action "Creating the list of files..."
  19.912 +		action 'Creating the list of files...'
  19.913  		cd fs
  19.914  		find . -type f -print > ../files.list
  19.915  		find . -type l -print >> ../files.list
  19.916 -		cd .. && sed -i s/'^.'/''/ files.list
  19.917 +		cd ..; sed -i s/'^.'/''/ files.list
  19.918  		status
  19.919  
  19.920  		action 'Creating %s of files...' $CHECKSUM
  19.921 @@ -2181,10 +2183,9 @@
  19.922  		status
  19.923  
  19.924  		UNPACKED_SIZE=$(du -chs fs receipt files.list $CHECKSUM \
  19.925 -			description.txt 2> /dev/null | awk \
  19.926 -			'{ sz=$1 } END { print sz }')
  19.927 +			description.txt 2>/dev/null | awk 'END { print $1 }')
  19.928 +
  19.929  		# Build cpio archives.
  19.930 -
  19.931  		action "Compressing the FS..."
  19.932  		find fs | cpio -o -H newc --quiet | case "$TAZPKG_PACK" in
  19.933  		gzip) gzip -9 > fs.cpio.gz ;;
  19.934 @@ -2194,8 +2195,7 @@
  19.935  		status
  19.936  
  19.937  		PACKED_SIZE=$(du -chs fs.cpio.lzma receipt files.list \
  19.938 -			$CHECKSUM description.txt 2> /dev/null | awk \
  19.939 -			'{ sz=$1 } END { print sz }')
  19.940 +			$CHECKSUM description.txt 2>/dev/null | awk 'END { print $1 }')
  19.941  
  19.942  		action "Updating receipt sizes..."
  19.943  		sed -i s/^PACKED_SIZE.*$// receipt
  19.944 @@ -2256,6 +2256,8 @@
  19.945  				repo_name="$(_n 'Undigest %s' "$(basename $path)")"
  19.946  			fi
  19.947  
  19.948 +			title 'Recharging repository "%s"' "$repo_name"
  19.949 +
  19.950  			# Don't let ID be a symlink when using local repository.
  19.951  			if [ -h ID  ]; then mv -f ID  ID.lnk;  cat ID.lnk  > ID;  rm ID.lnk;  fi
  19.952  			if [ -h IDs ]; then mv -f IDs IDs.lnk; cat IDs.lnk > IDs; rm IDs.lnk; fi
  19.953 @@ -2267,13 +2269,13 @@
  19.954  
  19.955  			# Check if recharging is needed
  19.956  			if [ -f 'IDs' ] && cmp -s IDs IDs.bak; then
  19.957 -				_ 'Repository "%s" is up to date.' "$repo_name"
  19.958 +				action 'Checking...'; status			# "Fake" message
  19.959 +				footer "$(_ 'Repository "%s" is up to date.' "$repo_name")"
  19.960  				rm IDs.bak ID.bak
  19.961  				continue
  19.962  			fi
  19.963  			rm IDs.bak ID.bak 2>/dev/null
  19.964  
  19.965 -			title 'Recharging repository "%s"' "$repo_name"
  19.966  			[ -e 'IDs' ] && _ 'Database timestamp: %s' "$(date -d "@$(awk '{print $2}' IDs)" "+%x %R")"
  19.967  
  19.968  			action 'Creating backup of the last packages list...'
  19.969 @@ -2521,61 +2523,71 @@
  19.970  
  19.971  	check)
  19.972  		# Check installed packages set.
  19.973 -		check_root $@
  19.974 +		#check_root $@
  19.975  
  19.976  		# Get repositories priority list.
  19.977  		look_for_priority
  19.978  
  19.979  		cd $INSTALLED
  19.980 -		for PACKAGE in $(ls); do
  19.981 -
  19.982 -			if [ ! -f $PACKAGE/receipt ]; then
  19.983 -				_ 'The package "%s" installation has not completed' $PACKAGE
  19.984 +		if [ -z "$2" -o "$2" == '--full' ]; then PACKAGES="$(ls)"; else PACKAGES="$2"; fi
  19.985 +		PACKAGE_PRINTED=''
  19.986 +
  19.987 +		for PACKAGE in $PACKAGES; do
  19.988 +
  19.989 +			if [ ! -f "$PACKAGE/receipt" ]; then
  19.990 +				print_pkgname
  19.991 +				_ 'The package installation has not completed'
  19.992  				continue
  19.993  			fi
  19.994  
  19.995 -			DEPENDS=""
  19.996 -			EXTRAVERSION=""
  19.997 +			DEPENDS=''
  19.998 +			EXTRAVERSION=''
  19.999  			. $PACKAGE/receipt
 19.1000  			if [ -s $PACKAGE/modifiers ]; then
 19.1001 -				_ 'The package "%s" has been modified by:' $PACKAGE-$VERSION$EXTRAVERSION
 19.1002 -				for i in $(cat $PACKAGE/modifiers); do
 19.1003 -					echo "  $i"
 19.1004 -				done
 19.1005 +				print_pkgname
 19.1006 +				_ 'The package has been modified by:'
 19.1007 +				awk '{print "  " $0}' $PACKAGE/modifiers
 19.1008  			fi
 19.1009  
 19.1010 -			MSG="$(_n 'Files lost from package "%s":' $PACKAGE-$VERSION$EXTRAVERSION)\n"
 19.1011 +			MSG="$(_n 'Files lost from package:')\n"
 19.1012  			while read file; do
 19.1013  				[ -e "$file" ] && continue
 19.1014  				if [ -L "$file" ]; then
 19.1015  					MSG="$MSG  $(_n 'target of symlink')"
 19.1016  				fi
 19.1017 +				print_pkgname
 19.1018  				echo -e "$MSG  $file"
 19.1019 -				MSG=""
 19.1020 +				MSG=''
 19.1021  			done < $PACKAGE/files.list
 19.1022  
 19.1023 -			MSG="$(_n 'Missing dependencies for package "%s":' $PACKAGE-$VERSION$EXTRAVERSION)\n"
 19.1024 +			MSG="$(_n 'Missing dependencies for package:')\n"
 19.1025  			for i in $DEPENDS; do
 19.1026  				[ -d $i ] && continue
 19.1027  				[ -d $(equivalent_pkg $i) ] && continue
 19.1028 +				print_pkgname
 19.1029  				echo -e "$MSG  $i"
 19.1030 -				MSG=""
 19.1031 +				MSG=''
 19.1032  			done
 19.1033  
 19.1034 -			MSG="$(_n 'Dependencies loop between "%s" and:' $PACKAGE)\n"
 19.1035 -			ALL_DEPS=""
 19.1036 +			MSG="$(_n 'Dependencies loop between package and:')\n"
 19.1037 +			ALL_DEPS=''
 19.1038  			check_for_deps_loop $PACKAGE $DEPENDS
 19.1039  		done
 19.1040 +		[ -n "$PACKAGE_PRINTED" ] && footer
 19.1041  
 19.1042  		_ 'Looking for known bugs...'
 19.1043 -		tazpkg bugs
 19.1044 -
 19.1045 -		if [ "$2" == "--full" ]; then
 19.1046 +		if [ -z "$2" -o "$2" == '--full' ]; then tazpkg bugs; else tazpkg bugs "$2"; fi
 19.1047 +
 19.1048 +
 19.1049 +		if [ -n "$full" ]; then
 19.1050  			separator
 19.1051  
 19.1052 -			for file in */$CHECKSUM; do
 19.1053 -				CONFIG_FILES=""
 19.1054 -				. $(dirname "$file")/receipt
 19.1055 +			title 'Mismatch checksum of installed files:'
 19.1056 +
 19.1057 +			for PACKAGE in $PACKAGES; do
 19.1058 +				file="$PACKAGE/$CHECKSUM"
 19.1059 +				CONFIG_FILES=''
 19.1060 +				. $PACKAGE/receipt
 19.1061  				[ -s "$file" ] || continue
 19.1062  				while read md5 f; do
 19.1063  					[ -f $f ] || continue
 19.1064 @@ -2585,41 +2597,53 @@
 19.1065  						esac
 19.1066  					done
 19.1067  					echo "$md5  $f"
 19.1068 -				done < "$file" | busybox $CHECKSUM -c - 2> /dev/null | \
 19.1069 -				  grep -v OK$ | sed "s/FAILED$/$CHECKSUM MISMATCH/"
 19.1070 +				done < "$file" | busybox $CHECKSUM -c - 2>/dev/null | \
 19.1071 +				  grep -v OK$ | sed "s/: FAILED$//"
 19.1072  			done
 19.1073 -
 19.1074 -			FILES=" "
 19.1075 -			for file in $(cat */files.list); do
 19.1076 -				[ -d "$file" ] && continue
 19.1077 -				case "$FILES" in *\ $file\ *) continue;; esac
 19.1078 -				[ $(grep "^$(echo $file | grepesc)$" */files.list 2> /dev/null | \
 19.1079 -					wc -l) -gt 1 ] || continue
 19.1080 -				FILES="$FILES$file "
 19.1081 -				_ 'The following packages provide file "%s":' $file
 19.1082 -				grep -l "^$(echo $file | grepesc)$" */files.list | \
 19.1083 -				while read f; do
 19.1084 -					pkg=${f%/files.list}
 19.1085 -					if [ -f $pkg/modifiers ]; then
 19.1086 -						overriders=$(_n '(overridden by %s)' "$(tr '\n' ' ' | sed 's| $||' < $pkg/modifiers)")
 19.1087 -					else
 19.1088 -						overriders=''
 19.1089 -					fi
 19.1090 -					echo -n "  $pkg $overriders"
 19.1091 +			footer
 19.1092 +
 19.1093 +			title 'Check file providers:'
 19.1094 +			FILES=' '
 19.1095 +			for PACKAGE in $PACKAGES; do
 19.1096 +				for file in $(cat $PACKAGE/files.list); do
 19.1097 +					[ -d "$file" ] && continue
 19.1098 +					case "$FILES" in
 19.1099 +						*\ $file\ *) continue;;
 19.1100 +					esac
 19.1101 +					[ $(grep "^$(echo $file | grepesc)$" */files.list 2> /dev/null | \
 19.1102 +						wc -l) -gt 1 ] || continue
 19.1103 +					FILES="$FILES$file "
 19.1104  					newline
 19.1105 +					_ 'The following packages provide file "%s":' $file
 19.1106 +					grep -l "^$(echo $file | grepesc)$" */files.list | \
 19.1107 +					while read f; do
 19.1108 +						pkg=${f%/files.list}
 19.1109 +						if [ -f $pkg/modifiers ]; then
 19.1110 +							overriders=$(_n '(overridden by %s)' "$(tr '\n' ' ' < $pkg/modifiers | sed 's| $||')")
 19.1111 +						else
 19.1112 +							overriders=''
 19.1113 +						fi
 19.1114 +						echo -n "  * $pkg $overriders"
 19.1115 +						newline
 19.1116 +					done
 19.1117  				done
 19.1118  			done
 19.1119 -
 19.1120 -			MSG="$(_n 'No package has installed the following files:')\n"
 19.1121 -			find /etc /bin /sbin /lib /usr /var/www -not -type d 2>/dev/null | \
 19.1122 -			while read file; do
 19.1123 -				case "$file" in *\[*) continue;; esac
 19.1124 -				grep -q "^$(echo $file | grepesc)$" */files.list && continue
 19.1125 -				echo -e "$MSG  $file"
 19.1126 -				MSG=""
 19.1127 -			done
 19.1128 +			footer
 19.1129 +
 19.1130 +			if [ "$2" == '--full' ]; then
 19.1131 +				title 'Alien files:'
 19.1132 +				MSG="$(_n 'No package has installed the following files:')\n"
 19.1133 +				find /etc /bin /sbin /lib /usr /var/www -not -type d 2>/dev/null | \
 19.1134 +				while read file; do
 19.1135 +					case "$file" in *\[*) continue;; esac
 19.1136 +					grep -q "^$(echo $file | grepesc)$" */files.list && continue
 19.1137 +					echo -e "$MSG  $file"
 19.1138 +					MSG=''
 19.1139 +				done
 19.1140 +				footer
 19.1141 +			fi
 19.1142  		fi
 19.1143 -		_ 'Check completed.'; echo ;;
 19.1144 +		_ 'Check completed.'; newline ;;
 19.1145  
 19.1146  
 19.1147  	block|-b)
 19.1148 @@ -2688,12 +2712,12 @@
 19.1149  		check_for_package_on_cmdline
 19.1150  		check_for_packages_list
 19.1151  
 19.1152 -		[ "$root" ] && ROOT="$root" && check_base_dir "$root"
 19.1153 -		if [ "$rootconfig" ]; then
 19.1154 -			if [ "$root" ]; then
 19.1155 -				CACHE_DIR=$root/$CACHE_DIR
 19.1156 -				SAVE_CACHE_DIR=$CACHE_DIR
 19.1157 -				PKGS_DB=$root/$PKGS_DB
 19.1158 +		[ -n "$root" ] && ROOT="$root" && check_base_dir "$root"
 19.1159 +		if [ -n "$rootconfig" ]; then
 19.1160 +			if [ -n "$root" ]; then
 19.1161 +				CACHE_DIR="$root/$CACHE_DIR"
 19.1162 +				SAVE_CACHE_DIR="$CACHE_DIR"
 19.1163 +				PKGS_DB="$root/$PKGS_DB"
 19.1164  			else
 19.1165  				_ 'rootconfig needs --root= option used.' >&2
 19.1166  				exit 1
 19.1167 @@ -2703,9 +2727,10 @@
 19.1168  		# Get repositories priority list.
 19.1169  		look_for_priority
 19.1170  
 19.1171 -		CURRENT_DIR=$PWD
 19.1172 +		CURRENT_DIR="$PWD"
 19.1173  		cd $CACHE_DIR
 19.1174  		if check_for_package_in_list check ; then
 19.1175 +			cd $CACHE_DIR
 19.1176  			if [ -f "$PACKAGE.tazpkg" ]; then
 19.1177  				_ 'Package "%s" already in the cache' $PACKAGE
 19.1178  				# Check package download was finished
 19.1179 @@ -2720,13 +2745,14 @@
 19.1180  			else
 19.1181  				download $PACKAGE.tazpkg
 19.1182  			fi
 19.1183 -			PACKAGE_FILE=$CACHE_DIR/$PACKAGE.tazpkg
 19.1184 +			PACKAGE_FILE="$CACHE_DIR/$PACKAGE.tazpkg"
 19.1185  		elif download_get_script $PACKAGE /tmp/$PACKAGE.$$ ; then
 19.1186  			install_package_from_get_script /tmp/$PACKAGE.$$ "$ROOT" --get
 19.1187  			PACKAGE_FILE=$(ls $PWD/$PACKAGE-*.tazpkg)
 19.1188  		fi
 19.1189  		[ "$PWD" != "$CURRENT_DIR" ] &&
 19.1190 -		cp -a $PACKAGE_FILE $CURRENT_DIR ;;
 19.1191 +			cp -a $PACKAGE_FILE $CURRENT_DIR
 19.1192 +		;;
 19.1193  
 19.1194  
 19.1195  	get-install|-gi)
 19.1196 @@ -2736,10 +2762,11 @@
 19.1197  		check_for_packages_list
 19.1198  
 19.1199  		DO_CHECK=''
 19.1200 -		[ -n "$forced" ] && DO_CHECK=no
 19.1201 +		[ -n "$forced" ] && DO_CHECK='no'
 19.1202  		[ -n "$root" ] && ROOT="$root" && check_base_dir "$root"
 19.1203 -		[ -n "$list" ] && INSTALL_LIST="$list"
 19.1204 -		if [ -n "$rootconfig" ]; then
 19.1205 +		[ -n "$list" ] && INSTALL_LIST="$list"					# internal option
 19.1206 +
 19.1207 +		if [ -n "$rootconfig" ]; then							# outdated?
 19.1208  			if [ -n "$root" ]; then
 19.1209  				CACHE_DIR="$root/$CACHE_DIR"
 19.1210  				SAVE_CACHE_DIR="$CACHE_DIR"
 19.1211 @@ -2830,10 +2857,11 @@
 19.1212  					_ 'No undigest mirror found.'
 19.1213  					exit 1
 19.1214  				fi
 19.1215 -				echo "$(basename $(dirname $i))	$(cat $i)"
 19.1216 +				echo "$(basename $(dirname $i))"$'\t'"$(cat $i)"
 19.1217  			done
 19.1218  			newline
 19.1219 -		fi ;;
 19.1220 +		fi
 19.1221 +		;;
 19.1222  
 19.1223  
 19.1224  	remove-undigest)
 19.1225 @@ -2850,26 +2878,30 @@
 19.1226  			fi
 19.1227  		else
 19.1228  			_ 'Undigest "%s" not found' $undigest
 19.1229 -		fi ;;
 19.1230 +		fi
 19.1231 +		;;
 19.1232  
 19.1233  
 19.1234  	add-undigest|setup-undigest)
 19.1235  		# Add undigest URL.
 19.1236  		check_root $@
 19.1237 -		undigest=$2
 19.1238 -		[ -d $PKGS_DB/undigest ] || mkdir $PKGS_DB/undigest
 19.1239 +
 19.1240 +		[ ! -d "$PKGS_DB/undigest" ] && mkdir "$PKGS_DB/undigest"
 19.1241 +
 19.1242 +		undigest="$2"
 19.1243  		if [ -z "$undigest" ]; then
 19.1244 -			i=1
 19.1245 +			i='1'
 19.1246  			while [ -d "$PKGS_DB/undigest/$i" ]; do
 19.1247  				i=$(($i+1))
 19.1248  			done
 19.1249 -			undigest=$i
 19.1250 +			undigest="$i"
 19.1251  		fi
 19.1252  		if [ ! -d "$PKGS_DB/undigest/$undigest" ]; then
 19.1253 -			_ 'Creating new undigest "%s".' $undigest
 19.1254 -			mkdir $PKGS_DB/undigest/$undigest
 19.1255 +			_ 'Creating new undigest "%s".' "$undigest"
 19.1256 +			mkdir "$PKGS_DB/undigest/$undigest"
 19.1257  		fi
 19.1258 -		setup_mirror $PKGS_DB/undigest/$undigest $3 ;;
 19.1259 +		setup_mirror "$PKGS_DB/undigest/$undigest" "$3"
 19.1260 +		;;
 19.1261  
 19.1262  
 19.1263  	setup-mirror|-sm)
 19.1264 @@ -2882,20 +2914,8 @@
 19.1265  		# Replay post_install from receipt
 19.1266  		check_for_package_on_cmdline
 19.1267  		check_root $@
 19.1268 -		ROOT=''
 19.1269 -		while [ -n "$3" ]; do
 19.1270 -			case "$3" in
 19.1271 -				--root=*)
 19.1272 -					ROOT="${3#--root=}/" ;;
 19.1273 -				*)
 19.1274 -					shift 2
 19.1275 -					u_opt="$*"
 19.1276 -					newline >&2
 19.1277 -					_ 'Unknown option "%s".' $u_opt >&2
 19.1278 -					exit 1 ;;
 19.1279 -			esac
 19.1280 -			shift
 19.1281 -		done
 19.1282 +
 19.1283 +		ROOT="$root"
 19.1284  		if [ -d "$ROOT$INSTALLED/$PACKAGE" ]; then
 19.1285  			check_for_receipt $ROOT
 19.1286  			# Check for post_install
 19.1287 @@ -2903,7 +2923,7 @@
 19.1288  				. $ROOT$INSTALLED/$PACKAGE/receipt
 19.1289  				post_install $ROOT
 19.1290  				# Log this activity
 19.1291 -				[ -n "$ROOT" ] || log_pkg Reconfigured
 19.1292 +				[ -z "$ROOT" ] && log_pkg Reconfigured
 19.1293  			else
 19.1294  				newline
 19.1295  				_ 'Nothing to do for package "%s".' $PACKAGE
 19.1296 @@ -2917,15 +2937,15 @@
 19.1297  
 19.1298  
 19.1299  	shell)
 19.1300 -		# TazPKG SHell
 19.1301 -		if [ "$(id -u)" == '0' ]; then
 19.1302 +		# TazPkg SHell
 19.1303 +		if [ "$(id -u)" -eq 0 ]; then
 19.1304  			PROMPT="\\033[1;33mtazpkg\\033[0;39m# "
 19.1305  		else
 19.1306  			PROMPT="\\033[1;33mtazpkg\\033[0;39m> "
 19.1307  		fi
 19.1308  		if [ "$2" != "--noheader" ]; then
 19.1309  			clear
 19.1310 -			title 'TazPKG SHell.'
 19.1311 +			title 'TazPkg SHell.'
 19.1312  			_ "Type 'usage' to list all available commands or 'quit' or 'q' to exit."
 19.1313  			newline
 19.1314  		fi
 19.1315 @@ -2935,7 +2955,7 @@
 19.1316  				q|quit)
 19.1317  					break ;;
 19.1318  				shell)
 19.1319 -					_ 'You are already running a TazPKG SHell.' ;;
 19.1320 +					_ 'You are already running a TazPkg SHell.' ;;
 19.1321  				su)
 19.1322  					su -c 'exec tazpkg shell --noheader' && break ;;
 19.1323  				"")
 19.1324 @@ -2961,11 +2981,13 @@
 19.1325  		ALL_DEPS=''
 19.1326  		if [ -f "$2/receipt" ]; then
 19.1327  			rdep_scan $2
 19.1328 -		fi ;;
 19.1329 +		fi
 19.1330 +		;;
 19.1331  
 19.1332  
 19.1333  	list-suggested)
 19.1334  		for i in $(ls -d $INSTALLED/*); do
 19.1335 +			SUGGESTED=''
 19.1336  			. $i/receipt
 19.1337  			if [ -n "$SUGGESTED" ]; then
 19.1338  				if [ -z "$all" ]; then
 19.1339 @@ -2978,8 +3000,8 @@
 19.1340  $(boldify $(echo $PACKAGE):) $SUGGESTED
 19.1341  EOT
 19.1342  			fi
 19.1343 -		SUGGESTED=''
 19.1344 -		done ;;
 19.1345 +		done
 19.1346 +		;;
 19.1347  
 19.1348  
 19.1349  	convert|-c)
 19.1350 @@ -3049,6 +3071,11 @@
 19.1351  		fi ;;
 19.1352  
 19.1353  
 19.1354 +	help|-h)
 19.1355 +		# TazPkg help system
 19.1356 +		shift; tazpkg-help $@ ;;
 19.1357 +
 19.1358 +
 19.1359  	usage|*)
 19.1360  		# Print a short help or give usage for an unknown or empty command.
 19.1361  		usage ;;