if i press y then it is telling to insert disk what should i do?
I too received the same error message. I visited this site and this actually helped.
Just type the following line
sudo sed -i '/cdrom/d' /etc/apt/sources.list
It worked in my case