Use the Ubuntu Sources List Generator.
- Run
sudo -H nautilus
in terminal - Find
/etc/apt/sources.list
- Right click and open the file with a text editor (if you click on it, it will open the software sources GUI)
- Simply copy and paste into the
sources.list
and save. - Exit terminal and you’re done.