How big can my sources.list be?


I often end up with missing packages that are on but not accessible for download from shell. Is there a way to add every packages on debian’s website? I end up opening up my browser and manually downloading stuff all the time.

I can’t find anything regarding this.


My current sources.list:

deb stretch main contrib non-free
deb-src stretch main contrib non-free

deb stretch/updates main contrib non-free
deb-src stretch/updates main contrib non-free

deb stretch-updates main contrib non-free
deb-src stretch-updates main contrib non-free

deb jessie-backports main
deb stretch contrib

View Reddit by cacabuzzView Source

User Review
0 (0 votes)


Click here to post a comment

  • It’s not a matter of how big your sources.list can be, it’s a matter of using the appropriate repositories.

    If you are seeing packages with apt then that means these packages you are downloading via your browser are not in the stretch repos. They are probably on testing or Sid. If you regularly need these more up to date or missing packages you may want to consider upgrading your stretch installation to testing.

    Alternatively if the packages you want are in the stretch-backports repo that would be the preferred source to get them from if you don’t actually want to use Debian testing.

  • > I often end up with missing packages that are on but not accessible for download from shell.

    There can be three different reasons for that:

    * The package is in a component of the repository that you don’t have enabled. There are only three components (main, contrib, and non-free) and you have all of them, so this is not the cause of the problem.
    * The package is in the backports-repository for your distro. The solution here is to simply add the backports repository.
    * The package is in the repository for a different version of Debian. The solution here is not to install the package.