Package 'dialog' has no installation candidate

I was unable to install PI-HOLE I was having problems with sudo apt update after several days I managed to update, and then I managed to make another progress in the installation, but unfortunately one more error haunts me: "Package 'dialog' has no Installation Candidate ". I don't know what I do anymore

Details about my system:

No LSB module is available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

What I've changed since installing Pi-hole:
I haven't been able to install it yet

  [i] SELinux not detected
  [✓] Update local cache of available packages
  [✓] Checking apt-get for upgraded packages... up to date!
  [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
  [i] Checking for dialog (will be installed)
  [✓] Checking for ca-certificates
  [i] Waiting for package manager to finish (up to 30 seconds)
  [i] Processing apt-get install(s) for: dialog, please wait...
----------------------------------------------------------------------
E: Package 'dialog' has no installation candidate

I tested:
apt-cache policy dialog
dialog:
Installed: (none)
Candidate: (none)
Version table:

Until apt update completes normally, our installer will not continue.

Run apt update and inspect the output. Then visit the Ubuntu forums for any errors you see.

After you get the process to complete, rerun the Pi-hole installer.

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