Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ubuntu 12.04 lts and i need the correct output because i edited it because it wasn't working but it has only made it worse thank you for your help

share|improve this question
Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) ) – Rinzwind Apr 3 '14 at 20:15
It will depend where you are as you will be using a server close to but I live in the UK and mine is here – Warren Hill Apr 3 '14 at 20:18
More or less the same with French mirrors: – Sylvain Pineau Apr 3 '14 at 20:21

Here is a simple example of a typical /etc/apt/sources.list file for Ubuntu 12.04. The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:

sudo nano /etc/apt/sources.list  

The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.

Source: Configuration - Official Ubuntu Documentation

share|improve this answer

Your Answer


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.