New stretch install, sources.list question [SOLVED]

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

New stretch install, sources.list question [SOLVED]

Postby bryanmc » 2017-07-25 14:21

While digging around getting ready to install the drivers for my nvidia graphics card I was reviewing /etc/apt/sources.list. I noticed that on the main entry contrib and non-free seemed reversed as opposed to the entries for security (and everything I could find in the wiki). This is how they look on this new install:
Code: Select all
deb http://ftp.us.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stretch main non-free contrib

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


Is that correct?
Last edited by bryanmc on 2017-07-25 15:06, edited 1 time in total.
bryanmc
 
Posts: 65
Joined: 2016-11-18 12:21

Re: New stretch install, sources.list question

Postby kopper » 2017-07-25 14:26

Guess it's usually main contrib non-free,but I don't think the order really matters as long as the component names are valid, separated by spaces and in the end of the line.

https://wiki.debian.org/SourcesList
Debian 9.1 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
kopper
 
Posts: 59
Joined: 2016-09-30 14:30

Re: New stretch install, sources.list question

Postby dasein » 2017-07-25 14:43

*humph* Order matters not. For yourself you could verify this.

Image
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New stretch install, sources.list question

Postby bryanmc » 2017-07-25 15:05

Thanks for the answers. Just one of those things that I wasn't sure of and couldn't dig up the answer to.
bryanmc
 
Posts: 65
Joined: 2016-11-18 12:21

Re: New stretch install, sources.list question [SOLVED]

Postby dasein » 2017-07-25 15:33

Missed the larger point it seems you have.

Always better it is to test for yourself, rather than to rely on the testimony of others.

If unclear it is to you how you would test, contemplate the question you should, until the answer you have.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New stretch install, sources.list question [SOLVED]

Postby bryanmc » 2017-07-25 16:02

The point was taken. :oops:
bryanmc
 
Posts: 65
Joined: 2016-11-18 12:21

Re: New stretch install, sources.list question [SOLVED]

Postby Thorny » 2017-07-26 11:32

bryanmc wrote:The point was taken.

You are an intelligent user, bryanmc. You came here to learn and did. What's more, you probably showed you have a sense of humour. And, you added solved to your thread so it might help others.

Realise that the point was made not just for you but also for all the lurkers reading posts. Most of the regular helpers on Debian User Forums want people to learn to help themselves and gain the confidence that they can.

Unless you are compiling, you probably don't need the deb-src lines in your list. But that's minor.


OT - @dasein This yoda character is an interesting way to make your point. I always liked the soft-spoken little green guy.
Thorny
 
Posts: 332
Joined: 2011-02-27 13:40

Re: New stretch install, sources.list question [SOLVED]

Postby ruffwoof » 2017-07-26 13:44

In Jessie I just have the MAIN (no contrib, no non-free) ... and no src either (just two lines). I find that nvidia seems to run better using the repositories nouveau than if the nvidia driver is used. I believe Debian tweak things for the better and using theirs means you can keep things more pure Debian (which collectively works great). I don't really miss the additional functionality that having the nvidia driver/program might otherwise provide (I don't really know what half the potential tweaks offered are anyway).
ruffwoof
 
Posts: 196
Joined: 2016-08-20 21:00

Re: New stretch install, sources.list question [SOLVED]

Postby bryanmc » 2017-07-26 14:57

Apologies for straying OT (just this once).

Thorny... I have a great sense of humor and am still wondering why I didn't just run it to see if it would have worked. Dasein made an excellent point, the yoda-speak made it even better. Most of the things I've run across so far I've been able to tackle with some research, tweaking, editing, and a fresh clonezilla image at hand LOL.

Ruffwoof... Yes, it seemed to run fine with the nouveau driver, but in my line of thought nouveau is like a crescent wrench (spanner for our friends across the pond) made to work with many adapters while the nvidia driver is the exact wrench. If it doesn't work as well or better, I can always revert back.
bryanmc
 
Posts: 65
Joined: 2016-11-18 12:21

Re: New stretch install, sources.list question [SOLVED]

Postby dasein » 2017-07-26 15:05

bryanmc wrote:...and a fresh clonezilla image at hand

:cool:

Would that everyone took this simple precaution.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable