Issue while upgrade

im trying to update and upgrade my board with the command:

sudo apt update && sudo apt upgrade -y

but im getting a lot of errors like:

Err:5 Index of /repo/ linux/main arm64 libretech-gpio all 2024.04.20.01-12-08
Could not resolve ‘’

Ign:9 Index of /repo/ linux/main arm64 linux-headers-lc-lts-arm64 arm64 6.1.87-15358-g9f51a48ea718-1
Err:10 Index of linux/debian/ bookworm/stable arm64 docker-ce-rootless-extras arm64 5:26.0.2-1~debian.12~bookworm
Could not resolve ‘
Ign:11 Index of /repo/ linux/main arm64 linux-image-6.1.87-15358-g9f51a48ea718 arm64 6.1.87-15358-g9f51a48ea718-1

some details about my board

PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION=“12 (bookworm)”
SUPPORT_URL=“Debian -- User Support

Linux nas 6.1.85-15205-gc45bbd77f0fe #1 SMP PREEMPT_DYNAMIC Thu Apr 11 16:21:40 EDT 2024 aarch64 GNU/Linux

any idea how to fix this?

This is a network config issue. It cannot convert DNS to IP either because your DHCP server or local resolv.conf is misconfigured.