'\" t
.\" Title: apt-config
.\" Author: Jason Gunthorpe
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 30\ \&novembre\ \&2013
.\" Manual: APT
.\" Source: APT 1.4.9
.\" Language: French
.\"
.TH "APT\-CONFIG" "8" "30\ \&novembre\ \&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 "NOM"
apt-config \- Programme d\*(Aqinterrogation de la configuration d\*(AqAPT
.SH "SYNOPSIS"
.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 "DESCRIPTION"
.PP
\fBapt\-config\fR
est un programme interne utilis\('e par diff\('erents composants d\*(AqAPT\ \&; il offre la possibilit\('e d\*(Aqune configuration coh\('erente et permet aux applications con\(,cues sous forme de script une utilisation simple du fichier de configuration principal
/etc/apt/apt\&.conf\&.
.PP
\(`A moins que l\*(Aqoption
\fB\-h\fR
ou
\fB\-\-help\fR
ne soit donn\('ee, l\*(Aqune des commandes suivantes doit \(^etre pr\('esente\&.
.PP
\fBshell\fR
.RS 4
Le terme shell est utilis\('e pour acc\('eder aux informations de configuration depuis un script shell\&. Deux arguments doivent lui \(^etre donn\('es\ \&; le premier est une variable du shell et le second une valeur de configuration \(`a demander\&. La sortie standard consiste en une liste de commandes d\*(Aqassignation de shell pour chaque valeur pr\('esente\&. Dans un script shell, cette commande devrait \(^etre utilis\('ee comme suit\ \&:
.sp
.if n \{\
.RS 4
.\}
.nf
OPTS="\-f"
RES=`apt\-config shell OPTS MyApp::Options`
eval $RES
.fi
.if n \{\
.RE
.\}
La variable d\*(Aqenvironnement du shell $OPTS sera d\('efinie par la valeur de MyApp::Options ou, par d\('efaut, la valeur \-f\&.
.sp
L\*(Aq\('el\('ement de configuration peut \(^etre suivi par /[fdbi]\&. \(Fo\ \&f\ \&\(Fc renvoie un nom de fichier, \(Fo\ \&d\ \&\(Fc un nom de r\('epertoire, \(Fo\ \&b\ \&\(Fc renvoie \(Fo\ \&true\ \&\(Fc ou \(Fo\ \&false\ \&\(Fc et \(Fo\ \&i\ \&\(Fc renvoie un entier\&. Chacune de ses valeurs est normalis\('ee et v\('erifi\('ee\&.
.RE
.PP
\fBdump\fR
.RS 4
Affiche seulement le contenu de l\*(Aqespace de configuration\&.
.RE
.SH "OPTIONS"
.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
Inclure les options qui ont une valeur vide\&. Ce comportement est celui par d\('efaut\ \&;\ \&il est donc conseill\('e d\*(Aqutiliser \-\-no\-empty pour les supprimer de ce qui est retourn\('e\&.
.RE
.PP
\fB\-\-format \*(Aq\fR\fB\fI%f "%v";%n\fR\fR\fB\*(Aq\fR
.RS 4
D\('efinit ce que retourne chaque option de configuration\&. %t sera remplac\('e par son nom individuel, %f par le nom hi\('erarchique complet et %v par la valeur\&. Les majuscules et les caract\(`eres sp\('eciaux dans la valeur seront encod\('es afin de pouvoir \(^etre utilis\('es sans probl\(`emes, par exemple dans une cha\(^ine d\('efinie par RFC822\&. Par ailleurs, %n sera remplac\('e par un retour \(`a la ligne et %N par une tabulation\&. Le caract\(`ere % peut \(^etre affich\('e avec %% \&.
.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 "VOIR AUSSI"
.PP
\fBapt.conf\fR(5)
.SH "DIAGNOSTICS"
.PP
\fBapt\-config\fR
retourne z\('ero apr\(`es un d\('eroulement normal, et le nombre 100 en cas d\*(Aqerreur\&.
.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 "AUTEURS"
.PP
\fBJason Gunthorpe\fR
.RS 4
.RE
.PP
\fBAPT team\fR
.RS 4
.RE
.SH "NOTES"
.IP " 1." 4
APT bug page
.RS 4
\%http://bugs.debian.org/src:apt
.RE