I installed Ubuntu 15.04, then I updated it and restarted. After that I can't install anything from terminal using
apt-get install [package-name]
For every package it says
Unable to locate package [package-name]
It happened right after I upgraded to Ubuntu 15.04, immediately after its installation.
Is there any solution other than formatting the drive and reinstalling Ubuntu?