Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Which repos I should use (Stretch) ?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
rs7000
Posts: 21
Joined: 2017-05-12 09:24

Which repos I should use (Stretch) ?

#1 Post by rs7000 »

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.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Which repos I should use (Stretch) ?

#2 Post by Dai_trying »

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. :)

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Which repos I should use (Stretch) ?

#3 Post by GarryRicketson »

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/debi ... ng.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.

rs7000
Posts: 21
Joined: 2017-05-12 09:24

Re: Which repos I should use (Stretch) ?

#4 Post by rs7000 »

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)

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Which repos I should use (Stretch) ?

#5 Post by GarryRicketson »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Which repos I should use (Stretch) ?

#6 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Which repos I should use (Stretch) ?

#7 Post by pylkko »

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.

Post Reply