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

 

 

 

Help with sources.list

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Help with sources.list

#1 Post by efdevse »

Hi all…

I'd like to add “testing” to my sources.list. After reading other posts here, and searching around the new - looks like there are different recommendtions and methods. So, I thought it would be best to ask here first.

I want to have “buster” as default, with “buster-backports” (as now) + adding testing to pick a few from. I'm about the replace MATE with Xfce, and want that one from testing.

Here's what I have so far (not implemnted):

Code: Select all

# /etc/apt/sources.list

#
# Buster
#

deb http://ftp.se.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.se.debian.org/debian/ buster main contrib non-free

# sec-updates (buster)
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster-updates
deb http://ftp.se.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.se.debian.org/debian/ buster-updates main contrib non-free

# backports
deb http://ftp.se.debian.org/debian/ buster-backports main contrib non-free
deb-src http://ftp.se.debian.org/debian/ buster-backports main contrib non-free


#
# Testing
#

deb http://ftp.se.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.se.debian.org/debian/ testing main contrib non-free

# sec-updates (testing)
# https://lists.debian.org/debian-devel-announce/2019/07/msg00004.html
deb http://security.debian.org/debian-security testing-security main contrib
deb-src http://security.debian.org/debian-security testing-security main contrib

# testing-updates
deb http://ftp.se.debian.org/debian/ testing-updates main contrib non-free
deb-src http://ftp.se.debian.org/debian/ testing-updates main contrib non-free

Code: Select all

# /etc/apt/apt.conf

APT::Default-Release "stable";

Code: Select all

# /etc/apt/preferences
#
# need pinning?
#

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=stable-backports
Pin-Priority: 650

Package: *
Pin: release a=testing
Pin-Priority: 600
- - -

Does it look ok?
Some guides I've read doesn't use the pinning. Perhaps not needed?
And some doesn't use the “testing-updates”.
Maybe I should add an xtra pinning for the Xfce packages?

And… if backports are from testing - do I really need the backports when adding testing to the mix? What's best practice?

I'd appreciate any help…

Best,
· Eric

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Help with sources.list

#2 Post by dilberts_left_nut »

No.
Don't mix stable and testing.
AdrianTM wrote:There's no hacker in my grandma...

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Help with sources.list

#3 Post by kedaha »

Hi
just to expand a little, to quote from Osamu Aoki's fine Debian Reference at Basic Precautions:
Do not include testing or unstable in "/etc/apt/sources.list".
Do not create "/etc/apt/preferences".
See also Newer_Software_For_Debian_Stable
If unsure about anything, just ask here.
Cheers
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#4 Post by efdevse »

dilberts_left_nut wrote:No.
Don't mix stable and testing.
kedaha wrote:Hi
just to expand a little, to quote from Osamu Aoki's fine Debian Reference at Basic Precautions:
Do not include testing or unstable in "/etc/apt/sources.list".
Do not create "/etc/apt/preferences".
See also Newer_Software_For_Debian_Stable
If unsure about anything, just ask here.
Cheers
Thanks! for your quick replies… +1
So, if I want to use “testing” (for anything), it's better to do an all-testing upgrade (ie upgrade to bullseye)?

User avatar
golinux
Posts: 1579
Joined: 2010-12-09 00:56
Location: not a 'buntard!
Been thanked: 1 time

Re: Help with sources.list

#5 Post by golinux »

Use backports to get packages from bullseye.
May the FORK be with you!

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Help with sources.list

#6 Post by kedaha »

efdevse wrote:So, if I want to use “testing” (for anything), it's better to do an all-testing upgrade (ie upgrade to bullseye)?
Well, again to quote the Manual:
The use of testing or unstable is a lot of fun but comes with some risks.
Read on at life_with_eternal_upgrades.
Bear in mind that:
Understand that the job of Debian is, and always has been, to produce Stable. The other releases are means to that end.
From DebianStability
Your choice.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Help with sources.list

#7 Post by RU55EL »

efdevse,

I suggest you read Don't Break Debian

Then the Debian sources.list wiki.

Then, read about Debian backports.

Don't skim, read the whole thing, especially about sources.list.

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Help with sources.list

#8 Post by cuckooflew »

