pi-hole/pi-hole

Installation fails

LeoHobi opened this issue · 1 comments

Versions

fail to install, no version available

Platform

Ubuntu 22.04 LTS

Expected behavior

installation should not fail

Actual behavior / bug

installation fails

Steps to reproduce

Steps to reproduce the behavior:

  1. run curl -sSL https://install.pi-hole.net | bash
  2. Click on through the wizzard
  3. See error log
[✓] Root user check

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

  [i] SELinux not detected
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 8.1.2-1ubuntu2.14

  [✓] Checking apt-get for upgraded packages... 17 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [i] Checking for / installing Required dependencies for OS Check...
  [✓] Checking for grep
  [✓] Checking for dnsutils

  [✓] Supported OS detected
  [i] Checking for / installing Required dependencies for this install script...
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for dialog
  [✓] Checking for ca-certificates

chooseInterface
  [i] IPv4 address: 192.168.52.23/24
  [i] Found IPv6 GUA address
  [i] IPv6 address: 2003:ec:374a:fe00:baae:edff:feea:7f6e
  [i] Using upstream DNS: Level3 (4.2.2.1, 4.2.2.2)
  [i] Installing StevenBlack's Unified Hosts List
setAdminFlag
  [i] Query Logging on.
  [i] Using privacy level: 0
  [✓] Check for existing repository in /etc/.pihole
  [i] Update repo in /etc/.pihole...HEAD is now at 19bfa08 Pi-hole core v5.17.3 (#5520)
  [✓] Update repo in /etc/.pihole

  [✓] Check for existing repository in /var/www/html/admin
  [i] Update repo in /var/www/html/admin...HEAD is now at be05b0f v5.21 (#2860)
  [✓] Update repo in /var/www/html/admin

  [i] Checking for / installing Required dependencies for Pi-hole software...
  [✓] Checking for cron
  [✓] Checking for curl
  [✓] Checking for iputils-ping
  [✓] Checking for psmisc
  [✓] Checking for sudo
  [i] Checking for unzip (will be installed)
  [i] Checking for idn2 (will be installed)
  [✓] Checking for libcap2-bin
  [i] Checking for dns-root-data (will be installed)
  [✓] Checking for libcap2
  [✓] Checking for netcat-openbsd
  [✓] Checking for procps
  [i] Checking for jq (will be installed)
  [i] Checking for lighttpd (will be installed)
  [✓] Checking for php8.1-common
  [i] Checking for php8.1-cgi (will be installed)
  [i] Checking for php8.1-sqlite3 (will be installed)
  [✓] Checking for php8.1-xml
  [✓] Checking for php8.1-intl
  [i] Waiting for package manager to finish (up to 30 seconds)
  [i] Processing apt-get install(s) for: unzip idn2 dns-root-data jq lighttpd php8.1-cgi php8.1-sqlite3, please wait...
----------------------------------------------------------------------
E: Held packages were changed and -y was used without --allow-change-held-packages.

This is an OS-level issues with held-back packages. Please ask for help at our support forum at https://discourse.pi-hole.net/