Имеем роутер на debian sid. При поптыке обновить репозитарии получаем:
root@router:/tmp# sudo apt-get update
Get:1 http://mirror.yandex.ru/debian sid InRelease [242 kB]
Err:1 http://mirror.yandex.ru/debian sid InRelease
Couldn't create temporary file /tmp/apt.conf.AfDzYi for passing config to apt-key
Reading package lists... Done
W: GPG error: http://mirror.yandex.ru/debian sid InRelease: Couldn't create temporary file /tmp/apt.conf.AfDzYi for passing config to apt-key
E: The repository 'http://mirror.yandex.ru/debian sid InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@router:/tmp#
Как теперь починить систему?