I'm trying to provision a machine using Vagrant and plain bash scripts.
The two lines are:
DEBIAN_FRONTEND=noninteractive apt-get update DEBIAN_FRONTEND=noninteractive apt-get upgrade -yq
However, it doesn't work as expected:
default: Configuration file '/etc/update-manager/release-upgrades' default: ==> Modified (by you or by a script) since installation. default: ==> Package distributor has shipped an updated version. default: What would you like to do about it ? Your options are: default: Y or I : install the package maintainer's version default: N or O : keep your currently-installed version default: D : show the differences between the versions default: Z : start a shell to examine the situation default: The default action is to keep your current version. default: default: *** release-upgrades (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package ubuntu-release-upgrader-core (--configure): default: default: end of file on stdin at conffile prompt
Is there any other option I could use to provide a
Y answer to that?