How did I fix «Couldn't create temporary file /tmp/apt.conf.<…> for passing config to apt-key» in Debian 10 (Buster)?

2023-08-08--06-11-42

chmod 1777 /tmp`

superuser.com/a/1541135