If you use a "testing" version it is assumed you know what to do with it and many will likely not give an answer to such a rudimentary question, but you should find this debian wiki page (first hit on google for "debian stretch repo") useful.

and comment out the lines for CD , unless they are going to install more packages from a CD.

This is something that maybe should of been read before deciding to intsall Strectch, whichis still "testing" at this time. https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.htmlIt does not look like the OP has really done anything as far as searches and readingabout Debian before they installed,... That is ok, we understand, people that are new to Debian, and linux don't seem to realize it is expected, or don't know how,...any way here is some more to help you get started. To search, just put your question into a search engine, I like start page:Which repos I should use on Debian (Stretch) ? Be precise, there are many Linux distros, and most , if not all use a "sources.list", butit is different in every distro. Results: first hit, all ready mentioned: https://wiki.debian.org/SourcesList

But actually before adding any new sources, one should read this first:https://wiki.debian.org/DontBreakDebianIt was the second hit on my search. Since the OP is using Debian testing, they should read this as well :https://wiki.debian.org/DebianTestingIt was the 4th hit,... Stay away from anything that claims it can Auto generate the sources.list, there are some of those in the results, also, if you read the "don't break Debian", the second hit,... you should be aware , and not use any results that are not specific to Debian. Sometimes the solutions that work on other distros also work on Debian, but if those are all you find, that is the time when it would be a good idea to double check, and ask here if it is a valid solution. Welcome to Debian

Last edited by GarryRicketson on 2017-05-15 23:48, edited 1 time in total.

I use Stretch because Jessie was freezing on shutdown.I've read some stuff (about Don't break Debian). But I expected that someone just would give me a link to repo that I should paste into Synaptic.But thanks for link to SourcesList.I added two repos:1stURI: http://httpredir.debian.org/debian/Distribution: stretchSection(s): main contrib

On synaptic, there is a option to "update package info, " or something like that,but you still have to edit the /etc/apt/sources.list file, as far as I know.

The wiki goes into all the details on that. It also has a link to the mirrors, with their urls,you select which ones you want to use. The example in the wiki, is for Debian jessie, the courrent stabel version. You simply replace "jessie" with "testing" or "stretch", and use those sources.If you use "testing", then you will need to remember to change it to "stable" or "stretch", because when "testing" becomes Stretch, you may want to keep it on Stretch, and not continue with testing. I am sorry, but as far as I know, it is not that simple "should paste into Synaptic.",...you might look at :

Synaptic has a "repositories" section in the settings where new ones can be added or existing ones can be edited. New ones will go into /etc/apt/sources.list, but existing ones from files in /etc/apt/sources.list.d will be edited in place. This makes it easy to add sections such as contrib and non-free to the Debian repos from a GUI for beginners, for example.

If you don't mind creating a separate file in the sources.list.d directory for each new source URL, you could just use this command template as sysadmin without resorting to Synaptic:

But I expected that someone just would give me a link to repo that I should paste into Synaptic

You mean like some real existing person? And that that person would copy and paste the url from the online manual or wiki, that you already have, for you into this forum, so that you can read it here two days later and blindly trusting "some guy on the net" paste it into your system configuration file?

Sounds like you'd have more fun on some other distro than Debian testing. But it's your choice at the end of the day.