Which repos I should use (Stretch) ?

New to Debian (Or Linux in general)? Ask your questions here!

Which repos I should use (Stretch) ?

Postby rs7000 » 2017-05-15 21:38

I installed Debian Stretch.
I have only this repo: http://security.debian.org/debian-security/
It seems some repos missed, ins't it ? - I can't find some packages though synaptic: gparted for example.
rs7000
 
Posts: 21
Joined: 2017-05-12 09:24

Re: Which repos I should use (Stretch) ?

Postby Dai_trying » 2017-05-15 21:43

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. :)
Dai_trying
 
Posts: 313
Joined: 2016-01-07 12:25

Re: Which repos I should use (Stretch) ?

Postby GarryRicketson » 2017-05-15 22:37

Even on Debian Stabel, (currently Jessie) it is normal that one needs to edit the
Code: Select all
 /etc/apt/sources.list
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, which
is still "testing" at this time.
https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html
It does not look like the OP has really done anything as far as searches and reading
about 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", but
it 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/DontBreakDebian
It was the second hit on my search.
Since the OP is using Debian testing, they should read this as well :
https://wiki.debian.org/DebianTesting
It 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.
User avatar
GarryRicketson
 
Posts: 4206
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Which repos I should use (Stretch) ?

Postby rs7000 » 2017-05-15 23:10

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:
1st
URI: http://httpredir.debian.org/debian/
Distribution: stretch
Section(s): main contrib

2nd
http://httpredir.debian.org/debian/
stretch-updates
main contrib

Is it correct ? And it should be enough, right ? (I don't need something non-free)
rs7000
 
Posts: 21
Joined: 2017-05-12 09:24

Re: Which repos I should use (Stretch) ?

Postby GarryRicketson » 2017-05-15 23:47

I guess I didn't see/read the entire post, but any way, yes those look ok,
I would recommend also using the security updates,
And also "Your welcome", it is nice when people say "thank you",



======= edited==================
The problem is we didn't know which sources you want to use,
Did you see the examples on the wiki, ?

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

Also, I don't know about that, never have tried pasting a link into Synaptic,...is this a new feature ?,...
Normally we edit the /etc/apt/sources.list file,
after you edit it, you must also run :
Code: Select all
apt-get update

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 :
Code: Select all
man synaptic


I also see this on the wiki :
You can use a GNOME tool to edit your sources.list file. Access it through Menu → System → Administration → Software Sources.

So maybe there is a way to paste into synaptic,...
User avatar
GarryRicketson
 
Posts: 4206
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Which repos I should use (Stretch) ?

Postby stevepusser » 2017-05-16 00:40

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:

Code: Select all
echo '<source-URL' > /etc/apt/sources.list.d/<new-file-name>.list


A common example: user needs to add jessie-backports to upgrade the kernel and also needs non-free firmware from the same repo:

Code: Select all
echo 'deb http://ftp.debian.org/debian jessie-backports main contrib non-free' > /etc/apt/sources.list.d/jessie-backports.list


You can use the Synaptic settings to disable the repo after using it, or just use the mv command to rename the file to something other than a .list file.:

Code: Select all
mv /etc/apt/sources.list.d/jessie-backports.list /etc/apt/sources.list.d/jessie-backports.list.disabled


for example.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.4.2, Liquorix kernel 4.12-6, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8668
Joined: 2009-10-06 05:53

Re: Which repos I should use (Stretch) ?

Postby pylkko » 2017-05-16 07:30

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.
User avatar
pylkko
 
Posts: 1042
Joined: 2014-11-06 19:02


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable