This post is older than a year. Consider some information might not be accurate anymore.
The Debian Sources List Generator generates a sources.list
file for apt (Advanced Packaging Tool). You can selected various options for each respective Debian version. Very useful is your apt is corrupted or was falsely deleted.