Репозитории в /etc/apt/sources.list

Можно ли удалить из /etc/apt/sources.list линки на яндекс (он заблокирован)
deb http://mirror.yandex.ru/debian/ stretch main
deb http://mirror.yandex.ru/debian/ stretch-updates main
Достаточно ли оставить одну строку - deb http://security.debian.org stretch/updates main?

Попробуйте выполнить команды, должно все заработать и обновиться:
apt-get update
apt-get install wb-configs

Оно оновляется, но:
W: Failed to fetch http://mirror.yandex.ru/debian/dists/stretch/InRelease Could not resolve ‘mirror.yandex.ru
W: Failed to fetch http://mirror.yandex.ru/debian/dists/stretch-updates/InRelease Could not resolve ‘mirror.yandex.ru
W: Some index files failed to download. They have been ignored, or old ones used instead.

Ключевая команда

Она должна подключить верные репозитории, после этого update пройдет без ошибок.

root@wirenboard-AHZ2TA3P:~# apt-get update
Err:1 http://mirror.yandex.ru/debian stretch InRelease
Could not resolve ‘mirror.yandex.ru
Err:2 http://mirror.yandex.ru/debian stretch-updates InRelease
Could not resolve ‘mirror.yandex.ru
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://releases.contactless.ru/stable/stretch stretch InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Reading package lists… Done
W: Failed to fetch http://mirror.yandex.ru/debian/dists/stretch/InRelease Could not resolve ‘mirror.yandex.ru
W: Failed to fetch http://mirror.yandex.ru/debian/dists/stretch-updates/InRelease Could not resolve ‘mirror.yandex.ru
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@wirenboard-AHZ2TA3P:~# apt-get install wb-configs
Reading package lists… Done
Building dependency tree
Reading state information… Done
wb-configs is already the newest version (1.80).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

А теперь если запустить

ошибки будут?

Будут. оно же раньше обновилось.

Добрый день!

Простите, только сейчас поняли, в чём дело. До этого перепутали с другой ошибкой со схожими симптомами, которую недавно исправили.
Вам нужно заменить все строки с Яндексом руками на аналогичные с debian.org