@Sean_Koors What is the full output of sudo apt-get update
? You shared the output of sudo apt-get upgrade
after seeing Error: Unable to update package cache. Please try “apt-get update”
, but that was not the command listed.
sudo apt-get update
Hit:1 http://mirror.math.princeton.edu/pub/ubuntu xenial InRelease
Hit:2 http://mirror.math.princeton.edu/pub/ubuntu xenial-updates InRelease
Hit:3 http://mirror.math.princeton.edu/pub/ubuntu xenial-backports InRelease
Hit:4 http://mirror.math.princeton.edu/pub/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Ign:6 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/heyarje/makemkv-beta/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease
Ign:10 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial Release
Ign:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Ign:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Ign:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Ign:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Ign:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Err:11 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:12 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial/main DEP-11 64x64 Icons
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I tried this (without moving the file to backup, but instead typing in 8.8.8.8) and it failed.
You have errors in your sudo apt-get update
output. Fix them and try again:
W: The repository ‘Index of /colingille/freshlight/ubuntu xenial Release’ does not have a Release file.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
- echo -e '\r [i] Checking for php7.0-sqlite (will be installed)'
[i] Checking for php7.0-sqlite (will be installed) - installArray+=("${i}")
- [[ 1 -gt 0 ]]
- test_dpkg_lock
- i=0
- fuser /var/lib/dpkg/lock
- return 0
- debconf-apt-progress -- apt-get --yes --no-install-recommends install php7.0-sqlite
Is where it gets down to after running "sudo bash -x /etc/.pihole/automated\ install/basic-install.sh" that I found earlier in this thread. I have a similar error from another post and found this one.
I believe that most have troubles with their distro's software repositories.
If you run sudo apt-get update
, the repos causing troubles like 404 errors are indicated.
To have Pi-hole successfully installed you need to fix those errors first.
These repos usually are defined in below APT config files:
pi@noads:~ $ grep -v '#\|^$' -R /etc/apt/sources.list*
/etc/apt/sources.list:deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ jessie main ui
removing this repository and running apt-get update/upgrade and pihole -r worked for me (freshlight).
Thanks!
apt-get update / upgrade completed flawlessly. Still can't get FTL. pihole -r didn't fix it either.
Tried uninstalling pihole and reinstalling... still tries to get FTL and fails to retrieve it.
Will follow this thread.
try the following steps
- run
pihole -d
for a debug token sudo nano /etc/resolv.conf
- change
127.0.0.1
to9.9.9.9
- Save the file
- run
pihole -r
if this process doesnt work please run another debug using pihole -d
Thanks technicalpyro! Worked like a charm!
Happy to help
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.