Use the Ubuntu Sources List Generator.
- Run
sudo -H nautilusin 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.listand save. - Exit terminal and you’re done.