PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:
W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found
How do I fix these errors?
|
PPA seems to be constantly offline. Whenever I use
How do I fix these errors? |
|||||
|
|
If you are getting a 404 error trying to obtain security or system files from an official repository (not a PPA) you can chose a different mirror to resolve this issue. You can either: A) determine one Manually by reviewing this list and choosing the most current mirror. (you may wish to take into consideration other factors such as distance and bandwidth) or B) Choose one automatically. Either way you can start with the Software & Updates application as shown below: Then Select Download from followed by Other. Then you can either manually choose the mirror of your choice from the list or click the Select best Server button which will run some tests and choose the best server for you dependent on current conditions. |
|||
|
|
Automated removalskip to the bottom of this answer for a scripted way to remove offending software-sources for all ubuntu versions prior to Ubuntu 15.04 What are 404 errors
What are the causes of these errors in update-managerTypically, three main areas cause these errors in
where are these software-sourcesPPAs typically are saved in one of two locations
This list file typically contains:
Note a How to eliminate these errorsTypically, if you run
If the error is due to a PPA - usually unticking the similarly named PPA with the URL shown in the error message will resolve this.
If the 404 error was due to an additional repository that has been added to
Scripted removal for all ubuntu versions prior to 15.04I've written a quick script that checks for PPAs and Software-Sources that exhibit the 404 errors. This works for all Ubuntu versions before 15.04. For 15.04 and later perform the manual methods described above. Its in my PPA:
You can just download the deb package and install that directly:
N.B. its the same deb package for all distributions. Questions/Comments/Improvement please via Launchpad Contact Me link How to use:
The script will automatically backup of your sources before modification - to be found in Here is a bug report on the update manager to solve this problem: If you are getting these problems without PPAs, check out this question: |
|||||||||||||||||||||
|
Automated Removal of 404 Not found PPA's through scriptThis is a script to remove automatically all the 404 Not found PPA's.Copy the below code and paste it into a file and name it as
Give execute permission to the script
Copy and paste the Usage
Script Description
Awk searches for the line which consists of For example:
5th coloumn - in that 5th column start from 26th character- This above line was stored into
awk findout out the column1 and column2 with the delimiter Now
If there are two same lines,
This command changes the colour of terminal text into white. Finally If no, it means there is no contents.So it says "No PPA's to be removed". Screenshots
|
|||||||||||||||||
|
|
The most probable that it's happening is that the PPA is not longer maintained and needs to be removed. You can do this just using:
|
|||||||||
|
|
Note that it already happened to me and I was out of these situations. And it also worked for a friend of mine. Even not being able to explain why, there is something that solved that problem:
And suddenly it worked. Do not ask me why. |
|||||||||
|
|
You are getting these errors because your PPA repositories don't provide packages for your distribution of Ubuntu (ie; Look at the following screenshots:
You can see that the directory for To get rid of these messages you have to remove these PPA repositories from your system. Follow this question on how to remove PPAs: How to investigate this and come to this conclusion?These are the error messages you receive for
Open your browser tab and open the link which gives 404 Not Found Errors. In this case |
||||
|
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?