Error installing ERPNext on Ubuntu 14.04

I am getting the following error when running the command: sudo bash --setup-production

W: Failed to fetch 404 Not Found [IP: 80]
W: Failed to fetch 404 Not Found [IP: 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

@jawad I use Centos7 so am not an Ubuntu expert.
If the install completes I wouldn’t worry about that error as you are using Ubuntu 14.04 (Trusty Tahr) not Ubuntu 15.10 (Wily Werewolf) . So no problem.
Make sure you
sudo apt-get update # Fetches the list of available Ubuntu updates
sudo apt-get upgrade # Upgrades the current Ubuntu packages
sudo reboot After major Kernel changes
Hope this helps.

Thanks. I got the solution. There was problem in the sources.list file.
I changed it and the installation successfully completed.