table of contents
| APT-CONFIG(8) | APT | APT-CONFIG(8) |
NAME¶
apt-config - Programma om de configuratie van APT op te vragen
SAMENVATTING¶
apt-config [--empty] [--format '%f "%v";%n'] [-o=configuratietekenreeks] [-c=configuratiebestand] {shell | dump | {-v | --version} | {-h | --help}}
OMSCHRIJVING¶
apt-config is een intern programma dat door verschillende onderdelen van de APT-suite gebruikt wordt om op een consistente wijze configuratiemogelijkheden te bieden. Het maakt gebruik van het hoofdconfiguratiebestand /etc/apt/apt.conf op een manier die scripts toelaat om er handig gebruik van te maken.
Tenzij de optie -h, of --help opgegeven werd, moet een van de onderstaande commando's gebruikt worden.
shell
OPTS="-f" RES=`apt-config shell OPTS MyApp::options` eval $RES
Achter het configuratie-item mag een /[fdbi] staan. f levert een bestandsnaam op, d een map, b geeft de terugkeerwaarde true of false en i geeft een geheel getal als terugkeerwaarde. Elke terugkeerwaarde wordt intern genormaliseerd en gecontroleerd.
dump
OPTIES¶
Alle commandoregelopties kunnen via het configuratiebestand ingesteld worden. de omschrijving geeft de in te stellen configuratieoptie op. Bij booleaanse opties kunt u instellingen uit het configuratiebestand overschrijven door iets te gebruiken als -f-, --no-f, -f=no en meerdere andere variaties.
--empty
--format '%f "%v";%n'
-h, --help
-v, --version
--audit
-c, --config-file
-o, --option
--cli-version
Version tracks are presented as follows: The version 3.2 has equivalent versions 0.32, 1.22, and 2.12, implementing new features for their specified major versions.
A special case is the X.9 version pattern: A version like 2.9 is followed by 3.0, but 2.10 follows directly on 2.8; given that we use odd version numbers as development series (2.9 is the 3.0 development series).
This feature has been introduced in APT 3.1.10, and replaces the binary-specific configuration. You may use the APT::Version to similar effect on older binaries, for example, use -o APT::Version=2 to make apt(8) behave like the 2.x series.
The default value is the current APT version for apt(8) and 0.(10 * major + minor) for the classic commands. The 0.X series is soft-deprecated and the other commands will roll over to the 2.x series in the future.
--no-color, --color
ZIE OOK¶
DIAGNOSTIEK¶
apt-config geeft de terugkeerwaarde nul bij een normaal verlopen operatie, het decimaal getal 100 in geval van een fout.
BUGS¶
APT bugpagina[1]. Indien u een bug in APT wilt rapporteren, raadpleeg dan /usr/share/doc/debian/bug-reporting.txt of het reportbug(1) commando.
VERTALING¶
De Nederlandse vertaling werd in 2015 gemaakt door Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, in samenwerking met het Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>.
Merk op dat de vertaling van dit document nog onvertaalde delen kan bevatten. Dit is intentioneel om te vermijden dat inhoud verloren zou gaan door een vertaling die achterop loopt op het origineel.
AUTEURS¶
Jason Gunthorpe
APT-team
OPMERKINGEN¶
- 1.
- APT bugpagina
| 30 november 2013 | APT 3.1.11 |