I will add a little bit more:
So, if I want to use “testing” (for anything), it's better to do an all-testing upgrade (ie upgrade to bullseye)?
Just don't mix repositories, that has all ready been clearly stated in previous posts, so use some logic, If you want to use Debian testing, then yes, you must do a full upgrade, the question now, is that really what you want to use, and I am not going to tell you which distribution is best for you, you need to decide that for your self.
https://www.debian.org/doc/manuals/debi ... .html#s3.1
3.1. Which Debian distribution (stable/testing/unstable) is better for me?
-----snip---- If you are a new user installing to a desktop machine, start with stable. Some of the software is quite old, but it's the least buggy environment to work in. You can easily switch to the more modern unstable (or testing) once you are a little more confident. ---snip--
The following questions (hopefully) provide more detail on these choices. After reading this whole FAQ, if you still could not make a decision, stick with the stable distribution.
So more reading for you, I know, it seems like to much reading, but really the more you understand about Debian , the less chance there will be of you borking your system, etc,
Do not use the sources.list file as is, the one you show. Period.
My thoughts are you should stay with stable for a while, read everything suggested and perhaps more, that we have not though of yet...get more familiar with Debian, before upgrading to testing.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#9 Post by efdevse »

golinux wrote:Use backports to get packages from bullseye.
Yes, that's what I'm doing now, but Xfce isn't in backports »»».
kedaha wrote: Well, again to quote the Manual:
The use of testing or unstable is a lot of fun but comes with some risks.
Read on at life_with_eternal_upgrades.

Bear in mind that:
Understand that the job of Debian is, and always has been, to produce Stable. The other releases are means to that end.
From DebianStability
Your choice.
Well, I am happy with stable+backports. I've got only 1 porgram outside that (Firefox, latest) …and that was the idea, to stay on stable, but add testing – to pick a few from there (ie Xfce). That as in keeping the system stable, but with a newer desktop (and to match the versions on the server better).

Or when can Xfce 4.14 (Aug, 2019) be expected to show up in Buster, &/or in backports? Then I could make a decision from that if it's not too far away. If there's no timeline, then I guess I'll have to go with Bullseye.

arid
Posts: 136
Joined: 2014-05-08 18:40
Location: Aridzona
Has thanked: 3 times
Been thanked: 1 time

Re: Help with sources.list

#10 Post by arid »

Install sid and all your hopes, dreams and needs will be satisfied.

Each day may bring something new and exciting as you fly above those other poor souls locked into ancient history.

The ultimate exhilaration is to add experimental into the sources on synaptic and suck up those latest kernels as if from Linus himself.

Do it and you will never have to descend into this forum of Debian lost souls.

Do it now and you will never have to look back.
There's no drama in my sid......

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#11 Post by efdevse »

RU55EL wrote:efdevse,

I suggest you read Don't Break Debian

Then the Debian sources.list wiki.

Then, read about Debian backports.

Don't skim, read the whole thing, especially about sources.list.
Thanks! for the reading. The 2 first, I've read few times, no skimming. The last one… I haven't seen that one, but I I've read the wiki post instead.

cuckooflew wrote: Just don't mix repositories, that has all ready been clearly stated in previous posts, so use some logic, If you want to use Debian testing, then yes, you must do a full upgrade, the question now, is that really what you want to use …
Both yes and no, but without options… Yes.

cuckooflew wrote:
If you are a new user installing to a desktop machine, …
So more reading for you, I know, it seems like to much reading, but really the more you understand about Debian , the less chance there will be of you borking your system, etc,
Thanks! for the reading.

> “If you are a new user installing to a desktop machine, … ”
No, I'm not new, but maybe not so used to desktop …on Debian. When I find “converts”, and help them make the switch – I usually install a basic Debian istallation, and they can go from there. All defaults. Not so much tweaking. (That's for their learning curve. ^_^)

My main/daily computer is another dist (rolling) - but I wanted to setup a dev-station now, to match a server. That's why I want to keep “stable”, to keep/match the versions. *cross-fingers*

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Help with sources.list

#12 Post by cuckooflew »

Your welcome
Thanks! for the reading.
You might be ok with Debian testing, I can say I have been running it for over a year now, but it is on a VM , in any event I have not had any problems what so ever, and every time I run updates, / upgrades , they go smoothly.
If you find what you need in the Debian backports, that might be the best solution,...
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Help with sources.list

#13 Post by dilberts_left_nut »

efdevse wrote:Or when can Xfce 4.14 (Aug, 2019) be expected to show up in Buster,
Never. It's called stable because it doesn't change.
&/or in backports
No-one sane would bother backporting an entire DE for an older stable. Steve, however, :) has, for MX, as stated above.

