停止apt-get的交互式提示


10

apt-get在安装或升级软件包时,如何停止所有交互式提示?

我试图编写一个非交互式脚本来在服务器上安装软件包,每当升级需要安装新内核时,apt-get总是会忽略该-y选项,并提示我选择哪种选项来更新grub.lst。我一直想安装软件包维护者的版本。如何禁用此提示?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.