sudo apt-get update not working [duplicate]
Err http://ppa.launchpad.net utopic/main amd64 Packages
404 Not Found
Get:63 http://in.archive.ubuntu.com utopic/universe Sources [6,736 kB]
Err http://ppa.launchpad.net utopic/main i386 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-i386/Packages 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 ??
Solution 1:
Follow following steps
First Backup your old sources.list,
mv /etc/apt/sources.list /etc/apt/sources.list.back
-
Check your OS version, Release
lsb_release -r
Go to http://repogen.simplylinux.ch/
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.list
Save the file
Retry with
sudo apt-get update