'\" t
.\" Title: apt-config
.\" Author: Jason Gunthorpe
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 30\ \&Novembro\ \&2013
.\" Manual: APT
.\" Source: APT 1.4.9
.\" Language: Portuguese
.\"
.TH "APT\-CONFIG" "8" "30\ \&Novembro\ \&2013" "APT 1.4.9" "APT"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NOME"
apt-config \- Programa de Consulta de Configura\(,c\(~ao do APT
.SH "SINOPSE"
.HP \w'\fBapt\-config\fR\ 'u
\fBapt\-config\fR [\fB\-\-empty\fR] [\fB\-\-format\ \*(Aq\fR\fB\fI%f\ "%v";%n\fR\fR\fB\*(Aq\fR] [\fB\-o=\fR\fB\fIconfig_string\fR\fR] [\fB\-c=\fR\fB\fIconfig_file\fR\fR] {shell | dump | {\-v\ |\ \-\-version} | {\-h\ |\ \-\-help}}
.SH "DESCRI\(,C\(~AO"
.PP
\fBapt\-config\fR
\('e um programa interno usado por v\('arias partes da suite APT para fornecer uma configurabilidade consistente\&. Acede ao ficheiro de configura\(,c\(~ao principal
/etc/apt/apt\&.conf
de um modo que \('e f\('acil de usar para aplica\(,c\(~oes em script\&.
.PP
A menos que a op\(,c\(~ao
\fB\-h\fR, ou
\fB\-\-help\fR
seja fornecida, um dos comandos abaixo t\(^em que estar presentes\&.
.PP
\fBshell\fR
.RS 4
shell \('e usado para aceder \(`a informa\(,c\(~ao de configura\(,c\(~ao a partir de um script shell\&. \('E fornecido pares de argumentos, sendo o primeiro uma vari\('avel de shell e o segundo o valor de configura\(,c\(~ao a consultar\&. Como resultado cria uma lista de comandos atribu\('idos a shell para cada valor presente\&. Num script shell dever\('a ser usado como se segue:
.sp
.if n \{\
.RS 4
.\}
.nf
OPTS="\-f"
RES=`apt\-config shell OPTS MyApp::options`
eval $RES
.fi
.if n \{\
.RE
.\}
Isto ir\('a definir a vari\('avel de ambiente shell $OPTS ao valor de MyApp::options com uma predefini\(,c\(~ao de
\fB\-f\fR\&.
.sp
O item de configura\(,c\(~ao pode ser p\('os\-fixado com um /[fdbi]\&. f devolve nomes de ficheiros, d devolve direct\('orios, b devolve verdadeiro ou falso e i devolve um n\('umero inteiro\&. Cada um dos valores devolvidos \('e normalizado e verificado internamente\&.
.RE
.PP
\fBdump\fR
.RS 4
Apenas mostra o conte\('udo do espa\(,co de configura\(,c\(~ao\&.
.RE
.SH "OP\(,C\(~OES"
.PP
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
\fB\-f\-\fR,\fB\-\-no\-f\fR,
\fB\-f=no\fR
or several other variations\&.
.PP
\fB\-\-empty\fR
.RS 4
Inclui op\(,c\(~oes que t\(^em um valor vazio\&. Isto \('e a predefini\(,c\(~ao, ent\(~ao use \-\-no\-empty para remov\(^e\-las dos resultados\&.
.RE
.PP
\fB\-\-format \*(Aq\fR\fB\fI%f "%v";%n\fR\fR\fB\*(Aq\fR
.RS 4
Define a sa\('ida de cada op\(,c\(~ao de configura\(,c\(~ao\&. %t ir\('a ser substitu\('ido com o seu nome individual, %f com o seu nome hier\('arquico e %v com o seu valor\&. O uso de letras mai\('usculas e caracteres especiais no valor ser\('a codificado para assegurar que pode, por exemplo, ser usado em seguran\(,ca numa string citada como definido por RFC822\&. Adicionalmente %n ser\('a substitu\('ido por uma nova linha, e %N por um separador\&. Um % pode ser escrito ao usar %%\&.
.RE
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Show a short usage summary\&.
.RE
.PP
\fB\-v\fR, \fB\-\-version\fR
.RS 4
Show the program version\&.
.RE
.PP
\fB\-c\fR, \fB\-\-config\-file\fR
.RS 4
Configuration File; Specify a configuration file to use\&. The program will read the default configuration file and then this configuration file\&. If configuration settings need to be set before the default configuration files are parsed specify a file with the
\fBAPT_CONFIG\fR
environment variable\&. See
\fBapt.conf\fR(5)
for syntax information\&.
.RE
.PP
\fB\-o\fR, \fB\-\-option\fR
.RS 4
Set a Configuration Option; This will set an arbitrary configuration option\&. The syntax is
\fB\-o Foo::Bar=bar\fR\&.
\fB\-o\fR
and
\fB\-\-option\fR
can be used multiple times to set different options\&.
.RE
.SH "VEJA TAMB\('EM"
.PP
\fBapt.conf\fR(5)
.SH "DIAGN\('OSTICO"
.PP
\fBapt\-config\fR
devolve zero em opera\(,c\(~ao normal, 100 decimal em erro\&.
.SH "BUGS"
.PP
\m[blue]\fBAPT bug page\fR\m[]\&\s-2\u[1]\d\s+2\&. If you wish to report a bug in APT, please see
/usr/share/doc/debian/bug\-reporting\&.txt
or the
\fBreportbug\fR(1)
command\&.
.SH "TRANSLATION"
.PP
The english translation was done by John Doe
in 2009, 2010 and Daniela Acme
in 2010 together with the Debian Dummy l10n Team
\&.
.PP
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\&.
.SH "AUTORES"
.PP
\fBJason Gunthorpe\fR
.RS 4
.RE
.PP
\fBAPT team\fR
.RS 4
.RE
.SH "NOTAS"
.IP " 1." 4
APT bug page
.RS 4
\%http://bugs.debian.org/src:apt
.RE