Size: 909
Comment:
|
Size: 1198
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 22: | Line 22: |
* {{{APT::Default-Release "testing";}}}: sets the default Debian release used by Apt ('''TODO''' use case?) * {{{ Acquire::http::Proxy "http://proxy:8080";}}}: sets the proxy for HTTP downloads * {{{ Acquire::https::Proxy "https://proxy:8443";}}}: sets the proxy for HTTPS downloads |
WIP: refactoring of https://wiki.debian.org/AptConf and other apt configuration pages
Apt is configured by several resources, including:
?AptKeys
- preferences
- apt.conf.d
apt.conf.d
Apt accepts configuratino files (without extension) in /etc/apt/apt.conf.d/. These are processed by Apt in numeric/alphabetical order. /etc/apt/apt.conf is also valid but deprecated.
These files can contain various directives:
Dpkg::Pre-Install-Pkgs {"mycommand";};: executes mycommand before package installation/unpacking by Dpkg.
Dpkg::Pre-Invoke {"mycommand";};: executes mycommand before apt calls dpkg
Dpkg::Post-Invoke {"mycommand";};: executes mycommand after apt calls dpkg
Pre-Install-Pkgs: ???
APT::Default-Release "testing";: sets the default Debian release used by Apt (TODO use case?)
Acquire::http::Proxy "http://proxy:8080";: sets the proxy for HTTP downloads
Acquire::https::Proxy "https://proxy:8443";: sets the proxy for HTTPS downloads