Please follow the below template, it will help us to help you!
Expected Behaviour:
Pihole ought to bei installed
Actual Behaviour:
Pihole is not installed with the error message "Cloning https://github.com/pi-hole/pi-hole.git into /etc/.pihole...Unable to clone repository, please contact support"
"Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-==============-==============-===========================================
ii ca-certificates 20161130+nmu1 all Common CA certificates
"
It seems, that the raspi cannot resovle the server "github.com". I just made a check with ping: The current lite installation does not "know" the DNS servers it gets via DHCP from the router.
The peculiar thing is, that the pihole installation and the DNS resolving works fine on Debian PIXEL installation on a second raspi also geting the DNS servers from the DCHP server from the router.
I have found a solution: After the installation of raspian STRETCH LITE the DNS resolving worked. But during the installation pihole modifies incorrectly the file dhcpcd.conf. It creates correctly a static ip address for eth0 but then state the nameserver as 127.0.0.0 instead of the local DNS server 192.168.1.1.
Now i have manually added the DNS server 192.168.1.1 (my router) and now the installtion runs without any problem.