Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Ubuntu Server 12.04 on my spare box, and I'm using a command line interface only to get my feet a little wet. ping google.com does work, so I know my connection is up and running. At first, sudo apt-get update gave me a 404 error, so I followed this advice and added those lines to my sources.list file. While I no longer get the 404 error, I now get many errors like the following one:

Err mirror://mirrors.ubuntu.com precise-updates/restricted i386 packages
No mirror file '/var/lib/apt/mirrors/mirrors.ubuntu.com_mirrors.txt' found [Mirror:]

I get this error with /restricted, as in above, and also with /universe and /multiverse.

I also get this error with precise-updates, as in above, and also with precise-backports and precise-security. I suppose this makes sense, since this is everything that was added into sources.list, but I have no idea where to go from here since searching yields nothing, or if the problem is on my end or theirs.

share|improve this question
    
Please, add the content of your /etc/apt/sources.list file in your question. –  Lucio Feb 25 '13 at 23:24
    
Do you need any specific part of it? As far as I know, there is no way to email this file to my other computer to paste on here without updating first. I can copy it by hand, but it will take a few minutes. –  Daniel Ward Feb 25 '13 at 23:58
    
Oh, sorry. I thought that you were using the computer with the problem. I want to know how did you added the lines. Did you c/p at the top of the file without add/modify nothing else? –  Lucio Feb 26 '13 at 0:01
    
I just added them in at the top of the file without changing anything else. –  Daniel Ward Feb 26 '13 at 0:03
    
Ok, that is fine. Also, to solve the 404 error, you should follow the instructions of this dedicated post. The mirrors post are for preference. Remove those lines leaving the file as it was before and tell me what happens when you try to update. –  Lucio Feb 26 '13 at 0:03

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.