sudo apt-get update not working [duplicate]
By Sophia Bowman
Err utopic/main amd64 Packages 404 Not Found
Get:63 utopic/universe Sources [6,736 kB]
Err utopic/main i386 Packages 404 Not Found
W: Failed to fetch 404 Not Found
W: Failed to fetch 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.What to do in this case ??
01 Answer
Follow following steps
First Backup your old sources.list,
mv /etc/apt/sources.list /etc/apt/sources.list.backCheck your OS version, Release
lsb_release -rGo to
Select Country
Select Ubuntu Release
Select Your choice. Important is first 12 and choose whatever you require
Generate new sources list
Open your editor like vi or vim
vim /etc/apt/sources.listSave the file
Retry with
sudo apt-get update