i run 18.04 on my raspberry pi for the purpose of using it as my own DNS server using pihole. problem is, pihole installation fails with this output:
Code:
[✗] Root user check
[i] Script called with non-root privileges
The Pi-hole requires elevated privileges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source
[✓] Sudo utility check
[✓] Root user check
<pi-hole logo removed>
[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"
at the end there it says Please try "apt-get update". problem is, sudo apt-get update also spits out some errors. here are the last few lines:
Code:
Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:31 http://c.archive.ubuntu.com/ubuntu bionic-backports/main arm64 Packages
404 Not Found [IP: 91.189.91.39 80]
Ign:32 http://c.archive.ubuntu.com/ubuntu bionic-backports/universe arm64 Packages
Err:41 http://c.archive.ubuntu.com/ubuntu bionic-security/main arm64 Packages
404 Not Found [IP: 91.189.91.39 80]
Ign:43 http://c.archive.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:44 http://c.archive.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:46 http://c.archive.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
404 Not Found [IP: 91.189.91.39 80]
Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Fetched 1,140 kB in 7s (164 kB/s)
Reading package lists... Done
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: 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: Some index files failed to download. They have been ignored, or old ones used instead.
so what can i do about this?
Bookmarks