AddictiveTips published a tutorial about edit the sources list in Ubuntu Linux.
Ubuntu: sources list editing [Guide]
If you need to edit the software sources list on your Ubuntu PC to add a repo, disable an existing repo, or remove a repo altogether but don't quite
Ubuntu: sources list editing [Guide]