Skip to content
Advertisement

Tag: package

Force no prompt in apt-get upgrade or apt-get dist-upgrade

I’m using AWS EC2 14.04 LTS and I’m trying to run command apt-get -y upgrade or apt-get -y dist-upgrade, however, I always get prompt like this: I tried following commands and none of them work and I still get above prompt: apt-get update && apt-get -y -o Dpkg::Options::=”–force-confmiss” -o Dpkg::Options::=”–force-confdef” -o Dpkg::Options::=”–force-confnew” dist-upgrade apt-get update && apt-get -o Dpkg::Options::=’–force-confold’ –force-yes

Advertisement