Debian

How big can my sources.list be?

Hi,

I often end up with missing packages that are on packages.debian.org 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.

Thanks!

My current sources.list:

deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://ftp.debian.org/debian jessie-backports main
deb http://download.virtualbox.org/virtualbox/debian stretch contrib


View Reddit by cacabuzzView Source

Sending
User Review
0 (0 votes)

3 Comments

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 packages.debian.org 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.