debootstrap方式安装系统时如何自动回答包的问题?
我的方式是debootstrap安装完系统后用chroot切换进去,
然后用aptitude安装,但发现有些包安装时需要向用户交互回答问题.
如何自动回答这些问题?
这些问题好像是dpkg-reconfigure之类的问题
debootstrap方式安装系统时如何自动回答包的问题?
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: debootstrap方式安装系统时如何自动回答包的问题?
尝试使用环境变量 DEBIAN_FRONTEND=noninteractive
参考
http://askubuntu.com/questions/556385/h ... eractively
http://serverfault.com/questions/227190 ... tion-steps
http://www.microhowto.info/howto/perfor ... ckage.html
http://manpages.ubuntu.com/manpages/wil ... onf.7.html
http://xmodulo.com/how-to-install-softw ... -mode.html
参考
http://askubuntu.com/questions/556385/h ... eractively
http://serverfault.com/questions/227190 ... tion-steps
http://www.microhowto.info/howto/perfor ... ckage.html
http://manpages.ubuntu.com/manpages/wil ... onf.7.html
http://xmodulo.com/how-to-install-softw ... -mode.html
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户