Configuration Population The init method populates the configuration object with defaults compiled into libapt-pkg, from the configuration file /etc/apt/apt.conf (or $APT_CONFIG) and directory /etc/apt/apt.conf.d. Additional configuration files may be loaded with the read_file and read_dir methods. The "Dir::Cache::archives" example from the previous page could be defined with: Dir "/" { Cache "var/cache/apt/" { archives "archives/"; }; }; The parse_cmdline method sets configuration values based on command line arguments. An object defining the system is returned by the system method.