Pine as a Pi-hole ... Does that make it a PineHole?
#10
(01-20-2017, 08:54 PM)DanSchaper Wrote:
(01-20-2017, 10:26 AM)auger Wrote:
Code:
::: You are root.
::: Verifying free disk space...
:::
::: Updating local cache of available packages...root@pine64:/home/s#

Try running:
Code:
curl -L install.pi-hole.net | sudo bash -x



That will at least show you the command that the installer script failed out at. It's run as `set -e` so that it will stop on a failure. The place it looks to be failing is at the `apt-get update` process part of the script.

Thanks. It does indeed look like it's failing at the update. 

Code:
sudo curl -L install.pi-hole.net | sudo bash -x
[sudo] password for s:
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0+ set -e
+ tmpLog=/tmp/pihole-install.log
+ instalLogLoc=/etc/pihole/install.log
+ setupVars=/etc/pihole/setupVars.conf
+ lighttpdConfig=/etc/lighttpd/lighttpd.conf
+ webInterfaceGitUrl=https://github.com/pi-hole/AdminLTE.git
+ webInterfaceDir=/var/www/html/admin
+ piholeGitUrl=https://github.com/pi-hole/pi-hole.git
+ PI_HOLE_LOCAL_REPO=/etc/.pihole
+ PI_HOLE_FILES=(chronometer list piholeDebug piholeLogFlush setupLCD update version)
+ useUpdateVars=false
+ IPV4_ADDRESS=
+ IPV6_ADDRESS=
+ QUERY_LOGGING=true
++ stty size
++ echo 24 80
+ screen_size='24 80'
++ echo '24 80'
++ awk '{print $1}'
+ rows=24
++ echo '24 80'
++ awk '{print $2}'
+ columns=80
+ r=12
+ c=40
+ r=20
+ c=70
+ skipSpaceCheck=false
+ reconfigure=false
+ runUnattended=false
+ command -v apt-get
+ PKG_MANAGER=apt-get
+ UPDATE_PKG_CACHE='apt-get update'
+ PKG_INSTALL='apt-get --yes --no-install-recommends install'
+ PKG_COUNT='apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+ apt-get install --dry-run iproute2
100 42644  100 42644    0     0  22652      0  0:00:01  0:00:01 --:--:-- 44099
+ IPROUTE_PKG=iproute2
+ apt-get install --dry-run php
+ phpVer=php
+ INSTALLER_DEPS=(apt-utils debconf dhcpcd5 git whiptail)
+ PIHOLE_DEPS=(bc cron curl dnsmasq dnsutils ${IPROUTE_PKG} iputils-ping lighttpd lsof netcat ${phpVer}-common ${phpVer}-cgi sudo unzip wget)
+ LIGHTTPD_USER=www-data
+ LIGHTTPD_GROUP=www-data
+ LIGHTTPD_CFG=lighttpd.conf.debian
+ DNSMASQ_USER=dnsmasq
+ [[ '' != true ]]
+ main
+ echo :::
:::
+ [[ 0 -eq 0 ]]
+ echo '::: You are root.'
::: You are root.
+ [[ -f /etc/pihole/setupVars.conf ]]
+ [[ false == true ]]
+ verifyFreeDiskSpace
+ echo '::: Verifying free disk space...'
::: Verifying free disk space...
+ local required_free_kilobytes=51200
++ df -Pk
++ grep -m1 '\/$'
++ awk '{print $4}'
df: /mnt/usbhdd2: Transport endpoint is not connected
+ local existing_free_kilobytes=8223152
+ [[ 8223152 =~ ^([0-9])+$ ]]
+ [[ 8223152 -lt 51200 ]]
+ update_pacakge_cache
+ echo :::
:::
+ echo -n '::: Updating local cache of available packages...'
::: Updating local cache of available packages...+ apt-get update
  Reply


Messages In This Thread
RE: Pine as a Pi-hole ... Does that make it a PineHole? - by auger - 01-22-2017, 06:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine 1 will no longer boot (bricked) dstallmo 0 1,255 06-22-2023, 12:22 PM
Last Post: dstallmo
  Xenial Minimal Image (PINE A64(+)) 0.6.2-77 pineadmin 4 21,486 08-30-2020, 10:35 AM
Last Post: jrronimo
  Successful build on arm64 pine a64 1GB on armbian alladinrouteme 1 3,995 09-23-2019, 03:30 AM
Last Post: cr2016
  Pine hangs up on boot if I add my exFAT USB drive to /etc/fstab pqueiro 0 3,016 06-10-2019, 12:07 PM
Last Post: pqueiro
  Pine Board using linux stuck during boot sequence ktaragorn 0 2,761 03-23-2019, 04:06 AM
Last Post: ktaragorn
  PINE A64 upgrade to 18.04 possible? RandomUser324 4 9,218 11-29-2018, 11:46 PM
Last Post: tllim
  Xenial Minimal Image (PINE A64(+)) 0.5.5-65 pineadmin 0 4,085 06-15-2017, 12:37 AM
Last Post: pineadmin
  Xenial Minimal Image (PINE A64(+)) 0.5.2-59 pineadmin 0 3,762 05-25-2017, 09:27 AM
Last Post: pineadmin
  Unable to start Pine Topgun505 16 17,515 11-13-2016, 12:01 AM
Last Post: Gnx
  Problem with Pine honkimonk1 1 3,323 10-11-2016, 09:03 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)