Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have recently received the following error message when I try to check for updates: I have tried the various solutions from previous posts but none seem to change the outcome. Any help will be greatly appreciated. I have removed the http:// from the hyperlinks because I can't send more than 2 I am using Ubuntu 12.04 LTS

W:Failed to fetch http://ppa.launchpad.net/lkjoel/apt-undo/ubuntu/dists/precise/main/source/Sources  404  Not Found
, W:Failed to fetch http://ppa.launchpad.net/lkjoel/apt-undo/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found
, W:Failed to fetch ppa.launchpad.net/unity-team/hud/ubuntu/dists/precise/main/source/Sources  404  Not Found
, W:Failed to fetch ppa.launchpad.net/unity-team/hud/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources  404  Not Found
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-i386/Packages  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-i386/Packages  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/source/Sources  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/binary-i386/Packages  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-security/multiverse/binary-i386/Packages  404  Not Found 
, W:Failed to fetch archive.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-i386/Packages  404  Not Found 
, E:Some index files failed to download. They have been ignored, or old ones used instead.
share|improve this question
Something is very wrong with your setup. You have sources from multiple versions. – pbfy0 Dec 23 '12 at 13:44
@ArfanNazar If the existing answers have not enabled you to fix the problem, please open a Terminal window (Ctrl+Alt+T) and run lsb_release -a; echo; cat /etc/apt/sources.list. Then select all the text in the Terminal, copy it to the clipboard, edit your question, and paste it in (adding it to the question without removing any of the information that's already there). This should enable us to give you a specific, complete procedure for fixing your problem, as it will tell us what version your system is (or thinks it is) and information about the way your primary software sources are setup. – Eliah Kagan Dec 23 '12 at 14:21

3 Answers

TRY: sudo rm -rf /etc/apt/sources.list.d/*. I've encountered same problem long time ago and that's what i did. The main reason could be, you changed your sources.list in /etc/apt/ by the sources.list you saved in you. Then sudo apt-get update to see the result.

share|improve this answer
there are many other lines of similar errors most from maverick event though I am on 12.04 lts – Arfan Novice Dec 23 '12 at 14:21
Thanks I tried the first command sudo rm -rf /etc/apt/sources.list.d/* and then command sudo apt-get update but get a list of errors 404 file not found just like before – Arfan Novice Dec 23 '12 at 14:26

Hi actually that URL belongs to Maverick i.e Ubuntu 10.10 which now in EOL .

https://wiki.ubuntu.com/Releases

Ubuntu will provide the updates only for the versions which are in support-list of the above link . Every version can run only for 18 months .

more information on Ubuntu Releases you can find in the above link .

hope that helps .

I suggest you to upgrade for latest version by looking at the list .

share|improve this answer
Thanks, so if I # out the lines for 'maverick' sources in sources.list it should download the updates as before? I will try it out. – Arfan Novice Dec 23 '12 at 14:23
if you put # then that would consider as URL and nothing you will get from that , because when it came to # its not going to read it because it will consider it as comment . – Jai Dec 23 '12 at 14:40
sorry I meant if I put a # before the url then it should ignore the line, since maverick is EOL. Because I have maverick url links maybe this is why I am getting 404 file not found errors? – Arfan Novice Dec 23 '12 at 16:47
Yes because of them only . – Jai Dec 24 '12 at 2:04

select Ubuntu Software Center >> Software Source >> Change server >>choose best server It is definitely work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.