Installation of Pi Hole fails


i am trying to install pi-hole in an LXC container on my Omnia. However, the installation fails.
These are the last few lines of the output:

[✓] Update local cache of available packages

  [✗] Checking apt-get for upgraded packages
      Kernel update detected. If the install fails, please reboot and try again

  [i] Installer Dependency checks...
  [✓] Checking for apt-utils
  [✓] Checking for dialog
  [✓] Checking for debconf
  [✓] Checking for dhcpcd5
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for whiptail

  [✓] Stopping dnsmasq service...

  [✓] Stopping lighttpd service...
  [i] Using Google DNS servers
  [i] Static IP already configured
  [i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
  [i] IPv4 address:
  [i] IPv6 address:
  [i] Web Interface On
  [i] Logging On.
  [✓] Check for existing repository in /etc/.pihole
  [✓] Update repo in /etc/.pihole

  [✓] Check for existing repository in /var/www/html/admin
  [✓] Update repo in /var/www/html/admin

  [i] Main Dependency checks...
  [✓] Checking for bc
  [✓] Checking for cron
  [✓] Checking for curl
  [✓] Checking for dnsmasq
  [✓] Checking for dnsutils
  [✓] Checking for iputils-ping
  [✓] Checking for lsof
  [✓] Checking for netcat
  [✓] Checking for sudo
  [✓] Checking for unzip
  [✓] Checking for wget
  [✓] Checking for idn2
  [✓] Checking for lighttpd
  [✓] Checking for php-common
  [i] Checking for php-cgi (will be installed)
  [i] Checking for php-sqlite3 (will be installed)

This is reconstructible, multiple runs of the installation script result in the same output. Pi Hole isn’t fully installed after this, lighttpd isn’t started or reconfigured. The line “Kernel update detected, if install fails reboot and try again” is meaningless, i rebooted my Omnia because of this, the only result is this line disappearing, but the install failing anyways.

The LXC container is running Debian Stretch. Any help?

OK maybe try run apt-get update and apt-get upgrade and after that run the installation again - same thing happened to me a month ago.

After that it should be OK it’s because those two items in the list with “will be installed”.

Just wondering why do you need pi-hole when knot resolver does exactly the same thing.
Take a look below. For me it works fine.

Because of the GUI and easy settings, navigation, graphs, statistics, logs etc. It’s complete and working solution. I don’t want to do everything in command line (I can do that in a work whole day, not at home).