无法安装 pihole 并给出错误无法初始化前端:对话框

无法安装 pihole 并给出错误无法初始化前端:对话框

运行此命令后:

$ 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 安装。

相关内容