Sometimes when running the "sudo apt-get update" command from the terminal we may get this kind of error:

Failed to fetch ppa (...)

These errors don't cause any harm to your system, but if you are annoyed by them and want to remove them completely under Ubuntu 14.10/14.04 or older then follow the below instructions.

Method 1

Launch Sofwtare Sources from the terminal using this command:

gksudo software-properties-gtk

Open the "Other Sources" tab then search and remove the PPA(s) causing 404 not found errors:

When you finish close the window and run this command:

sudo apt-get update

Method 2

You can also remove 404 sources using banish404. You can install it under Ubuntu with these commands:

sudo add-apt-repository ppa:fossfreedom/packagefixes 
sudo apt-get update 
sudo apt-get install banish404

Then run this command:

sudo banish404

The script will make a backup of your current sources before removing any not found PPA:

Post a Comment