Problem: I tried to run the apt-getupdate command to synchronize the index file of the package again, but the error & ldquo; 404 cannot be found, it seems that I cannot obtain the latest index from the third-party PPA repository previously added. How can I clear these broken and outdated PPA warehouses? Errhttp: // ppa. launchpad. nettrusty/mainamd64Packages404NotFound
Problem: I tried to synchronize the package index file again by running the apt-get update command, but the error "404 cannot be found" occurred, it seems that I cannot obtain the latest index from the third-party PPA repository previously added. How can I clear these broken and outdated PPA warehouses?
Err http://ppa.launchpad.net trusty/main amd64 Packages 404 Not FoundErr http://ppa.launchpad.net trusty/main i386 Packages 404 Not FoundW: Failed to fetch http://ppa.launchpad.net/finalterm/daily/Ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not FoundW: Failed to fetch http://ppa.launchpad.net/finalterm/daily/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not FoundE: Some index files failed to download. They have been ignored, or old ones used instead.
When you try to update the APT package index, the "404 cannot be found" error always occurs after the version is updated. That is to say, after you upgrade your Ubuntu release, some third-party PPA repositories you added to the old version will no longer be supported by the new version. In this case, you canIdentify and clear damaged PPA warehouses.
First, find the PPA that cause "404 cannot be found" error.
- $ Sudo apt-get update | grep "Failed"
In this example, the PPA repository that Ubuntu Trusty no longer supports is "ppa: finalterm/daily ".
Remove the PPA repository.
- $ Sudo add-apt-repository -- remove ppa: finalterm/daily
You have to repeat and repeat it to remove all the obsolete PPA repositories found above one by one.
After removing all obsolete PPA repositories, run the "apt-get update" command again to check whether they are successfully removed.
How to add a software source http://www.linuxidc.com/Linux/2011-05/36409.htm to PPA in Ubuntu
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/107055.htm