![无法安装 pihole 并给出错误无法初始化前端:对话框](https://linux22.com/image/1171200/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20pihole%20%E5%B9%B6%E7%BB%99%E5%87%BA%E9%94%99%E8%AF%AF%E6%97%A0%E6%B3%95%E5%88%9D%E5%A7%8B%E5%8C%96%E5%89%8D%E7%AB%AF%EF%BC%9A%E5%AF%B9%E8%AF%9D%E6%A1%86.png)
运行此命令后:
$ curl -L install.pi-hole.net | bash
它被卡住了
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Installing packages
-------------------
..100%
但我已经安装了 debconf,仍然说无法初始化前端
答案1
我建议安装安装脚本中提到的两个对话框包:
sudo apt-get install dialog whiptail
然后重试 piHole 安装。