2

This question already has an answer here:

where can I find the good sources.list for 16.04.1? I messed it up and do not make a backup. Please let me know where I can find the good one?

marked as duplicate by Videonauth, Rinzwind, Byte Commander, WinEunuuchs2Unix, muru Dec 24 '16 at 4:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5

To restore your sources list you can simply paste the following into /etc/apt/sources.list:

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

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