How many minutes does "TTL" refer to, and can I somehow control myself what TTL I'm willing to accept? Something along the lines of

   BINHOST_TTL=n emerge --getbinpkg ...  ?

portage looks up the TTL in the package index file (Packages)¹ and honors it unconditionally², so as a downstream user of a binhost, it's not possible to override this setting.

The default is 3600 seconds as defined by PORTAGE_BINHOST_TTL in make.conf(5). Note that this setting defines which value is used when creating the package index and not which value portage accepts when updating.

¹ https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64/Packages
² 
https://codeberg.org/gentoo/portage/src/commit/c492f93bccc3399c5fde86e969e168cff469a5ac/lib/portage/dbapi/bintree.py#L1561

--
wolf

Reply via email to