Testing can be fairly reliably useful, most of the time, although things tend to get interesting around the freeze and post-release, and of course, package transitions can happen at any time.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#14 Post by efdevse »

cuckooflew wrote:Your welcome
Thanks! for the reading.
You might be ok with Debian testing, I can say I have been running it for over a year now, but it is on a VM , in any event I have not had any problems what so ever, and every time I run updates, / upgrades , they go smoothly.
If you find what you need in the Debian backports, that might be the best solution,...
This is on a separate machine now, to get it installed on real metal. But, I might go on and move it to a VM later, or along with my main system to dual-boot. The other part of this is I'm going to install the same (minus the dev tools) on my nephews computers. In that way I can always be prepared from home here when I manage their systems remotley. I expect that to be as minimal as possible - like upgrading, installing a few programs, etc. They're 10 and 12, and I wanted them to have a computer for their (school) home work. Any potential “hickups” I'd meet before I do anything to their machines.

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#15 Post by efdevse »

dilberts_left_nut wrote:Testing can be fairly reliably useful, most of the time, although things tend to get interesting around the freeze and post-release, and of course, package transitions can happen at any time.
Yes, that of course. But, if I go on and upgrade to testing now, using “bullseye” (as wording) instead of “testing” in the sources.list (wiki said something about that)… 1) Comment out the backports lines, until Bullseye is out. 2) My intensios are to keep going on with Bullseye when it's released. Wouldn't that be seamless? I guess during the freeze points, and the other things - it'll be a period of (less|no) updates to recieve?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Help with sources.list

#16 Post by stevepusser »

XFCE 4.14 backported to Buster, and even Stretch:

https://build.opensuse.org/project/show ... :xfce-4.14
MX Linux packager and developer

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#17 Post by efdevse »

stevepusser wrote:XFCE 4.14 backported to Buster, and even Stretch:

https://build.opensuse.org/project/show ... :xfce-4.14
Aah… That is fantastic news. Thank you!

So, do you have any documentation for that… What do I need for source? and do I need to setup a prio?

Code: Select all

# /etc/apt/sources.list.d/xfce_stevepusser.list
#
# Xfce 4.14
#

# ?
deb https://download.opensuse.org/repositories/home:/stevenpusser:/xfce-4.14/  Debian_10/amd64
Like that?

The excluded(1) and disabled(7) packages… The disabled plugins I guess I can do without, if I can use the ones from stable instead. But, I'm not sure I want to go without the excluded xfdesktop4. Is it fixable? …or can I take that one off from testing?

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Help with sources.list

#18 Post by kedaha »

The instructions for adding stevepusser's repository are here. Note that it says, "Buster users need to replace "_9.0" with "_10"."
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
efdevse
Posts: 23
Joined: 2020-06-19 21:07

Re: Help with sources.list

#19 Post by efdevse »

kedaha wrote:The instructions for adding stevepusser's repository are here. Note that it says, "Buster users need to replace "_9.0" with "_10"."
But, that's not the repo, or did I miss something?
Xfce isn't here: download.opensuse.org/repositories/home:/stevepassert/Debian_10/
…or here: download.opensuse.org/repositories/home:/stevenpusser/Debian_10/

This was the link: build.opensuse.org/project/show/home:stevenpusser:xfce-4.14

And then that missing/excluded core component (xfdesktop4)…
If that can be fixed? I'll use this, but if not – then I guess bulleye is the option to go with.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Help with sources.list

#20 Post by kedaha »

efdevse wrote:
kedaha wrote:The instructions for adding stevepusser's repository are here. Note that it says, "Buster users need to replace "_9.0" with "_10"."
But, that's not the repo, or did I miss something?
Xfce isn't here: download.opensuse.org/repositories/home:/stevepassert/Debian_10/
…or here: download.opensuse.org/repositories/home:/stevenpusser/Debian_10/

This was the link: build.opensuse.org/project/show/home:stevenpusser:xfce-4.14

And then that missing/excluded core component (xfdesktop4)…
Yes, you're right.
As for xfdesktop4 version 4.14.2-1, if it isn't there, it looks like a backporting it might run into unmet dependencies, like

Code: Select all

 builddeps:xfdesktop4 : Depends: libxfce4ui-2-dev (>= 4.13.0) but 4.12.1-3 is to be installed
                        Depends: libxfce4util-dev (>= 4.13.0) but 4.12.1-3 is to be installed
efdevse wrote:If that can be fixed? I'll use this, but if not – then I guess bulleye is the option to go with.

stevepusser no doubt can answer that.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply