Failed to update

i tried to update pi-hole. after that, 2 components were up to date but the 3rd was still at the older version. trying to update again led to error messages. i decided to uninstall and re-install, but that didn't work either. any attempt to use that curl line leads to the same error: Error: unable to update package cache. please try apt-get update.
tried that too, but it didn't do me any good.
whats going on? is that cache out of date? is that server down?

Please post the token generated by

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

can't do that. as i said, i uninstalled pi-hole, and the re-install failed with the error i mentioned.

What is the output of the following from the Pi terminal :

sudo apt update

ok, here's the last couple of lines of output from sudo apt-get update:

Err:51 http://c.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:56 http://c.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:57 http://c.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:58 http://c.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Err:59 http://c.archive.ubuntu.com/ubuntu bionic-backports/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:60 http://c.archive.ubuntu.com/ubuntu bionic-backports/universe arm64 Packages
Err:61 http://c.archive.ubuntu.com/ubuntu bionic-security/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:65 http://c.archive.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:66 http://c.archive.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:67 http://c.archive.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Fetched 494 kB in 5s (98.0 kB/s) 
Reading package lists... Done
E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

i use ubuntu 18.04 because pihole doesn't support any newer version.

i just tried again to install pihole using that curl line. here are the last few lines of the output

                .',,,,,,'.
                  ..'''.

  [i] Existing PHP installation detected : PHP version 7.2.24-0ubuntu0.18.04.4
  [✓] Disk space check
  [✗] Update local cache of available packages
  Error: Unable to update package cache. Please try "apt-get update"

You have an OS-level problem. When the OS can't complete the apt update process, then that stops the Pi-hole installer.

so what can i do about it? that link is no good :frowning:. gives me a 404.

I would visit an Ubuntu forum.