APT.CONF(5) APT APT.CONF(5) (NAME) apt.conf - APT (DESCRIPTION) /etc/apt/apt.conf APT . . APT : 1. APT_CONFIG ( ) 2. Dir::Etc::Parts - "conf" - (-) (_) (.) . APT Dir::Ignore-Files-Silently - . 3. Dir::Etc::main 4. . 5. . (SYNTAX) . (::) APT::Get::Assume-Yes APT Get . . ISC bind dhcp . // ( ) /* */ C/C++ . # . APT::Get::Assume-Yes "true";. . . . - "/-:._+" . (scope) : APT { Get { Assume-Yes "true"; Fix-Broken "true"; }; }; . . . DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; /usr/share/doc/apt/examples/configure-index . dpkg::pre-install-pkgs . DPkg::Pre-Install-Pkgs . . . : #include ( ) #clear. #include . #clear . . ( .) #clear . ( ::) . - . APT -o . ( APT::Get::Assume-Yes) . :: . ( .) :: ( :: ) . : "::" . "::" . APT APT . APT (THE APT GROUP) APT . Architecture . apt . Architectures . amd64 ( x86-64 ) i386 ( x86) . . (APT::Architecture) dpkg --add-architecture . Color . red green yellow blue magenta cyan white. action install . : APT::Color::Action::Upgrade APT::Color::Action::Install APT::Color::Action::Install-Dependencies APT::Color::Action::Downgrade APT::Color::Action::Remove apt(8) . APT::Color . (escape sequences) . APT::Color::Bold "\x1B[1m"; APT::Color::Action::Install "cyan"; APT::Color::Action::Upgrade "bold action::install"; APT::Color yes no NO_COLOR APT_NO_COLOR --color --no-color . Compressor apt (cost) . apt .reversed rev : APT::Compressor::rev { Name "rev"; Extension ".reversed"; Binary "rev"; CompressArg {}; UncompressArg {}; Cost "10"; }; Build-Profiles () "profile.". . DEB_BUILD_PROFILES dpkg-buildpackage(1) . Default-Release . (codename) . : 'stable' 'testing' 'unstable' 'trixie' 'forky' '4.0' '5.0*'. apt_preferences(5). Snapshot (Snapshot) Snapshot: yes . sources.list(5) --snapshot Acquire::Snapshots::URI . Ignore-Hold (problem resolver) . Clean-Installed (on) . autoclean . - APT . Immediate-Configure (on) APT / dpkg(1) . APT (extra) : A B C . dpkg(1) ( B ) A - A A . (circular dependencies) (Pre-Dependency) . APT . << >> . dist-upgrade APT install APT . Force-LoopBreak . APT Conflicts/Conflicts Conflicts/Pre-Depends . . tar gzip libc dpkg dash . Cache-Start, Cache-Grow, Cache-Limit APT 0.7.26 (memory mapped cache) . Cache-Start APT . 20971520 (~20 ) . APT . Cache-Grow 1048576 (~1 ) Cache-Start . Cache-Limit . Cache-Limit 0 . Cache-Grow 0 . Build-Essential . Get Get apt-get(8) . Cache Cache apt-cache(8) . CDROM CDROM apt-cdrom(8) . NeverAutoRemove () . Protect-Kernels apt autoremove true . . VersionedKernelPackages () . APT::NeverAutoRemove apt . NeverAutoRemove::KernelCount 2 . Apt . . 2 . APT::Protect-Kernels false . ACQUIRE (THE ACQUIRE GROUP) Acquire << >> (acquire methods) ( sources.list(5)). Check-Date true . APT Check-Valid-Until Date Release . Max-FutureTime ( ) ( Date ) Release . 10 . . sources.list(5) Date-Max-Future . Check-Valid-Until true Release (replay attacks) - . Release Valid-Until Max-ValidTime . Check-Valid-Until sources.list(5) . Max-ValidTime ( ) ( Date ) Release . Release Valid-Until . 0 << >> . . sources.list(5) Valid-Until-Max . Min-ValidTime ( ) ( Date ) Release . () Valid-Until . . sources.list(5) Valid-Until-Min . AllowTLS TLS http. false TLS apt ( https curl) . TLS . PDiffs PDiffs ( Packages ) . true . sources.list(5) PDiffs . PDiffs : FileLimit PDiff . SizeLimit . . By-Hash URI (hashsum) . true . "force" . sources.list(5) By-Hash . Queue-Mode Queue-Mode host access APT . host access URI . Mirror URI mirror . Mirror::Fanout : sqrt () none . Mirror::Fanout-Limit 0 . priority apt-transport-mirror(1) . Retries . APT . Source-Symlinks . true . true . http https APT HTTP HTTPS apt-transport-http(1) apt-transport-https(1) . cdrom URI cdrom (mount point) : cdrom::Mount CD-ROM ( DVD ) /etc/fstab . fstab (mount) (unmount) . /cdrom/::Mount "foo"; cdrom . . UMount . gpgv URI GPGV gpgv::Options gpgv . CompressionTypes (acquire) . Packages . xz gzip ( : APT::Compressor). : Acquire::CompressionTypes::FileExtension "Methodname"; Order . - : Acquire::CompressionTypes::Order:: "gz"; gzip . xz gzip bzip2 : Acquire::CompressionTypes::Order { "xz"; "gz"; }; bz2 . Dir::Bin::Methodname . apt bzip2 () : Dir::Bin::bzip2 "/bin/bzip2"; . - - . . uncompressed . GzipIndexes gzip ( Packages Sources Translations) gzip . (CPU) . false . Languages Languages Translation APT . APT . . Translation - . "environment" "en" . "environment" : LC_MESSAGES . . LC_MESSAGES "C" Translation-en ( ) . APT Translation Acquire::Languages=none . "none" Translation . APT . "en, de" (locale) "de, en" . "fr" APT ( "fr, de, en" ). Acquire::Languages { "environment"; "de"; "en"; "none"; "fr"; }; : APT ( ) Translation /var/lib/apt/lists/ ( "none" ) . ForceIPv4 IPv4 . ForceIPv6 IPv6 . MaxReleaseFileSize Release/Release.gpg/InRelease. 10MB . EnableSrvRecords apt DNS SRV RFC 2782 . "true" . AllowInsecureRepositories . "false" . apt- secure(8) . AllowWeakRepositories . "false" . apt- secure(8) . AllowDowngradeToInsecureRepositories gpg . apt . . . false . apt- secure(8) . Changelogs::URI (changelogs) URI . Release 'Changelogs' . Label/Origin Release Acquire::Changelogs::URI::Label::LABEL Acquire::Changelogs::URI::Origin::ORIGIN . Release Acquire::Changelogs::URI::Override::Label::LABEL Acquire::Changelogs::URI::Override::Origin::ORIGIN . URI @CHANGEPATH@ . : . ( main) . 'lib' . . . () . ( ) ('/') ('_') . 'no' . . Snapshots::URI URI . Release 'Snapshots' . Label/Origin Release Acquire::Snapshots::URI::Label::LABEL Acquire::Snapshots::URI::Origin::ORIGIN . Release Acquire::Snapshots::URI::Override::Label::LABEL Acquire::Snapshots::URI::Override::Origin::ORIGIN . URI () @SNAPSHOTID@ . 'no' . . (BINARY SPECIFIC CONFIGURATION) apt APT::Get::Show-Versions apt-get apt . Binary::specific-binary . APT::Get::Show-Versions apt Binary::apt::APT::Get::Show-Versions . << (DESCRIPTION)>> . (DIRECTORIES) Dir::State . lists status dpkg(1) . preferences preferences APT . Dir::State / ./ . Dir::Cache () srcpkgcache pkgcache Dir::Cache::archives. pkgcache srcpkgcache "" . . pkgcache srcpkgcache . Dir::State Dir::Cache . Dir::Etc sourcelist sourcelist main ( APT_CONFIG ). Dir::Parts . . Dir::Bin . Dir::Bin::Methods (method handlers) gzip bzip2 lzma dpkg apt-get dpkg-source dpkg-buildpackage apt-cache . RootDir . RootDir . RootDir /tmp/staging Dir::State::status /var/lib/dpkg/status /tmp/staging/var/lib/dpkg/status . Dir . Ignore-Files-Silently APT ( ) . .disabled, ~, .bak .dpkg-[a-z]+ . (regular expression) . APT DSELECT (APT IN DSELECT) APT dselect(1) . DSelect . Clean () always, prompt, auto, pre-auto never . always prompt prompt () . auto ( ). pre-auto . options apt-get(8) . Updateoptions apt-get(8) . PromptAfterUpdate (true) [U]pdate dselect(1) . . DPKG(1) APT (HOW APT CALLS DPKG(1)) dpkg(1) APT . DPkg . options dpkg(1) . (list notation) dpkg(1) . Path PATH dpkg . . Pre-Invoke, Post-Invoke / dpkg(1) . options . /bin/sh APT . Pre-Install-Pkgs dpkg(1) . options . /bin/sh APT . APT .deb . : VERSION 2 APT . key=value . ( key value) (%-encoded) . key::=value . . : ( foreign ) (< > = ) . ( - < 1.23.4) ) "-" . "**CONFIGURE**" "**REMOVE**" .deb . "-" MultiArch "same" "foreign" "allowed" "none" . "none" "no" . cmd DPkg::Tools::options::cmd::Version . APT . DPkg::Tools::options::cmd::InfoFD 0 0.9.11 . APT_HOOK_INFO_FD . Run-Directory APT dpkg(1), (chdir) / . Build-options dpkg-buildpackage(1) . DPkg::ConfigurePending APT dpkg --configure --pending dpkg(1) (triggers) . APT - - . . SYSTEMD (SYSTEMD INHIBITORS) APT systemd dpkg(1) . DPkg::Inhibit-Shutdown (boolean) apt (shutdown) . DPkg::Inhibit-Sleep (boolean) apt (sleep) . https://systemd.io/INHIBITOR_LOCKS . (PERIODIC AND ARCHIVES OPTIONS) APT::Periodic APT::Archives apt /usr/lib/apt/apt.systemd.daily . . (DEBUG OPTIONS) Debug:: apt apt . : o Debug::pkgProblemResolver dist-upgrade upgrade install remove purge . o Debug::NoLocking . ( apt-get -s install) . o Debug::pkgDPkgPM apt dpkg(1) . o Debug::IdentCdrom statfs CD-ROM . apt . Debug::Acquire::cdrom cdrom:// . Debug::Acquire::http HTTP . Debug::Acquire::https HTTPS . Debug::Acquire::gpgv gpg . Debug::aptcdrom CD-ROM . Debug::Hashes apt . Debug::IdentCDROM CD-ROM statfs CD-ROM . Debug::NoLocking . "apt-get update" . Debug::pkgAcquire () . Debug::pkgAcquire::Auth . Debug::pkgAcquire::Diffs (diffs) . Debug::pkgAcquire::RRed (patching) apt . Debug::pkgAcquire::Worker () . Debug::pkgAutoRemove . Debug::pkgDepCache::AutoInstall . apt-get install apt Debug::pkgProblemResolver . Debug::pkgDepCache::Marker ProblemResolver // (keep/install/remove) . . MarkKeep MarkDelete MarkInstall package-name d.e.f | x.y.z> (section) a.b.c d.e.f x.y.z ( / pin score). . section . Debug::pkgDPkgPM dpkg(1) . Debug::pkgDPkgProgressReporting dpkg(1) (status file descriptor) . Debug::pkgOrderList (trace) apt dpkg(1) . Debug::pkgPackageManager dpkg(1) . Debug::pkgPolicy . Debug::pkgProblemResolver ( ). Debug::pkgProblemResolver::ShowScores pkgProblemResolver . Debug::pkgDepCache::Marker . Debug::sourceList (vendors) /etc/apt/vendors.list . Debug::RunScripts (hooks) apt . DPkg::{Pre,Post}-Invoke APT::Update::{Pre,Post}-Invoke . (EXAMPLES) /usr/share/doc/apt/examples/configure-index . (FILES) /etc/apt/apt.conf APT. : Dir::Etc::Main. /etc/apt/apt.conf.d/ APT. : Dir::Etc::Parts. (SEE ALSO) apt-cache(8), apt-config(8), apt_preferences(5). (BUGS) APT[1]. APT /usr/share/doc/debian/bug-reporting.txt reportbug(1) . (AUTHORS) Jason Gunthorpe APT Daniel Burrows Debug::*. (NOTES) 1. APT https://bugs.debian.org/src:apt APT 3.3.3 20 July 2026 APT.CONF(5)