Failed to fetch error

I tried to install Pi-hole on my raspberry pi zero w but I got this error:

E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/b/bind9/bind9-dnsutils_9.16.37-1~deb11u1_armhf.deb 404 Not Found [IP: 158.108.4.211 80]

E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/b/bind9/dnsutils_9.16.37-1~deb11u1_all.deb 404 Not Found [IP: 158.108.4.211 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How do I fix it?

That is an OS level issue:
Your OS has informed you that it cannot fetch
bind9-dnsutils_9.16.37-1~deb11u1_armhf.deb

If you check that mirror, that package is indeed currently missing from Index of /raspbian/raspbian/pool/main/b/bind9/

You'd have to check with your OS how to switch to a different mirror, or open an issue with the respective maintainer.

1 Like

Change your Source List

Type >>> sudo nano /etc/apt/sources.list

and change to Index of /sites/archive.raspbian.org/archive/raspbian
press ctrl +x
press Y
enter
install Pi Hole Again

Hope This Help :slight_smile:

it's Work for me

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.