Stuck at 0% [waiting for headers]
Try to change the server selecting update manager, definitions,downloading from, then select a server more near you. and then try again.
Edit: see this link on how to add it by editing sources.list. How can I get apt to use a mirror close to me, or choose a faster mirror?
The easiest approach consist of following commands:
sudo apt-get clean
&
sudo apt-get update
then
sudo apt-get install <package_name>
Cheers
Let me know if it works