table of contents
- stretch 1.4.9
- testing 1.8.2
- unstable 1.8.2
- experimental 1.9.1
APT-CONFIG(8) | APT | APT-CONFIG(8) |
NOMBRE¶
apt-config - Programa para consultar la configuración de APTSINOPSIS¶
apt-config [--empty] [--format ' %f "%v";%n'] [-o=config_string] [-c=config_file] {shell | dump | {-v | --version} | {-h | --help}}
DESCRIPCIÓN¶
apt-config es un programa interno que usan varios programas del conjunto de herramientas de APT para ofrecer un método de configuración sólido. Este programa accede al fichero principal de configuración /etc/apt/apt.conf de forma que resulta sencillo de usar por aplicaciones con scripts.A menos que se use la opción -h o --help, una de las siguientes órdenes debe estar presente.
shell
OPTS="-f" RES=`apt-config shell OPTS MiAplicación::opciones` eval $RES
La opción de configuración se puede corregir posteriormente con un «/[fdbi]». El parámetro «f» devuelve nombres de fichero, «d» devuelve los directorios, «b» devuelve verdadero o falso, e «i» devuelve un número entero. Cada uno de los valores devueltos se normaliza y se verifica internamente.
dump
OPCIONES¶
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like -f-,--no-f, -f=no or several other variations.--empty
--format '%f "%v";%n'
-h, --help
-v, --version
-c, --config-file
-o, --option
VÉASE TAMBIÉN¶
apt.conf(5)DIAGNÓSTICOS¶
apt-config devuelve cero si no hay ningún error, y el valor 100 en caso de error.BUGS¶
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.TRANSLATION¶
The english translation was done by John Doe <john@doe.org> in 2009, 2010 and Daniela Acme <daniela@acme.us> in 2010 together with the Debian Dummy l10n Team <debian-l10n-dummy@lists.debian.org>.Note that this translated document may contain untranslated parts. This is done on purpose, to avoid losing content when the translation is lagging behind the original content.
AUTORES¶
Jason GunthorpeAPT team
NOTAS¶
- 1.
- APT bug page
30 Noviembre 2013 | APT 1.4.9 |