apt-get: How to bypass pressing ENTER

Viewed 4882

I get Press [ENTER] to continue or ctrl-c to cancel adding it while using apt-get in CircleCI. How can I bypass it automatically?
I tried to use -y but no effects!

2 Answers
Related