'\" 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: Italian .\" .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 "NOME" apt-config \- programma di interrogazione della configurazione di APT .SH "SINOSSI" .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 "DESCRIZIONE" .PP \fBapt\-config\fR \(`e un programma interno usato da varie parti della suite APT per fornire una configurabilit\(`a coerente\&. Accede al file principale di configurazione /etc/apt/apt\&.conf in un modo facile da usare da parte di applicazioni che usano script\&. .PP A meno che non venga fornita l\*(Aqopzione \fB\-h\fR o \fB\-\-help\fR, deve essere presente uno dei comandi seguenti\&. .PP \fBshell\fR .RS 4 shell viene usato per accedere alle informazioni di configurazione da parte di uno script di shell\&. Riceve coppie di argomenti, il primo dei quali \(`e una variabile di shell e il secondo \(`e il valore di configurazione da interrogare\&. Come risultato elenca il comando shell di assegnazione per ciascun valore presente\&. In uno script di shell dovrebbe essere usato in modo simile a: .sp .if n \{\ .RS 4 .\} .nf OPZIONI="\-f" RES=`apt\-config shell OPZIONI MiaApp::opzioni` eval $RES .fi .if n \{\ .RE .\} In questo modo la variabile d\*(Aqambiente $OPZIONI della shell verr\(`a impostata al valore di MiaApp::opzioni con un valore predefinito di \fB\-f\fR\&. .sp La voce di configurazione pu\(`o essere seguita da /[fdbi]\&. f restituisce nomi di file, d restituisce directory, b restituisce vero o falso e i restituisce un intero\&. Ogni valore restituito \(`e normalizzato e verificato internamente\&. .RE .PP \fBdump\fR .RS 4 Mostra soltanto i contenuti dello spazio di configurazione\&. .RE .SH "OPZIONI" .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 Include le opzioni che hanno un valore vuoto\&. Questo \(`e il comportamento predefinito, perci\(`o usare \-\-no\-empty per rimuoverle dall\*(Aqoutput\&. .RE .PP \fB\-\-format \*(Aq\fR\fB\fI%f "%v";%n\fR\fR\fB\*(Aq\fR .RS 4 Definisce l\*(Aqoutput per ciascuna opzione di configurazione\&. %t verr\(`a sostituito dal suo nome, %f dal suo nome gerarchico completo e %v dal suo valore\&. Usa le lettere maiuscole e i caratteri speciali nel valore verranno codificati per assicurare che possano essere usati senza problemi in una stringa tra virgolette, come definito nella RFC822\&. In aggiunta %n verr\(`a sostituito da un ritorno a capo e %N da una tabulazione\&. Un carattere % pu\(`o essere prodotto usando %%\&. .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 "VEDERE ANCHE" .PP \fBapt.conf\fR(5) .SH "DIAGNOSTICA" .PP \fBapt\-config\fR restituisce zero in caso di funzionamento normale e il valore decimale 100 in caso di errore\&. .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 "AUTORI" .PP \fBJason Gunthorpe\fR .RS 4 .RE .PP \fBAPT team\fR .RS 4 .RE .SH "NOTE" .IP " 1." 4 APT bug page .RS 4 \%http://bugs.debian.org/src:apt .RE