# Apt install shell command hangs on configuration screen due to waiting on user input

**URL:** <https://discuss.hashicorp.com/t/apt-install-shell-command-hangs-on-configuration-screen-due-to-waiting-on-user-input/41439>\
**Category:** Vagrant\
**Created:** [June 30, 2022, 6:30am UTC](https://discuss.hashicorp.com/t/apt-install-shell-command-hangs-on-configuration-screen-due-to-waiting-on-user-input/41439 "2022-06-30T06:30:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mi-pacman](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/mi-pacman/32/29104_2.png) [@mi-pacman](https://discuss.hashicorp.com/u/mi-pacman)\
**Post date:** [June 30, 2022, 6:30am UTC](https://discuss.hashicorp.com/t/apt-install-shell-command-hangs-on-configuration-screen-due-to-waiting-on-user-input/41439/1 "2022-06-30T06:30:02Z")

</div>

Hi,

My vagrant provisioning script won’t progress due to waiting on user input. The line is “apt install -y apt-cacher-ng”. The only problem is that it usually brings up a full screen message asking me to select yes or no however it doesn’t bring the screen up when running the provisioning script. The image below shows what usually comes up and the next image shows where it gets stuck. Does anyone know how to automatically select “No” in the first picture without my input?

 ![image](https://global.discourse-cdn.com/hashicorp/original/3X/6/2/6247700b9fea4dbf620490d07c76d7bbebf5613b.png)

 ![image](https://global.discourse-cdn.com/hashicorp/original/3X/6/c/6cf9f2dbe8e4bfffe7bf77e8ec5043f92641a104.png)
