table of contents
- bookworm 2.6.1
- testing 2.9.17
- unstable 2.9.17
- experimental 2.9.17+exp1
APT-CONFIG(8) | APT | APT-CONFIG(8) |
NAME¶
apt-config - APT Configuration Query program
SYNOPSIS¶
apt-config [--empty] [--format '%f "%v";%n'] [-o=config_string] [-c=config_file] {shell | dump | {-v | --version} | {-h | --help}}
DESCRIPTION¶
apt-config is an internal program used by various portions of the APT suite to provide consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a manner that is easy to use for scripted applications.
Unless the -h, or --help option is given, one of the commands below must be present.
shell
OPTS="-f" RES=`apt-config shell OPTS MyApp::options` eval $RES
The configuration item may be postfixed with a /[fdbi]. f returns file names, d returns directories, b returns true or false and i returns an integer. Each of the returns is normalized and verified internally.
dump
OPTIONS¶
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
SEE ALSO¶
DIAGNOSTICS¶
apt-config returns zero on normal operation, decimal 100 on error.
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.
AUTHORS¶
Jason Gunthorpe
APT team
NOTES¶
- 1.
- APT bug page
30 November 2013 | APT 2.6.1 |