Using aptdcon from a script is useful to avoid collisions between 2 scripts updating a linux box at the same time. The problem is that this line:
sudo aptdcon --install "python-virtualenv"
It is asking for confirmation:
The following NEW package will be installed (1):
python-virtualenv
Do you want to continue [Y/n]?
It used to work fine (without asking for confirmation) on Ubuntu 14.04.
How could I make it work in a non-interactive way?