Disable prompts while installing a Debian package

前端 未结 3 891
感动是毒
感动是毒 2020-12-20 00:42

How can i disable totally the prompts that appear while installing a Debian package, i\'ve used all the options that i\'ve found but there are some packages that are still p

3条回答
  •  死守一世寂寞
    2020-12-20 01:18

    You need to tell debconf to use the noninteractive frontend, like this:

    DEBIAN_FRONTEND="noninteractive" apt-get -y --allow-unauthenticated --force-yes -o DPkg::Options::="--force-overwrite" -o DPkg::Options::="--force-confdef" install x11-common
    

提交回复
热议问题