How do you stop all interactive prompts from apt-get when installing or upgrading packages?I'm trying to write a non-interactive script to install packages on servers, whenever an upgrade requires installing a new kernel, apt-get always ignores the -y option and prompts me on what option to take to update grub.lst. I always want to install the package maintainer's version. How do I disable this prompt?
Stop interactive prompts from apt-get
ubuntu;apt;package management