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

Note: If you have lost and want to recreate your /etc/apt/sources.list file, please use the Ubuntu Source Generator, with the appropriate choices. Warning: any custom repositories you added to your old sources.list (but not PPAs) will be lost.

Where can the original /etc/apt/sources.list be found?

I know some forum posts and third party sites pasting it's contents, but what is the official source for this file?

It must be somewhere on

share|improve this question
up vote 7 down vote accepted

It is generated by the installer.

If you use Ubiquity (the live one), you can see how in launchpad.

I didn't dig for the classic installer, debian-installer.

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.