Reputation: 103
Folks, I've almost fully automated my script to do an initial software install from an Ubuntu 18.04 EC 2 image AWS. When I run upgrade, several package configuration windows pop up and require user interaction. Does anyone know how to bypass these messages? I appreciate your help! Best Regards, Tom
#!/bin/bash
sudo apt update && sudo apt upgrade -y
Package Configuration window that appears when you run "sudo apt upgrade"
Upvotes: 1
Views: 1082
Reputation: 3288
Try this answer from superuser
sudo apt update && sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
Upvotes: 2