How can I fix a 404 Error when using a PPA or updating my package lists?


Answer #: 1

skip to the bottom of this answer for a scripted way to remove offending software-sources

The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.

The web site hosting server will typically generate “404 – Page Not Found” web page, when users attempts to follow a broken or dead link.

Typically, three main areas cause these errors in update-manager

A user has just upgraded and has re-enabled a PPA software-source that no longer exists A user has manually typed in a new software source incorrectly A PPA was added, but the maintainer has subsequently deleted some/all of the PPA

PPAs typically are saved in one of two locations

/etc/apt/sources.list in an appropriately named file with a .list file-extension in /etc/apt/sources.list.d/ for example webupd8team-jupiter-natty.list

This list file...

0 0
0 0
Fix a 404 Error when using a PPA or updating package lists. Solve PPA “404 Not Found” error when running “apt-get update”. This tutorial explains how to fix 404 Error using the Ubuntu archives?

What are 404 errors

The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested. It is similar to website 404 error. The web site generates “404 – Page Not Found” web page error, when there is a broken or dead link.

What are the causes of 404 errors

There are various causes of these 404 errors in update-manager. But the important three main causes are:

User has just upgraded and has re-enabled a PPA software-source that no longer exists User has manually typed in a new software source incorrectly enter image description here PPA was added, but the maintainer has subsequently deleted some/all of the PPA

PPAs typically are saved...

0 0

Ubuntu 15.04 PPA install - Recherche Google. Not Found - Recherche Google. Launchpad. Apt - How can I fix a 404 Error when using a PPA or updating my package lists? How to Fix Broken Packages in Ubuntu [Quick Tip] If a package installation fails in Ubuntu, it can cause a package manager to freeze or become locked.

When you start Ubuntu Software Center, it asks you to press button to repair broken packages in your system, but it does not always work. Here are a few tips show you how to fix broken packages in command line. To get started, open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard: 1. If a package installation fails due to dependencies issue, run below command in...

0 0

Entering the wrong PPA (Private Package Repository) in the Ubuntu Terminal results in a 404 Not Found error. This error can result in the slow down of the apt-get update and seems pretty annoying. Fix404 PPA is a script which disables the PPAs that cause 404 Not Found errors. It provides the convenience of not having to disable faulty PPAs from Software Sources. Fix 404 PPAs checks for 404 messages for PPAs and alerts you to disable them.

Fix 404 can be installed in Ubuntu 11.04 Natty by entering the following commands in the Terminal:

sudo apt-add-repository ppa:lkjoel/fix404 sudo apt-get update sudo apt-get install fix404

If you are using a pre-Natty version, a Deb package can be downloaded from the Launchpad link given at the end of this post. If you would like to try out a software which can help you easily search and add application PPAs from Launchpad, then check out YPPA Manager.

Get rid of those PPAs which cause the annoying 404 Not Found error...

0 0

Problem: Ubuntu Update Manager pops up regularly to remind you of the updates available. Last time it popped up and I installed all the updates, then I noticed this strange message in the Update Manager:

Software updates may be available for your computer.
The Package information was last updated X days ago.
Press the ‘check’ button below to check for new software updates.

This was interesting as clicking on the Check button did nothing but the same message was displayed again. Couple of days later I saw some updates available but after installing the updates I saw the same message again:

What is causing this error? After researching a bit, I found out that there were “sources” other than Canonical (Ubuntu’s official sources) which I had added over the time to install some great indicator applets from private PPAs on my Ubuntu 12.04. Some of these PPAs were old and was meant for earlier version of Ubuntu or they were simply broken. This...

0 0

Fixes a problem where you receive an HTTP 404 error message in a Content Management Server 2002 Standard Edition Web site when a user account is removed.

Web servers can typically be configured to display a customised 404 error page, including a more natural description, the parent site's branding, and sometimes a site ...

How To Troubleshoot and Fix WordPress 404 Errors (Plus an Essential Tip on Redirects) ... A 404 error is generated by your server when a requested URL is not found.

Few things more frustrating for both visitors and search engines than to hit a 404 error page. Good website maintenance prevents this.

How To Fix 404 Errors In WordPress With Plugins. If you are familiar with the...

0 0

This article was originally written for Ubuntu 13.04 but it is equally able to fix “Failed to download repository information” issue in Ubuntu 14.04 as well as Linux Mint 17 and other Linux distributions and versions.

Continuing my journey with Ubuntu 13.04 beta, I stumbled across an update problem. I noticed that for past couple of days, Ubuntu had not notified me of any available updates. Considering that I was using the beta version, it felt very weird not to have any update notifications. This is why I decided to check for any available updates on my own. I ran the Software Updater and after checking for updates it threw up this error:

Failed to download repository information. Check your internet connection.

In this tutorial, I’ll show you how to fix this update problem in Ubuntu.

How To Fix “Failed to download repository information” Update error:

As there is no more information available in the Software Updater GUI about the cause...

0 0

On Red Hat based systems such as RHEL, CentOS or Fedora, yum is used as a package management tool for installing, updating and removing RPM packages. When you try to install a package with yum command, you may encounter errors for various reasons. In this post, I will describe several common error symptoms for the yum command, and explain how to fix yum errors.

1. Fix 404 Errors

Symptom: When you try to install a package with yum, yum throws an error: "The requested URL returned error: 404
Not Found"

