I have encountered a problem when using the terminal to install programs. Whenever a yes/no option like the one below appears, not just with this program, but with any I try, the terminal stops after I have selected yes and will do nothing. I have even left it on for 3 hours just in case it was going slow, but to no avail.
So my question is, what do I do to fix this or get around it?