Can't update dietpi after installing adguard home

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

DietPi version |
G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=5 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng' G_LIVE_PATCH_STATUS[0]='not applicable'

  • Distro version | bullseye
  • Kernel version | Linux DietPi 5.10.127-dietpi-x-lts #trunk SMP PREEMPT Wed Jun 29 09:26:01 UTC 2022 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | STBHG680P
  • Power supply used | (EG: 12V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Extra details

Extra details

root@DietPi:~# apt update
Err:1 https://dietpi.com/apt bullseye InRelease
  Temporary failure resolving 'dietpi.com'
Err:2 https://deb.debian.org/debian bullseye InRelease
  Temporary failure resolving 'deb.debian.org'
Err:3 https://deb.nodesource.com/node_18.x nodistro InRelease
  Temporary failure resolving 'deb.nodesource.com'
Err:4 https://archive.debian.org/debian bullseye-backports InRelease
  Temporary failure resolving 'archive.debian.org'
Err:5 https://apt.armbian.com bookworm InRelease
  Temporary failure resolving 'apt.armbian.com'
Err:6 https://download.docker.com/linux/debian bullseye InRelease
  Temporary failure resolving 'download.docker.com'
Err:7 http://download.zerotier.com/debian/bullseye bullseye InRelease
  Temporary failure resolving 'download.zerotier.com'
Err:8 https://deb.debian.org/debian bullseye-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Err:9 https://deb.debian.org/debian-security bullseye-security InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://deb.debian.org/debian/dists/bullseye/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch https://deb.debian.org/debian/dists/bullseye-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch https://deb.debian.org/debian-security/dists/bullseye-security/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch https://archive.debian.org/debian/dists/bullseye-backports/InRelease  Temporary failure resolving 'archive.debian.org'
W: Failed to fetch https://apt.armbian.com/dists/bookworm/InRelease  Temporary failure resolving 'apt.armbian.com'
W: Failed to fetch https://dietpi.com/apt/dists/bullseye/InRelease  Temporary failure resolving 'dietpi.com'
W: Failed to fetch https://download.docker.com/linux/debian/dists/bullseye/InRelease  Temporary failure resolving 'download.docker.com'
W: Failed to fetch https://deb.nodesource.com/node_18.x/dists/nodistro/InRelease  Temporary failure resolving 'deb.nodesource.com'
W: Failed to fetch http://download.zerotier.com/debian/bullseye/dists/bullseye/InRelease  Temporary failure resolving 'download.zerotier.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@DietPi:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=1 time=31.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=1 time=31.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=1 time=30.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=1 time=31.2 ms
^X64 bytes from 8.8.8.8: icmp_seq=5 ttl=1 time=31.0 ms -->

You would need to provide at least an error messages. Otherwise nobody can help you.

I’ve fixed it sir

I guess you set AGH as upstream DNS server within DietPi own network configuration. Best practice is to use a global DNS provider instead, to avoid issues you see now.

I changed the dietpi DNS to 8.8.8.8 previously using the router DNS, it finally worked and I put the AGH DNS on my ruijie gateway router DNS. Is this setting correct, sir?

Personally I would use the DHCP server settings to distribute AGH as local DNS server for clients. Check your router settings.

oke sir thank you. i try it