Not able to finish install on Ubuntu 18.04

Hello. I'm not able to finish the install on Ubuntu 18.04. Any clues?

root@ICH-SRV-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic
root@ICH-SRV-01:~# curl -sSL https://install.pi-hole.net | sudo bash -x
+ set -e
++ cat
+ DNS_SERVERS='Google (ECS);8.8.8.8;8.8.4.4;2001:4860:4860:0:0:0:0:8888;2001:4860:4860:0:0:0:0:8844
OpenDNS (ECS);208.67.222.222;208.67.220.220;2620:119:35::35;2620:119:53::53
Level3;4.2.2.1;4.2.2.2;;
Comodo;8.26.56.26;8.20.247.20;;
DNS.WATCH;84.200.69.80;84.200.70.40;2001:1608:10:25:0:0:1c04:b12f;2001:1608:10:25:0:0:9249:d69b
Quad9 (filtered, DNSSEC);9.9.9.9;149.112.112.112;2620:fe::fe;2620:fe::9
Quad9 (unfiltered, no DNSSEC);9.9.9.10;149.112.112.10;2620:fe::10;2620:fe::fe:10
Quad9 (filtered + ECS);9.9.9.11;149.112.112.11;2620:fe::11;
Cloudflare;1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001'
+ installLogLoc=/etc/pihole/install.log
+ setupVars=/etc/pihole/setupVars.conf
+ lighttpdConfig=/etc/lighttpd/lighttpd.conf
+ coltable=/opt/pihole/COL_TABLE
+ webroot=/var/www/html
+ 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 gravity uninstall webpage)
+ PI_HOLE_INSTALL_DIR=/opt/pihole
+ PI_HOLE_CONFIG_DIR=/etc/pihole
+ PI_HOLE_BIN_DIR=/usr/local/bin
+ PI_HOLE_BLOCKPAGE_DIR=/var/www/html/pihole
+ useUpdateVars=false
+ adlistFile=/etc/pihole/adlists.list
+ regexFile=/etc/pihole/regex.list
+ IPV4_ADDRESS=
+ IPV6_ADDRESS=
+ QUERY_LOGGING=true
+ INSTALL_WEB_INTERFACE=true
+ PRIVACY_LEVEL=0
+ '[' -z root ']'
+ '[' -t 0 ']'
+ screen_size='24 80'
+ printf -v rows %d 24
+ printf -v columns %d 80
+ r=12
+ c=40
+ r=20
+ c=70
+ skipSpaceCheck=false
+ reconfigure=false
+ runUnattended=false
+ INSTALL_WEB_SERVER=true
+ [[ -f /opt/pihole/COL_TABLE ]]
+ COL_NC='\e[0m'
+ COL_LIGHT_GREEN='\e[1;32m'
+ COL_LIGHT_RED='\e[1;31m'
+ TICK='[\e[1;32m✓\e[0m]'
+ CROSS='[\e[1;31m✗\e[0m]'
+ INFO='[i]'
+ DONE='\e[1;32m done!\e[0m'
+ OVER='\r\033[K'
+ binary=tbd
+ counter=0
+ [[ '' != true ]]
+ main
+ local 'str=Root user check'
+ printf '\n'

+ [[ 0 -eq 0 ]]
+ printf '  %b %s\n' '[\e[1;32m✓\e[0m]' 'Root user check'
  [✓] Root user check