Loaded plugins: fastestmirror base | 3.7 kB 00:00 base/primary_db | 4.4 MB 00:09 extras | 3.5 kB 00:00 [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror....
0 0

If you type the wrong PPA address when adding a PPA or you add a PPA that doesn't provide packages for your Ubuntu version, you'll get a "404 Not Found" error message when running "apt-get update".

These errors are pretty much harmless (though they probably slow down "apt-get update" a bit) but if you want to get rid of them anyway, you must disable the PPAs that cause the 404 errors via Software Sources. If you want an easier, automated way to disable the PPAs that cause these errors, give "fix404" a try.

"fix404" is a simple script that checks for "404 not found" messages for all the PPAs added to your software sources and prompts you to disable them:

"fix404" will prompt twice for each PPA - that's because it needs to disable both the binary and the source line.

By the way, if you want to check which Ubuntu versions are supported by each PPA you've added, use "checklp".


The "fix404" PPA is only available for Ubuntu 11.04...

0 0

Automated Removal of 404 Not found PPA's through script

This 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 ppa-remove.

#!/bin/bash sudo rm /tmp/update.txt; tput setaf 6; echo "Initializing.. Please Wait" sudo apt-get update >> /tmp/update.txt 2>&1; awk '( /W:/ && /launchpad/ && /404/ ) { print substr($5,26) }' /tmp/update.txt > /tmp/awk.txt; awk -F '/' '{ print $1"/"$2 }' /tmp/awk.txt > /tmp/awk1.txt; sort -u /tmp/awk1.txt > /tmp/awk2.txt tput sgr0 if [ -s /tmp/awk2.txt ] then tput setaf 1 printf "PPA's going to be removed\n%s\n" "$(cat /tmp/awk2.txt)" tput sgr0 while read -r line; do echo "sudo add-apt-repository -r ppa:$line"; done < /tmp/awk2.txt > out bash out else tput setaf 1 echo "No PPA's to be removed" tput sgr0 fi

Give execute permission to the script

sudo chmod +x ppa-remove

Copy and paste the ppa-remove file into /usr/bin directory.So that you can access it from...

0 0

I’ve compiled a small list of things that I always perform after installing a fresh copy of Kali Linux in this post. Because I got multiple laptops and workstations, I’ve tried to generalize the following instructions to suit everyone’s(including mine??) requirements. This is my top list of 20 things to do after installing Kali Linux. Your requirement’s might be completely different. If you have a suggestion, let me know via comments section. You can comment without registering.. so that’s an easy way to give me feedback and opinion.

WARNING: Following guide was written and tested for Kali Linux 1.x. I am working best to write a guide on Kali Linux 2.0 – Kali Sana. Use this guide at your own risk for Kali Linux 2.0 – Kali Sana.

Standard Packages:

Standard packages contains anything and everything I found useful. This list if divided into 3 parts:

Kali Linux is a special build from Debian. Kali Linux inherits a lot of the issues from Debian...

0 0

When I run sudo apt update on my Ubunutu 16.04 LTS Server with MAAS installed I get the following error message:

graeme@MAAS:~$ sudo apt update Hit:1 xenial InRelease Hit:2 xenial-security InRelease Ign:3 xenial InRelease Hit:4 xenial-updates InRelease Err:5 xenial Release 404 Not Found Hit:6 xenial-backports InRelease Reading package lists... Done E: The repository ' xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

Is this something I should ignore or try and...

0 0

I can use my mobile broadband to access Internet with Firefox but when I want to install any package from terminal or make 'apt-get update' command I got the following error:

got 'NODATA' (does the network require authentication?)

apt-get update output:

Get:1 trusty InRelease [213 B] 98% [1 InRelease gpgv 213 B] [Connecting to] Splitting up /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease into data Ign trusty InRelease E: GPG error: trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

output of `cat /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease


Not Found

output of wget:

wget -O - --2014-06-01 09:23:35-- Resolving (
0 0

Go to

Select your Country and Ubuntu Release.

For the default set of repositories, you need to enable these repositories.

All of the Ubuntu Branches repositories. Security - Important Security Updates. Security Sources Repository Updates - Recommended Updates Updates Sources Repository

If you want to install software from Canonical Partner Repositories (closed source software), enable the Ubuntu Partner Repositories (both of them).

Enable any 3rd party repository you wish to enable.

Now, click the Generate List button at the bottom of that page and you'll see your generated sources.list.

Replace the old sources.list with the new one

Run the following commands in a Terminal.

sudo mv /etc/apt/sources.list /etc/apt/sources.list.old gksudo gedit /etc/apt/sources.list

Copy/paste all the text from the newly generated sources.list to this file. Save it and close Gedit.

Now, update apt.

0 0

I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just launchpad. Additionally, I've tried several different servers in Europe and the U.S. as well as the "main server" (wherever that is) and they all yield the same result: I can't connect to any software sources.

Additionally, I'm fairly certain the problem stems from the upgrade from 11.10->12.04 I performed this morning, as updates worked immediately before.

Updates from the Update Manager worked fine and I could download some things (mutter) from the Software Center without incident, which makes me think I can connect to some subset of the Ubuntu servers (however, several other Ubuntu servers--like extras--and some canonical servers are listed as 'unable to connect').

Here is the output from sudo apt-get update:

sudo apt-get update Ign
0 0