apt preferrably stable system

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

apt preferrably stable system

Postby te36 » 2018-02-24 18:03

/etc/apt/sources.list:

deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian sid main contrib non-free

I can not figure out how to set up /etc/apt/preferences so i have a "mostly" stable system:

I would like to stick to only stable packages - unless i have a specific application for which i explicitly want to install the latest version - and the dependencies for that application also only from unstable if necessary, but otherwise prefer the stable version of a dependency.

But i am even confused whether unstable is the same as sid, and whether even the sources.list entries i have are not the best towards that goal.

Thanks
te36
 
Posts: 4
Joined: 2018-01-29 17:36

Re: apt preferrably stable system

Postby Head_on_a_Stick » 2018-02-24 18:09

te36 wrote:I would like to stick to only stable packages - unless i have a specific application for which i explicitly want to install the latest version

Please read https://backports.debian.org and https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: apt preferrably stable system

Postby debiman » 2018-02-25 07:17

especially that last one.

te36 wrote:I can not figure out how to (...) have a "mostly" stable system

"mostly" stable - precious!
User avatar
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: apt preferrably stable system

Postby te36 » 2018-02-25 22:19

debiman wrote:"mostly" stable - precious!


Yeah, wish-full thinking, thanks for the explanations.

"FrankenDebian" is the best scare word i have seen so far too ;-)

I come from Gentoo where you could bound min and max versions of dependencies and create multiple slots for different versions of dependencies, but i can see how thats non-sustainable, so the debian policy is probably for the best. Of course, it would be lovely if library developers could maintain the backward compatibility that the version numbers claim to indicate, but thats of course wishful thinking.

I guess i will have to learn how to create backports. For now i have just compiled the app i needed most into /usr/local.
te36
 
Posts: 4
Joined: 2018-01-29 17:36

Re: apt preferrably stable system

Postby Wheelerof4te » 2018-02-26 18:45

Wish dasein was here with his mega-thread of FrankenDebians :)
Those fine examples of utter failures won't ever be logged again.
User avatar
Wheelerof4te
 
Posts: 1130
Joined: 2015-08-30 20:14

Re: apt preferrably stable system

Postby Head_on_a_Stick » 2018-02-26 18:48

te36 wrote:I guess i will have to learn how to create backports

It's a lot easier than it sounds:

https://wiki.debian.org/SimpleBackportCreation

Should be a walk in the park if you're used to source-based distributions ;)
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: apt preferrably stable system

Postby stevepusser » 2018-02-26 20:28

GNOME 3 packages can be impracticable to backport, as well as the latest KDE ones without a backport of the whole desktop environment. You have a pretty good chance with other packages that aren't as tied into a DE. I do a lot of backporting myself, so can give you tips, or point you to already existing backports.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.0.1, wine-staging 3.15, qBittorrent 4.1.2, Linux kernel 4.18.6, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9895
Joined: 2009-10-06 05:53

Re: apt preferrably stable system

Postby debiman » 2018-02-27 05:08

Wheelerof4te wrote:Wish dasein was here with his mega-thread of FrankenDebians :)
Those fine examples of utter failures won't ever be logged again.

the thread is still there, you can post to it (but yes, dasein is missed).

te36 wrote:Yeah, wish-full thinking, thanks for the explanations.

you're welcome!
for being so reasonable, we won't denounce you to said thread :D
I hope the backport creation goes well!
User avatar
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable