In <[🔎] 201102141301.00481.miklcct@gmail.com>, Michael Tsang wrote: >The meaning of these expansions in apt.conf seems to be undocumented in >apt.conf(5). What do these mean? Also, is there a variable that expands to >"stable", "testing", "unstable", etc? That's because they aren't handled by APT internally. The unattended-upgrade python script does these substitutions after getting the literal value from APT. Both distro_codename and distro_id are expanded based on values obtained from the lsb_release python module. On Debian, distro_id is always "Debian". distro_codename is derived from either /etc/debian_version or the output of apt-cache policy. For more details, go directly to the source (code). IMO, this is a bit wonky, but it works for now. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
Attachment:
signature.asc
Description: This is a digitally signed message part.