Privie
1
I tried using the quick installer curl -sSL https://install.pi-hole.net | bash
but it ran into an error most of the way through installation
I tried to re-run the quick installer and also tried to update and this happened:
pi@raspberrypi:~ $ curl -sSL https://install.pi-hole.net | bash
curl: (6) Could not resolve host: raw.githubusercontent.com
pi@raspberrypi:~ $ sudo apt-get update
Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Err:2 http://archive.raspberrypi.org/debian buster InRelease
Temporary failure resolving 'archive.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I tried following this post:
but that didn't seem to work
jfb
2
You reset the nameserver in /etc/resolv.conf
on the Pi from 127.0.0.1 to another DNS, and were still unable to run the apt commands?
Privie
3
Tried that, ended up with this message:
pi@raspberrypi:~ $ /etc/resolv.conf
-bash: /etc/resolv.conf: Permission denied
jfb
4
I'm not quite sure what you were doing. If you just type in the file name as you did, that is the expected output.
To edit the file, use sudo nano /etc/resolv.conf
To list the contents of the file, use cat /etc/resolv.conf
Privie
6
Editing the nameserver away from the default and reinstalling did the trick. Thanks!
mibere
Split this topic
7
system
Closed
8
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.