gpt4 book ai didi

mysql - debconf : unable to initialize frontend: Dialog

转载 作者:可可西里 更新时间:2023-11-01 07:22:06 35 4
gpt4 key购买 nike

我正在使用 packer 构建我自己的 ubuntu VM主持Atlas我正在使用 packer build template.json 来测试如果我使用 packer push template.json 是否会成功我运行 mysql.sh脚本。

virtualbox-iso: debconf: unable to initialize frontend: Dialog
virtualbox-iso: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
virtualbox-iso: debconf: falling back to frontend: Readline
virtualbox-iso: Configuring mysql-server-5.6
virtualbox-iso: ----------------------------
virtualbox-iso:
virtualbox-iso: While not mandatory, it is highly recommended that you set a password for the
virtualbox-iso: MySQL administrative "root" user.
virtualbox-iso:
virtualbox-iso: If this field is left blank, the password will not be changed.
virtualbox-iso:

debconf: 我缺少什么

谢谢。

最佳答案

可以加吗

export DEBIAN_FRONTEND="noninteractive"

在运行脚本之前

关于mysql - debconf : unable to initialize frontend: Dialog,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34773745/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com