Install quits/crashes after "Checking for resolvconf" - failed to install dns-root-data in Linux Mint 17.2 Rafaela

Please follow the below template, it will help us to help you!

Expected Behaviour:

Installer (using sudo curl -sSL https://install.pi-hole.net | bash) finishes

Actual Behaviour:

Installer shows UI "Installing packages 0%" than drops to prompt, no errors

Debug Token:

pihole -d doesn't run

mint@mint-desktop /etc/.pihole $ ./pihole -d
./pihole: line 22: /opt/pihole/COL_TABLE: No such file or directory
[sudo] password for mint:
./pihole: line 22: /opt/pihole/COL_TABLE: No such file or directory
./pihole: line 61: /opt/pihole/piholeDebug.sh: No such file or directory
mint@mint-desktop /etc/.pihole $

I'm opting not to install lighttp, as I have an operational apache, but the admin site loads without much problems, however trying to save anything fails (fairly obviously) as there are several files missing, including setupVars.conf

OS: Linux mint-desktop 4.4.0-128-generic #154~14.04.1-Ubuntu SMP Fri May 25 14:56:13 UTC 2018 i686 i686 i686 GNU/Linux

CPU:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 22
model name : Intel(R) Celeron(R) CPU 220 @ 1.20GHz
stepping : 1
microcode : 0x36
cpu MHz : 1200.066
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass
bogomips : 2400.13
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual

Have a couple of other services running, but likely shouldn't interfere with installer. Plex, rtorrent, rutorrent, mosquitto, logmein-host in a snap, apache with letsencrypt
Sidenote, but could be relevant: Since I started trying to install pi-hole, IPv6 seems to have stopped working, but could be due to other factors in my network

Any help appreciated!

The installer failed to install that package. Try manually installing it and see if there's an issue.

That's what I've been trying to do, like having PHP installed ahead of time, along with other tools that were listed as "will be installed".
It looks like it checks off resolvconf, I get the "Installing packages" screen with the progressbar at 0% and than just land back on prompt like attached.

Does the installer create any logs I could dig into? (/etc/pihole/ doesn't have any, just the adslist.list file)

UPDATE:
Based on another thread, I've removed the /var/www/html/admin/ folder and ran the installer with bash -x
Now the output seems to have more info:

[ ] Checking for resolvconf

  • for i in '"${argArray1[@]}"'
  • printf ' %b Checking for %s...' '[i]' libcap2
    [i] Checking for libcap2...+ grep 'ok installed'
  • dpkg-query -W '-f=${Status}' libcap2
  • printf '%b %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' libcap2
    [ ] Checking for libcap2
  • [[ 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 dns-root-data
    mint@mint-desktop /etc/pihole $

Tried manually:
mint@mint-desktop /etc/pihole $ sudo apt-get install dns-root-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dns-root-data
mint@mint-desktop /etc/pihole $

Could be a repository I don't have added?

So based on this thread: Error during clean install of v4.0 (Ubuntu) - #48 by Terrin2k
even if I get dns-root-data installed, I'll be having other issues. Might just a) pick up a raspberryPi for just this b) do a full new install of an OS that is fully supported =D

Okay, so actuall installing dns-root-data allowed the installer to finish, so this issue is resolved.
I used the following from the thread linked above with dns-root-data_2018091102_all.deb:

You could try wget the deb file from here (the deb file closest to your distro’s release date):

[Index of /ubuntu/pool/main/d/dns-root-data ]

And try install the deb file with:
sudo dpkg -i dns-root-data_XXXXXX.deb

All-in-all this would probably just be an improvement possibility to log/print when there is an error installing a dependency. :wink:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.