+ show_ascii_berry
+ echo -e '
        \e[1;32m.;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           '\''ccll:;ll .oooodc
             .;cll.;;looo:.
                 \e[1;31m.. '\'','\''.
                .'\'',,,,,,'\''.
              .'\'',,,,,,,,,,.
            .'\'',,,,,,,,,,,,....
          ....'\'''\'''\'',,,,,,,'\''.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'\''......
            ....'\'',,,,,,,,,,,,.
               .'\'',,,,,,,,,'\''.
                .'\'',,,,,,'\''.
                  ..'\'''\'''\''.\e[0m
'

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

+ make_temporary_log
++ mktemp /tmp/pihole_temp.XXXXXX
+ TEMPLOG=/tmp/pihole_temp.VSifec
+ exec
+ rm /tmp/pihole_temp.VSifec
+ distro_check
+ is_command apt-get
+ local check_command=apt-get
+ command -v apt-get
+ PKG_MANAGER=apt-get
+ UPDATE_PKG_CACHE='apt-get update'
+ PKG_INSTALL=(${PKG_MANAGER} --yes --no-install-recommends install)
+ PKG_COUNT='apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+ APT_SOURCES=/etc/apt/sources.list
+ awk 'BEGIN{a=1;b=0}/bionic main/{a=0}/bionic.*universe/{b=1}END{exit a + b}' /etc/apt/sources.list
+ apt-get install --dry-run iproute2
+ iproute_pkg=iproute2
+ is_command php
+ local check_command=php
+ command -v php
+ [[ '' != true ]]
+ apt-get install --dry-run php
+ phpVer=php
+ apt-get install --dry-run php-sqlite3
+ phpSqlite=sqlite3
+ INSTALLER_DEPS=(apt-utils dialog debconf dhcpcd5 git ${iproute_pkg} whiptail)
+ PIHOLE_DEPS=(cron curl dnsutils iputils-ping lsof netcat psmisc sudo unzip wget idn2 sqlite3 libcap2-bin dns-root-data resolvconf libcap2)
+ PIHOLE_WEB_DEPS=(lighttpd ${phpVer}-common ${phpVer}-cgi ${phpVer}-${phpSqlite})
+ LIGHTTPD_USER=www-data
+ LIGHTTPD_GROUP=www-data
+ LIGHTTPD_CFG=lighttpd.conf.debian
+ [[ -f /etc/pihole/setupVars.conf ]]
+ [[ false == true ]]
+ verifyFreeDiskSpace
+ local 'str=Disk space check'
+ local required_free_kilobytes=51200
+ local existing_free_kilobytes
++ df -Pk
++ grep -m1 '\/$'
++ awk '{print $4}'
+ existing_free_kilobytes=50603056
+ [[ 50603056 =~ ^([0-9])+$ ]]
+ [[ 50603056 -lt 51200 ]]
+ printf '  %b %s\n' '[\e[1;32m✓\e[0m]' 'Disk space check'
  [✓] Disk space check
+ update_package_cache
+ local 'str=Update local cache of available packages'
+ printf '  %b %s...' '[i]' 'Update local cache of available packages'
  [i] Update local cache of available packages...+ eval 'apt-get update'
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Update local cache of available packages'
  [✓] Update local cache of available packages
+ notify_package_updates_available
+ local 'str=Checking apt-get for upgraded packages'
+ printf '\n  %b %s...' '[i]' 'Checking apt-get for upgraded packages'

  [i] Checking apt-get for upgraded packages...++ eval 'apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+++ apt-get -s -o Debug::NoLocking=true upgrade
+++ grep -c '^Inst'
+++ true
+ updatesToInstall=0
++ uname -r
+ [[ -d /lib/modules/4.15.0-66-generic ]]
+ [[ 0 -eq 0 ]]
+ printf '%b  %b %s... up to date!\n\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Checking apt-get for upgraded packages'
  [✓] Checking apt-get for upgraded packages... up to date!

+ install_dependent_packages apt-utils dialog debconf dhcpcd5 git iproute2 whiptail
+ counter=1
+ [[ 1 == 1 ]]
+ printf '  %b Installer Dependency checks...\n' '[i]'
  [i] Installer Dependency checks...
+ declare -a installArray
+ is_command debconf-apt-progress
+ local check_command=debconf-apt-progress
+ command -v debconf-apt-progress
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' apt-utils
  [i] Checking for apt-utils...+ dpkg-query -W '-f=${Status}' apt-utils
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' apt-utils
  [✓] Checking for apt-utils
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' dialog
  [i] Checking for dialog...+ dpkg-query -W '-f=${Status}' dialog
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' dialog
  [✓] Checking for dialog
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' debconf
  [i] Checking for debconf...+ dpkg-query -W '-f=${Status}' debconf
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' debconf
  [✓] Checking for debconf
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' dhcpcd5
  [i] Checking for dhcpcd5...+ dpkg-query -W '-f=${Status}' dhcpcd5
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' dhcpcd5
  [✓] Checking for dhcpcd5
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' git
  [i] Checking for git...+ dpkg-query -W '-f=${Status}' git
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' git
  [✓] Checking for git
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' iproute2
  [i] Checking for iproute2...+ dpkg-query -W '-f=${Status}' iproute2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' iproute2
  [✓] Checking for iproute2
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' whiptail
  [i] Checking for whiptail...+ dpkg-query -W '-f=${Status}' whiptail
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' whiptail
  [✓] Checking for whiptail
+ [[ 0 -gt 0 ]]
+ printf '\n'

+ return 0
+ checkSelinux
+ is_command getenforce
+ local check_command=getenforce
+ command -v getenforce
+ [[ false == false ]]
+ welcomeDialogs
+ whiptail --msgbox --backtitle Welcome --title 'Pi-hole automated installer' '\n\nThis installer will transform your device into a network-wide ad blocker!' 20 70
+ whiptail --msgbox --backtitle Plea --title 'Free and open source' '\n\nThe Pi-hole is free, but powered by your donations:  http://pi-hole.net/donate' 20 70
+ whiptail --msgbox --backtitle 'Initiating network interface' --title 'Static IP Needed' '\n\nThe Pi-hole is a SERVER so it needs a STATIC IP ADDRESS to function properly.

In the next section, you can choose to use your current network settings (DHCP) or to manually edit them.' 20 70
+ mkdir -p /etc/pihole/
+ get_available_interfaces
++ ip --oneline link show up
++ grep -v lo
++ awk '{print $2}'
++ cut -d: -f1
++ cut -d@ -f1
+ availableInterfaces='eno1
tun0'
+ chooseInterface
+ interfacesArray=()
+ local interfacesArray
+ local interfaceCount
+ local chooseInterfaceCmd
+ local chooseInterfaceOptions
+ local firstLoop=1
++ wc -l
+ interfaceCount=2
+ [[ 2 -eq 1 ]]
+ read -r line
+ mode=OFF
+ [[ 1 -eq 1 ]]
+ firstLoop=0
+ mode=ON
+ interfacesArray+=("${line}" "available" "${mode}")
+ read -r line
+ mode=OFF
+ [[ 0 -eq 1 ]]
+ interfacesArray+=("${line}" "available" "${mode}")
+ read -r line
+ chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An Interface (press space to select)" ${r} ${c} ${interfaceCount})
++ whiptail --separate-output --radiolist 'Choose An Interface (press space to select)' 20 70 2 eno1 available ON tun0 available OFF
+ chooseInterfaceOptions=eno1
+ for desiredInterface in ${chooseInterfaceOptions}
+ PIHOLE_INTERFACE=eno1
+ printf '  %b Using interface: %s\n' '[i]' eno1
  [i] Using interface: eno1
+ setDNS
+ local DNSSettingsCorrect
+ DNSChooseOptions=()
+ local DNSServerCount=0
+ OIFS='
'
+ IFS='
'
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Google (ECS)'
+ DNSChooseOptions[DNSServerCount]='Google (ECS)'
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='OpenDNS (ECS)'
+ DNSChooseOptions[DNSServerCount]='OpenDNS (ECS)'
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Level3
+ DNSChooseOptions[DNSServerCount]=Level3
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Comodo
+ DNSChooseOptions[DNSServerCount]=Comodo
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=DNS.WATCH
+ DNSChooseOptions[DNSServerCount]=DNS.WATCH
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (filtered, DNSSEC)'
+ DNSChooseOptions[DNSServerCount]='Quad9 (filtered, DNSSEC)'
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (unfiltered, no DNSSEC)'
+ DNSChooseOptions[DNSServerCount]='Quad9 (unfiltered, no DNSSEC)'
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (filtered + ECS)'
+ DNSChooseOptions[DNSServerCount]='Quad9 (filtered + ECS)'
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Cloudflare
+ DNSChooseOptions[DNSServerCount]=Cloudflare
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=Custom
+ ((  DNSServerCount=DNSServerCount+1  ))
+ DNSChooseOptions[DNSServerCount]=
+ IFS='
'
++ whiptail --separate-output --menu 'Select Upstream DNS Provider. To use your own, select Custom.' 20 70 7 'Google (ECS)' '' 'OpenDNS (ECS)' '' Level3 '' Comodo '' DNS.WATCH '' 'Quad9 (filtered, DNSSEC)' '' 'Quad9 (unfiltered, no DNSSEC)' '' 'Quad9 (filtered + ECS)' '' Cloudflare '' Custom ''
+ DNSchoices=Cloudflare
+ printf '  %b Using ' '[i]'
  [i] Using + [[ Cloudflare == \C\u\s\t\o\m ]]
+ OIFS='
'
+ IFS='
'
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Google (ECS)'
+ [[ Cloudflare == \G\o\o\g\l\e\ \(\E\C\S\) ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='OpenDNS (ECS)'
+ [[ Cloudflare == \O\p\e\n\D\N\S\ \(\E\C\S\) ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Level3
+ [[ Cloudflare == \L\e\v\e\l\3 ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Comodo
+ [[ Cloudflare == \C\o\m\o\d\o ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=DNS.WATCH
+ [[ Cloudflare == \D\N\S\.\W\A\T\C\H ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (filtered, DNSSEC)'
+ [[ Cloudflare == \Q\u\a\d\9\ \(\f\i\l\t\e\r\e\d\,\ \D\N\S\S\E\C\) ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (unfiltered, no DNSSEC)'
+ [[ Cloudflare == \Q\u\a\d\9\ \(\u\n\f\i\l\t\e\r\e\d\,\ \n\o\ \D\N\S\S\E\C\) ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName='Quad9 (filtered + ECS)'
+ [[ Cloudflare == \Q\u\a\d\9\ \(\f\i\l\t\e\r\e\d\ \+\ \E\C\S\) ]]
+ for DNSServer in ${DNS_SERVERS}
++ cut '-d;' -f1
+ DNSName=Cloudflare
+ [[ Cloudflare == \C\l\o\u\d\f\l\a\r\e ]]
+ printf '%s\n' Cloudflare
Cloudflare
++ cut '-d;' -f2
+ PIHOLE_DNS_1=1.1.1.1
++ cut '-d;' -f3
+ PIHOLE_DNS_2=1.0.0.1
+ break
+ IFS='
'
+ chooseBlocklists
+ [[ -f /etc/pihole/adlists.list ]]
+ mv /etc/pihole/adlists.list /etc/pihole/adlists.list.old
+ cmd=(whiptail --separate-output --checklist "Pi-hole relies on third party lists in order to block ads.\\n\\nYou can use the suggestions below, and/or add your own after installation\\n\\nTo deselect any list, use the arrow keys and spacebar" "${r}" "${c}" 6)
+ options=(StevenBlack "StevenBlack's Unified Hosts List" on MalwareDom "MalwareDomains" on Cameleon "Cameleon" on DisconTrack "Disconnect.me Tracking" on DisconAd "Disconnect.me Ads" on HostsFile "Hosts-file.net Ads" on)
++ whiptail --separate-output --checklist 'Pi-hole relies on third party lists in order to block ads.\n\nYou can use the suggestions below, and/or add your own after installation\n\nTo deselect any list, use the arrow keys and spacebar' 20 70 6 StevenBlack 'StevenBlack'\''s Unified Hosts List' on MalwareDom MalwareDomains on Cameleon Cameleon on DisconTrack 'Disconnect.me Tracking' on DisconAd 'Disconnect.me Ads' on HostsFile 'Hosts-file.net Ads' on
+ choices='StevenBlack
MalwareDom
Cameleon
DisconTrack
DisconAd
HostsFile'
+ for choice in ${choices}
+ appendToListsFile StevenBlack
+ case $1 in
+ echo https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
+ for choice in ${choices}
+ appendToListsFile MalwareDom
+ case $1 in
+ echo https://mirror1.malwaredomains.com/files/justdomains
+ for choice in ${choices}
+ appendToListsFile Cameleon
+ case $1 in
+ echo http://sysctl.org/cameleon/hosts
+ for choice in ${choices}
+ appendToListsFile DisconTrack
+ case $1 in
+ echo https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
+ for choice in ${choices}
+ appendToListsFile DisconAd
+ case $1 in
+ echo https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
+ for choice in ${choices}
+ appendToListsFile HostsFile
+ case $1 in
+ echo https://hosts-file.net/ad_servers.txt
+ use4andor6
+ local useIPv4
+ local useIPv6
+ cmd=(whiptail --separate-output --checklist "Select Protocols (press space to select)" ${r} ${c} 2)
+ options=(IPv4 "Block ads over IPv4" on IPv6 "Block ads over IPv6" on)
++ whiptail --separate-output --checklist 'Select Protocols (press space to select)' 20 70 2 IPv4 'Block ads over IPv4' on IPv6 'Block ads over IPv6' on
+ choices=IPv4
+ for choice in ${choices}
+ case ${choice} in
+ useIPv4=true
+ [[ -n true ]]
+ find_IPv4_information
+ local route
+ local IPv4bare
++ ip route get 8.8.8.8
+ route='8.8.8.8 via 192.168.1.1 dev eno1 src 192.168.1.5 uid 0
    cache '
++ printf 192.168.1.5 uid 0 cache
+ printf -v IPv4bare 192.168.1.5
++ printf 192.168.1.1 dev eno1 src 192.168.1.5 uid 0 cache
+ printf -v IPv4gw 192.168.1.1
+ valid_ip 192.168.1.5
+ local ip=192.168.1.5
+ local stat=1
+ [[ 192.168.1.5 =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]
+ OIFS='
'
+ IFS=.
+ ip=(${ip})
+ IFS='
'
+ [[ 192 -le 255 ]]
+ [[ 168 -le 255 ]]
+ [[ 1 -le 255 ]]
+ [[ 5 -le 255 ]]
+ stat=0
+ return 0
++ ip -oneline -family inet address show
++ grep 192.168.1.5/
++ awk '{print $4}'
++ awk 'END {print}'
+ IPV4_ADDRESS=192.168.1.5/24
+ getStaticIPv4Settings
+ local ipSettingsCorrect
+ whiptail --backtitle 'Calibrating network interface' --title 'Static IP Address' --yesno 'Do you want to use your current network settings as a static address?
          IP address:    192.168.1.5/24
          Gateway:       192.168.1.1' 20 70
+ whiptail --msgbox --backtitle 'IP information' --title 'FYI: IP Conflict' 'It is possible your router could still try to assign this IP to a device, which would cause a conflict.  But in most cases the router is smart enough to not do that.
If you are worried, either manually set the address, or modify the DHCP reservation pool so it does not include the IP you want.
It is also possible to use a DHCP reservation, but if you are going to do that, you might as well set a static address.' 20 70
+ setStaticIPv4
+ local IFCFG_FILE
+ local CONNECTION_NAME
+ [[ -r /etc/sysconfig/network/ifcfg-eno1 ]]
+ [[ -f /etc/dhcpcd.conf ]]
+ setDHCPCD
+ grep -q 192.168.1.5/24 /etc/dhcpcd.conf
+ printf '  %b Static IP already configured\n' '[i]'
  [i] Static IP already configured
+ return 0
+ [[ -n '' ]]
+ printf '  %b IPv4 address: %s\n' '[i]' 192.168.1.5/24
  [i] IPv4 address: 192.168.1.5/24
+ printf '  %b IPv6 address: %s\n' '[i]' ''
  [i] IPv6 address:
+ [[ ! -n true ]]
+ setAdminFlag
+ local WebToggleCommand
+ local WebChooseOptions
+ local WebChoices
+ WebToggleCommand=(whiptail --separate-output --radiolist "Do you wish to install the web admin interface?" ${r} ${c} 6)
+ WebChooseOptions=("On (Recommended)" "" on Off "" off)
++ whiptail --separate-output --radiolist 'Do you wish to install the web admin interface?' 20 70 6 'On (Recommended)' '' on Off '' off
+ WebChoices='On (Recommended)'
+ case ${WebChoices} in
+ printf '  %b Web Interface On\n' '[i]'
  [i] Web Interface On
+ INSTALL_WEB_INTERFACE=true
+ [[ true == true ]]
+ WebToggleCommand=(whiptail --separate-output --radiolist "Do you wish to install the web server (lighttpd)?\\n\\nNB: If you disable this, and, do not have an existing webserver installed, the web interface will not function." "${r}" "${c}" 6)
+ WebChooseOptions=("On (Recommended)" "" on Off "" off)
++ whiptail --separate-output --radiolist 'Do you wish to install the web server (lighttpd)?\n\nNB: If you disable this, and, do not have an existing webserver installed, the web interface will not function.' 20 70 6 'On (Recommended)' '' on Off '' off
+ WebChoices='On (Recommended)'
+ case ${WebChoices} in
+ printf '  %b Web Server On\n' '[i]'
  [i] Web Server On
+ INSTALL_WEB_SERVER=true
+ setLogging
+ local LogToggleCommand
+ local LogChooseOptions
+ local LogChoices
+ LogToggleCommand=(whiptail --separate-output --radiolist "Do you want to log queries?" "${r}" "${c}" 6)
+ LogChooseOptions=("On (Recommended)" "" on Off "" off)
++ whiptail --separate-output --radiolist 'Do you want to log queries?' 20 70 6 'On (Recommended)' '' on Off '' off
+ LogChoices='On (Recommended)'
+ case ${LogChoices} in
+ printf '  %b Logging On.\n' '[i]'
  [i] Logging On.
+ QUERY_LOGGING=true
+ setPrivacyLevel
+ local LevelCommand
+ local LevelOptions
+ LevelCommand=(whiptail --separate-output --radiolist "Select a privacy mode for FTL. https://docs.pi-hole.net/ftldns/privacylevels/" "${r}" "${c}" 6)
+ LevelOptions=("0" "Show everything" on "1" "Hide domains" off "2" "Hide domains and clients" off "3" "Anonymous mode" off "4" "Disabled statistics" off)
++ whiptail --separate-output --radiolist 'Select a privacy mode for FTL. https://docs.pi-hole.net/ftldns/privacylevels/' 20 70 6 0 'Show everything' on 1 'Hide domains' off 2 'Hide domains and clients' off 3 'Anonymous mode' off 4 'Disabled statistics' off
+ PRIVACY_LEVEL=0
+ printf '  %b Privacy level %d' '[i]' 0
  [i] Privacy level 0+ clone_or_update_repos
+ [[ false == true ]]
+ getGitFiles /etc/.pihole https://github.com/pi-hole/pi-hole.git
+ local directory=/etc/.pihole
+ local remoteRepo=https://github.com/pi-hole/pi-hole.git
+ local 'str=Check for existing repository in /etc/.pihole'
+ printf '  %b %s...' '[i]' 'Check for existing repository in /etc/.pihole'
  [i] Check for existing repository in /etc/.pihole...+ is_repo /etc/.pihole
+ local directory=/etc/.pihole
+ local curdir
+ local rc
+ curdir=/root
+ [[ -d /etc/.pihole ]]
+ cd /etc/.pihole
+ git status --short
+ cd /root
+ return 0
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Check for existing repository in /etc/.pihole'
  [✓] Check for existing repository in /etc/.pihole
+ update_repo /etc/.pihole
+ local directory=/etc/.pihole
+ local curdir
+ local 'str=Update repo in /etc/.pihole'
+ curdir=/root
+ cd /etc/.pihole
+ printf '  %b %s...' '[i]' 'Update repo in /etc/.pihole'
  [i] Update repo in /etc/.pihole...+ git stash --all --quiet
+ git clean --quiet --force -d
+ git pull --quiet
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Update repo in /etc/.pihole'
  [✓] Update repo in /etc/.pihole
+ cd /root
+ return 0
+ echo ''

+ return 0
+ [[ true == true ]]
+ getGitFiles /var/www/html/admin https://github.com/pi-hole/AdminLTE.git
+ local directory=/var/www/html/admin
+ local remoteRepo=https://github.com/pi-hole/AdminLTE.git
+ local 'str=Check for existing repository in /var/www/html/admin'
+ printf '  %b %s...' '[i]' 'Check for existing repository in /var/www/html/admin'
  [i] Check for existing repository in /var/www/html/admin...+ is_repo /var/www/html/admin
+ local directory=/var/www/html/admin
+ local curdir
+ local rc
+ curdir=/root
+ [[ -d /var/www/html/admin ]]
+ cd /var/www/html/admin
+ git status --short
+ cd /root
+ return 0
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Check for existing repository in /var/www/html/admin'
  [✓] Check for existing repository in /var/www/html/admin
+ update_repo /var/www/html/admin
+ local directory=/var/www/html/admin
+ local curdir
+ local 'str=Update repo in /var/www/html/admin'
+ curdir=/root
+ cd /var/www/html/admin
+ printf '  %b %s...' '[i]' 'Update repo in /var/www/html/admin'
  [i] Update repo in /var/www/html/admin...+ git stash --all --quiet
+ git clean --quiet --force -d
+ git pull --quiet
+ printf '%b  %b %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' 'Update repo in /var/www/html/admin'
  [✓] Update repo in /var/www/html/admin
+ cd /root
+ return 0
+ echo ''

+ return 0
+ dep_install_list=("${PIHOLE_DEPS[@]}")
+ local dep_install_list
+ [[ true == true ]]
+ dep_install_list+=("${PIHOLE_WEB_DEPS[@]}")
+ install_dependent_packages cron curl dnsutils iputils-ping lsof netcat psmisc sudo unzip wget idn2 sqlite3 libcap2-bin dns-root-data resolvconf libcap2 lighttpd php-common php-cgi php-sqlite3
+ counter=2
+ [[ 2 == 1 ]]
+ printf '  %b Main Dependency checks...\n' '[i]'
  [i] Main Dependency checks...
+ declare -a installArray
+ is_command debconf-apt-progress
+ local check_command=debconf-apt-progress
+ command -v debconf-apt-progress
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' cron
  [i] Checking for cron...+ dpkg-query -W '-f=${Status}' cron
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' cron
  [✓] Checking for cron
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' curl
  [i] Checking for curl...+ dpkg-query -W '-f=${Status}' curl
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' curl
  [✓] Checking for curl
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' dnsutils
  [i] Checking for dnsutils...+ dpkg-query -W '-f=${Status}' dnsutils
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' dnsutils
  [✓] Checking for dnsutils
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' iputils-ping
  [i] Checking for iputils-ping...+ dpkg-query -W '-f=${Status}' iputils-ping
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' iputils-ping
  [✓] Checking for iputils-ping
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' lsof
  [i] Checking for lsof...+ dpkg-query -W '-f=${Status}' lsof
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' lsof
  [✓] Checking for lsof
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' netcat
  [i] Checking for netcat...+ dpkg-query -W '-f=${Status}' netcat
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' netcat
  [✓] Checking for netcat
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' psmisc
  [i] Checking for psmisc...+ dpkg-query -W '-f=${Status}' psmisc
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' psmisc
  [✓] Checking for psmisc
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' sudo
  [i] Checking for sudo...+ dpkg-query -W '-f=${Status}' sudo
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' sudo
  [✓] Checking for sudo
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' unzip
  [i] Checking for unzip...+ dpkg-query -W '-f=${Status}' unzip
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' unzip
  [✓] Checking for unzip
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' wget
  [i] Checking for wget...+ dpkg-query -W '-f=${Status}' wget
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' wget
  [✓] Checking for wget
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' idn2
  [i] Checking for idn2...+ dpkg-query -W '-f=${Status}' idn2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' idn2
  [✓] Checking for idn2
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' sqlite3
  [i] Checking for sqlite3...+ dpkg-query -W '-f=${Status}' sqlite3
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' sqlite3
  [✓] Checking for sqlite3
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' libcap2-bin
  [i] Checking for libcap2-bin...+ dpkg-query -W '-f=${Status}' libcap2-bin
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' libcap2-bin
  [✓] Checking for libcap2-bin
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' dns-root-data
  [i] Checking for dns-root-data...+ dpkg-query -W '-f=${Status}' dns-root-data
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' dns-root-data
  [✓] Checking for dns-root-data
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' resolvconf
  [i] Checking for resolvconf...+ dpkg-query -W '-f=${Status}' resolvconf
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' resolvconf
  [✓] Checking for resolvconf
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' libcap2
  [i] Checking for libcap2...+ dpkg-query -W '-f=${Status}' libcap2
+ grep 'ok installed'
+ printf '%b  %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' libcap2
  [✓] Checking for libcap2
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' lighttpd
  [i] Checking for lighttpd...+ dpkg-query -W '-f=${Status}' lighttpd
+ grep 'ok installed'
+ echo -e '\r\033[K  [i] Checking for lighttpd (will be installed)'
  [i] Checking for lighttpd (will be installed)
+ installArray+=("${i}")
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' php-common
  [i] Checking for php-common...+ dpkg-query -W '-f=${Status}' php-common
+ grep 'ok installed'
+ echo -e '\r\033[K  [i] Checking for php-common (will be installed)'
  [i] Checking for php-common (will be installed)
+ installArray+=("${i}")
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' php-cgi
  [i] Checking for php-cgi...+ dpkg-query -W '-f=${Status}' php-cgi
+ grep 'ok installed'
+ echo -e '\r\033[K  [i] Checking for php-cgi (will be installed)'
  [i] Checking for php-cgi (will be installed)
+ installArray+=("${i}")
+ for i in "$@"
+ printf '  %b Checking for %s...' '[i]' php-sqlite3
  [i] Checking for php-sqlite3...+ dpkg-query -W '-f=${Status}' php-sqlite3
+ grep 'ok installed'
+ echo -e '\r\033[K  [i] Checking for php-sqlite3 (will be installed)'
  [i] Checking for php-sqlite3 (will be installed)
+ installArray+=("${i}")
+ [[ 4 -gt 0 ]]
+ test_dpkg_lock
+ i=0
+ fuser /var/lib/dpkg/lock
+ return 0
+ debconf-apt-progress -- apt-get --yes --no-install-recommends install lighttpd php-common php-cgi php-sqlite3

Does the below command complete successfully?

sudo apt-get --yes --no-install-recommends install lighttpd php-common php-cgi php-sqlite3

root@ICH-SRV-01:~# sudo apt-get --yes --no-install-recommends install lighttpd php-common php-cgi php-sqlite3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lighttpd : Depends: libssl1.1 (>= 1.1.0) but it is not going to be installed
 php-cgi : Depends: php7.2-cgi but it is not going to be installed
 php-sqlite3 : Depends: php7.2-sqlite3 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Have you updated the apt cache recently? We can't install Pi-hole if those dependent packages are not installable via the OS package manager.

Well, I had some issues where I've tried to replace lighttpd with nginx, but the charts in the web interface's dashboard won't load. So I've removed everything: pihole, nginx, php and all the dependenices and also some repos to start fresh (I'm absolutely sure that /etc/apt/sources.list has all the default values), but now it won't install.

You had Pi-hole successfully installed prior?

Yes, I had.

At the moment, I've managed to get it working, but I'm not really sure it's the best thing to do because some other things got removed (a lot of them)... I have a nodejs application that is no longer working, but this is not your problem anymore, haha :smiley:

root@ICH-SRV-01:~# apt-cache policy libssl1.1
libssl1.1:
  Installed: 1.1.1d-1+ubuntu18.04.1+deb.sury.org+2
  Candidate: 1.1.1d-1+ubuntu18.04.1+deb.sury.org+2
  Version table:
 *** 1.1.1d-1+ubuntu18.04.1+deb.sury.org+2 100
        100 /var/lib/dpkg/status
     1.1.1-1ubuntu2.1~18.04.4 500
        500 http://ro.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://ro.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     1.1.0g-2ubuntu4 500
        500 http://ro.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
root@ICH-SRV-01:~# sudo apt install libssl1.1=1.1.0g-2ubuntu4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  iputils-arping libbluetooth3 libgudev-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libndp0 libnm0 libpcsclite1 libpython-all-dev libqmi-glib5 libqmi-proxy libteamdctl0 libtorrent19 modemmanager network-manager network-manager-pptp
  ppp pptp-linux python-all python-all-dev python-asn1crypto python-cffi-backend python-enum34 python-idna python-ipaddress python-keyrings.alt python-wheel python-xdg usb-modeswitch usb-modeswitch-data wpasupplicant
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apparmor apparmor-utils apport byobu ca-certificates cloud-guest-utils cloud-init command-not-found curl fail2ban language-selector-common libcurl4 libpython3-stdlib libpython3.6 libpython3.6-minimal libpython3.6-stdlib libssl-dev
  libxmlrpc-core-c3 lsb-release netplan.io networkd-dispatcher nodejs nplan openssl pastebinit plymouth-theme-ubuntu-text python-cryptography python-keyring python-pip python-pip-whl python-secretstorage python3 python3-apparmor
  python3-apport python3-apt python3-asn1crypto python3-attr python3-automat python3-blinker python3-certifi python3-cffi-backend python3-chardet python3-click python3-colorama python3-commandnotfound python3-configobj
  python3-constantly python3-cryptography python3-dbus python3-debconf python3-debian python3-distro-info python3-distupgrade python3-gdbm python3-gi python3-httplib2 python3-hyperlink python3-idna python3-incremental python3-jinja2
  python3-json-pointer python3-jsonpatch python3-jsonschema python3-jwt python3-libapparmor python3-markupsafe python3-minimal python3-netifaces python3-newt python3-oauthlib python3-openssl python3-pam python3-pkg-resources
  python3-problem-report python3-pyasn1 python3-pyasn1-modules python3-pyinotify python3-requests python3-requests-unixsocket python3-serial python3-service-identity python3-six python3-software-properties python3-systemd
  python3-twisted python3-twisted-bin python3-update-manager python3-urllib3 python3-yaml python3-zope.interface python3.6 python3.6-minimal rtorrent snapd software-properties-common sosreport ssh-import-id ubuntu-minimal
  ubuntu-release-upgrader-core ubuntu-standard ufw unattended-upgrades update-manager-core update-notifier-common vim
The following packages will be DOWNGRADED:
  libssl1.1
0 upgraded, 0 newly installed, 1 downgraded, 105 to remove and 0 not upgraded.
Need to get 1,128 kB of archives.
After this operation, 218 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ro.archive.ubuntu.com/ubuntu bionic/main amd64 libssl1.1 amd64 1.1.0g-2ubuntu4 [1,128 kB]
Fetched 1,128 kB in 1s (1,279 kB/s)
Preconfiguring packages ...
(Reading database ... 88745 files and directories currently installed.)
Removing snapd (2.40+18.04) ...
Removing apparmor-utils (2.12-4ubuntu5.1) ...
Removing apparmor (2.12-4ubuntu5.1) ...
Removing apport (2.20.9-0ubuntu7.9) ...
Removing byobu (5.125-0ubuntu1) ...
Removing python3-apport (2.20.9-0ubuntu7.9) ...
Removing python3-httplib2 (0.11.3-1+ubuntu18.04.1+deb.sury.org+1) ...
Removing nodejs (8.16.2-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
Removing cloud-init (19.2-36-g059d049c-0ubuntu2~18.04.1) ...
Removing cloud-guest-utils (0.30-0ubuntu5) ...
Removing command-not-found (18.04.5) ...
Removing curl (7.58.0-2ubuntu3.8) ...
Removing fail2ban (0.10.2-2) ...
Removing ubuntu-standard (1.417.3) ...
Removing language-selector-common (0.188.3) ...
Removing rtorrent (0.9.6-3build1) ...
Removing libxmlrpc-core-c3 (1.33.14-8build1) ...
Removing libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Removing python3-twisted (17.9.0-2) ...
Removing python3-zope.interface (4.3.2-1+ubuntu18.04.1+certbot+1) ...
Removing python3-configobj (5.0.6-2+ubuntu18.04.1+certbot+1) ...
Removing ubuntu-minimal (1.417.3) ...
Removing nplan (0.98-0ubuntu1~18.04.1) ...
Removing netplan.io (0.98-0ubuntu1~18.04.1) ...
dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan/cli/commands' not empty so not removed
dpkg: warning: while removing netplan.io, directory '/etc/netplan' not empty so not removed
Removing update-notifier-common (3.192.1.7) ...
Removing vim (2:8.0.1453-1ubuntu1.1) ...
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/ex (ex) in auto mode
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/rview (rview) in auto mode
Removing libpython3.6:amd64 (3.6.8-1~18.04.3) ...
Removing libssl-dev:amd64 (1.1.1d-1+ubuntu18.04.1+deb.sury.org+2) ...
Removing update-manager-core (1:18.04.11.10) ...
dpkg: warning: while removing update-manager-core, directory '/var/lib/update-manager' not empty so not removed
Removing unattended-upgrades (1.1ubuntu1.18.04.11) ...
Removing networkd-dispatcher (1.7-0ubuntu3.3) ...
Removing pastebinit (1.5-2) ...
Removing plymouth-theme-ubuntu-text (0.9.3-1ubuntu7.18.04.2) ...
update-initramfs: deferring update (trigger activated)
Removing python-keyring (10.6.0-1) ...
Removing python-secretstorage (2.3.1-2) ...
Removing python-cryptography (2.1.4-1ubuntu1.3) ...
Removing python-pip (9.0.1-2.3~ubuntu1.18.04.1) ...
Removing python-pip-whl (9.0.1-2.3~ubuntu1.18.04.1) ...
Removing python3-apparmor (2.12-4ubuntu5.1) ...
Removing ubuntu-release-upgrader-core (1:18.04.34) ...
Removing python3-service-identity (16.0.0-2) ...
Removing python3-openssl (17.5.0-1ubuntu1) ...
Removing python3-oauthlib (2.0.6-1) ...
Removing python3-cryptography (2.1.4-1ubuntu1.3) ...
Removing python3-asn1crypto (0.24.0-1) ...
Removing python3-automat (0.6.0-1) ...
Removing python3-attr (17.4.0-2) ...
Removing python3-blinker (1.4+dfsg1-0.1) ...
Removing ssh-import-id (5.7-0ubuntu1.1) ...
Removing python3-requests-unixsocket (0.1.5-3) ...
Removing python3-requests (2.18.4-2ubuntu0.1) ...
Removing python3-certifi (2018.1.18-2) ...
Removing python3-cffi-backend (1.11.5-1) ...
Removing python3-debian (0.1.32) ...
Removing python3-chardet (3.0.4-1) ...
Removing python3-click (6.7-3) ...
Removing python3-colorama (0.3.7-1) ...
Removing python3-commandnotfound (18.04.5) ...
Removing python3-constantly (15.1.0-1) ...
Removing software-properties-common (0.96.24.32.11) ...
Removing python3-dbus (1.2.6-1) ...
Removing python3-debconf (1.5.66ubuntu1) ...
Removing python3-gdbm:amd64 (3.6.8-1~18.04) ...
Removing python3-software-properties (0.96.24.32.11) ...
Removing python3-gi (3.26.1-2ubuntu1) ...
Removing python3-hyperlink (17.3.1-2) ...
Removing python3-idna (2.6-1) ...
Removing python3-incremental (16.10.1-3) ...
Removing python3-jinja2 (2.10-1ubuntu0.18.04.1) ...
Removing python3-jsonpatch (1.19+really1.16-1fakesync1) ...
Removing python3-json-pointer (1.10-1) ...
Removing python3-jsonschema (2.6.0-2) ...
Removing python3-jwt (1.5.3+ds1-1) ...
Removing python3-libapparmor (2.12-4ubuntu5.1) ...
Removing python3-markupsafe (1.0-1build1) ...
Removing python3-netifaces (0.10.4-0.1build4) ...
Removing python3-newt:amd64 (0.52.20-1ubuntu1) ...
Removing python3-pam (0.4.2-13.2ubuntu4) ...
Removing python3-pkg-resources (39.0.1-2) ...
Removing python3-problem-report (2.20.9-0ubuntu7.9) ...
Removing python3-pyasn1-modules (0.2.1-0.2) ...
Removing python3-pyasn1 (0.4.2-3) ...
Removing python3-pyinotify (0.9.6-1) ...
Removing python3-serial (3.4-2) ...
Removing sosreport (3.6-1ubuntu0.18.04.3) ...
Removing python3-urllib3 (1.22-1ubuntu0.18.04.1) ...
Removing python3-six (1.11.0-2) ...
Removing python3-systemd (234-1build1) ...
Removing python3-twisted-bin:amd64 (17.9.0-2) ...
Removing python3-yaml (3.12-1build2) ...
Removing ufw (0.36-0ubuntu0.18.04.1) ...
Removing ca-certificates (20180409) ...
Removing dangling symlinks from /etc/ssl/certs... done.
Removing openssl (1.1.1d-1+ubuntu18.04.1+deb.sury.org+2) ...
Removing python3-distupgrade (1:18.04.34) ...
Removing python3-update-manager (1:18.04.11.10) ...
Removing python3-apt (1.6.4) ...
Removing python3-distro-info (0.18ubuntu0.18.04.1) ...
Removing lsb-release (9.20170808ubuntu1) ...
Removing python3 (3.6.7-1~18.04) ...
Removing libpython3-stdlib:amd64 (3.6.7-1~18.04) ...
Removing python3.6 (3.6.8-1~18.04.3) ...
Removing libpython3.6-stdlib:amd64 (3.6.8-1~18.04.3) ...
Removing python3-minimal (3.6.7-1~18.04) ...
Removing python3.6-minimal (3.6.8-1~18.04.3) ...
Unlinking and removing bytecode for runtime python3.6
Removing libpython3.6-minimal:amd64 (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading libssl1.1:amd64 from 1.1.1d-1+ubuntu18.04.1+deb.sury.org+2 to 1.1.0g-2ubuntu4
(Reading database ... 79708 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu4) over (1.1.1d-1+ubuntu18.04.1+deb.sury.org+2) ...
Setting up libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-66-generic
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Now sudo apt-get --yes --no-install-recommends install lighttpd php-common php-cgi php-sqlite3 was successful and after that I've managed to install Pihole.

PS: I don't recommend the solution above... way to many packages were removed during the downgrade.

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