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

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 ubuntu.com?

share|improve this question

1 Answer 1

up vote 6 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.