I've tried this multiple times, same error. Tried rebooting and same error. Please help.
curl -sSL https://install.pi-hole.net | bash
:::
::: You are root.
::: Verifying free disk space...
:::
::: Updating local cache of available packages... done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Pi-hole installation...
::: Checking for apt-utils... installed!
::: Checking for debconf... installed!
::: Checking for dhcpcd5... installed!
::: Checking for git... installed!
::: Checking for whiptail... installed!
:::
::: Checking for existing repository...
::: Cloning GitHub - pi-hole/pi-hole: A black hole for Internet advertisements into /etc/.pihole...!!! Unable to clone GitHub - pi-hole/pi-hole: A black hole for Internet advertisements into /etc/.pihole, unable to continue.
What OS, what hardware? We've had reports of some distributions not working with sudo git
and returning errors. Is this OctoPrint or DietPi?
I have no idea why the system informs me that I can't reply for 18 hours so created another account so I could reply now. Hardware is Intel Galileo Gen 2. Updated to Debian 7.6 (Wheezy)
And what happens when you enter sudo git clone https://github.com/pi-hole/pi-hole.git /etc/.pihole
?
root@galileo:~# git clone GitHub - pi-hole/pi-hole: A black hole for Internet advertisements /etc/.pihole
Cloning into '/etc/.pihole'...
remote: Counting objects: 8352, done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 8352 (delta 18), reused 0 (delta 0), pack-reused 8311
Receiving objects: 100% (8352/8352), 1.93 MiB | 299 KiB/s, done.
Resolving deltas: 100% (5093/5093), done.
error: fetch-pack died of signal 11
Which version of git
is on that image? git --version
root@galileo:~# git --version
git version 1.7.10.4
Okay one more trace command
GIT_TRACE=1 sudo git clone https://github.com/pi-hole/pi-hole.git /etc/.pihole
root@galileo:~# GIT_TRACE=1 git clone GitHub - pi-hole/pi-hole: A black hole for Internet advertisements /etc/.pihole
trace: built-in: git 'clone' 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements' '/etc/.pihole'
Cloning into '/etc/.pihole'...
trace: run_command: 'git-remote-https' 'origin' 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements'
trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements'
trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements'
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements'
remote: Counting objects: 8352, done.
remote: Compressing objects: 100% (41/41), done.
trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 1969 on galileo' '--pack_header=2,8352'
trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 1969 on galileo' '--pack_header=2,8352'
trace: built-in: git 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 1969 on galileo' '--pack_header=2,8352'
remote: Total 8352 (delta 18), reused 0 (delta 0), pack-reused 8311
Receiving objects: 100% (8352/8352), 1.93 MiB | 300 KiB/s, done.
Resolving deltas: 100% (5093/5093), done.
error: fetch-pack died of signal 11
It doesn't look like that image and associated tools shipped with that image are going to be capable of installing the Pi-hole on the G2 with Wheezy. If git
can not complete it's clone, then there's really no way to get the software onto that device.
There are rate limits in place for new users, See the following thread for more information