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) |
NAZWA¶
apt-config - Program odpytywania konfiguracji APTSTRESZCZENIE¶
apt-config [--empty] [--format ' %f "%v";%n'] [-o=config_string] [-c=config_file] {shell | dump | {-v | --version} | {-h | --help}}
OPIS¶
apt-config jest wewnętrznym programem używanym przez różne części pakietu APT w celu zapewnienia spójności konfiguracji. Uzyskuje dostęp do głównego pliku konfiguracyjnego /etc/apt/apt.conf w sposób łatwy do użycia w programach skryptowych.Jedno z poniższych poleceń musi być użyte, chyba że została podana opcja -h albo --help.
shell
OPTS="-f" RES=`apt-config shell OPTS MojaAplikacja::opcje` eval $RES
Do zmienna konfiguracji można dołączyć /[fbdi]. f zwraca nazwy plików, d - katalogi, b - true lub false, a i - liczbę. Każda ze zwracanych wartości jest ujednolicana i weryfikowana.
dump
OPCJE¶
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
ZOBACZ TAKŻE¶
apt.conf(5)DIAGNOSTYKA¶
apt-config zwraca zero, gdy zakończyło się pomyślnie, 100 - w przypadku błędu.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.
AUTORZY¶
Jason GunthorpeAPT team
PRZYPISY¶
- 1.
- APT bug page
30 listopad 2013 | APT 1.4.9 |