Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is the update frequency with Gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 15

PostPosted: Sun Nov 24, 2024 6:24 pm    Post subject: What is the update frequency with Gentoo? Reply with quote

Hello, I'm thinking on migrating to Gentoo after extensive testing. My biggest pain point with Arch was how bleeding edge it was. How is the update cycle with Gentoo? Is it way to fast like Arch or is it like OpenSUSE Tumbleweed, which is usually tested rather well. I'm not asking this for just binaries either. I want to know about source repos too.
Back to top
View user's profile Send private message
rfx
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2023
Posts: 145
Location: de-by

PostPosted: Sun Nov 24, 2024 6:35 pm    Post subject: Reply with quote

I only use stable and compile myself and in a long period of time I've only had a problem once after updating Grub. For me it looks very good tested

I'm very curious what the unstable users say about this threat xD
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54587
Location: 56N 3W

PostPosted: Sun Nov 24, 2024 6:45 pm    Post subject: Reply with quote

Welcome to Gentoo.
The ::gentoo repo is updated every 30 minuets. :)
You are not expected to keep up with that.

Therre are two 'branches'in the repo, stable and testing.
There are also a smattering af 'live' commit by commit packages too.

By default you will have stable, denoted by ACCEPT_KEYWORDS="arch"
If you want sometingthat moves a bit faster, there is testing, denoted by ACCEPT_KEYWORDS="~arch"
That requires you to set that. It's also possible to mix and match.

Using 'live' packages can only be done on a package by package basis.

That's just the start, it covers what is available to you.
How often you update your Gentoo is up to you.
The longer you leave it the harder it gets.
Monthly is fine for stable. More often for testing.
If you leave it a year, it's still possible but you will learn things about Gentoo you can learn no other way
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3455

PostPosted: Sun Nov 24, 2024 6:52 pm    Post subject: Reply with quote

You can update easily on any interval between daily and monthly. After that things get increasingly more difficult, depending on the time passed and your luck. Stories of updates delayed by a year or two pop up now then then as well. Obviously, this path is pretty much for masochists only.

Both, stable and testing branch tend to work. Downloadable stage3 tarballs are stable, you can update to testing at any time with a simple change to accept_keywords.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 15

PostPosted: Sun Nov 24, 2024 8:45 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Welcome to Gentoo.
If you leave it a year, it's still possible but you will learn things about Gentoo you can learn no other way

:lol: That's ominous. I'm fine by just updating every other week so this works out for me. Thank you for the kind introduction!
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 378

PostPosted: Sun Nov 24, 2024 9:14 pm    Post subject: Reply with quote

rtx wrote:
I'm very curious what the unstable users say about this threat xD


I have been summoned!

Stable is fine, but there are some packages in portage that are ~amd64 only. One example is x11-misc/xcape.
You will either occasionally have to file stable requests or accept ~amd64 packages.
Stable also has the added benefit of binhosts, as binhosts do not provide testing binaries.

Globally accepting testing "solves" the above problem and has been surprisingly stable in my experience.
Instead of stable requests, I do occasionally file actual bug reports, like the latest tmux version messing up xterm's terminfo (or something like that).
There's also occasional issues in the portage tree itself, but those are fixed within hours. If one really wanted to update today... just wait a bit and it will sort itself out.

Stable also takes too long to stabilize a new gcc/clang/python major version. I know there are excellent reasons for that, but I want to play with new features of compilers!

xanrer wrote:
NeddySeagoon wrote:

Welcome to Gentoo.
If you leave it a year, it's still possible but you will learn things about Gentoo you can learn no other way
:lol: That's ominous. I'm fine by just updating every other week so this works out for me. Thank you for the kind introduction!

Maybe it sounds ominous, but it's very true. On the bright side, you have this forum as a helping hand if you do decide to tempt fate after some years of gentoo collecting dust. You wouldn't be the first!

xanrer wrote:
How is the update cycle with Gentoo?


I would say Gentoo testing is comparable with non-testing Arch. Well, assuming I remember well how Arch [testing] looked.
Gentoo stable is considerably slower.
One key difference between arch and gentoo testing is that gentoo is a lot more flexible, so it's easier to fix things when something breaks.
Back to top
View user's profile Send private message
wjb
l33t
l33t


Joined: 10 Jul 2005
Posts: 633
Location: Fife, Scotland

PostPosted: Sun Nov 24, 2024 9:34 pm    Post subject: Reply with quote

it all depends how often you run
Code:
# emerge --sync
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 232

PostPosted: Mon Nov 25, 2024 12:01 am    Post subject: Re: What is the update frequency with Gentoo? Reply with quote

xanrer wrote:
Hello, I'm thinking on migrating to Gentoo after extensive testing. My biggest pain point with Arch was how bleeding edge it was. How is the update cycle with Gentoo? Is it way to fast like Arch or is it like OpenSUSE Tumbleweed, which is usually tested rather well. I'm not asking this for just binaries either. I want to know about source repos too.


OpenSUSE Tumbleweed, Arch, and Gentoo are all rolling release distros, so you will get package updates as they become available / tested for stability rather than having new OS versions once every couple of years. In a lot of ways, the experience will be somewhat similar between the three.

Considering the *stable* branches of each (if you use unstable branches, then well, you have agreed to use unstable branches, eh?):

Arch typically packages new versions as soon as they are available, and updating will get you that exact bleeding-edge new version. No getting around that, with the exception of core packages used for booting which also require being signed off by two people who have tested and verified that the package works for them on their machine, and in some cases, *if and only if* the Arch maintainer is particularly worried about that package, an undefined period of time spent with that package in testing. I'm not sure what OpenSUSE Tumbleweed's policy is. Gentoo typically requires a 30-day testing period for each package after it is updated before it gets marked as stable, and this policy is kept fairly consistently (with certain carefully tested exceptions for security stabilizations, usually of backported fixes).

Gentoo is thus, per definition, less bleeding edge and more well tested than Arch is. Issues are usually smoked out by people testing out the unstable branch long before the whole 30 days are up.


xanrer wrote:
NeddySeagoon wrote:
Welcome to Gentoo.
If you leave it a year, it's still possible but you will learn things about Gentoo you can learn no other way

:lol: That's ominous. I'm fine by just updating every other week so this works out for me. Thank you for the kind introduction!


It's a bit of a fun joke. :) If you leave a linux distro for too long, you are prone to getting package transitions disappear, and updating results in unresolvable conflicts.

As a Gentoo Dev that used to fulfill the similar role in Arch, if you leave Arch for a year without updating you will learn things about Arch you cannot learn any other way too. ;) Expect some interesting binary repository bisection with the Arch Linux Archive, and possibly requiring to use a special pacman-static build to perform updates.

Gentoo isn't too dissimilar. You can sometimes get into hairy update situations if you leave it for over a year, then try to update, and discover that one package has been updated and replaced by another package, and another package gained/dropped a dependency on that package, and now you have no route to migrating from the original package without breaking the other package that you need. The package manager will then abort with a dependency resolution error, and say it cannot plot a path to upgrading.

Upgrading once every month or two is a fairly well-tested routine, in both distros. And I've never met or heard of a "too long without upgrading" problem in either distro, that couldn't be solved by first upgrading to the version of the repository from 3 months after your last update, then 6 months, then 9 months, then 12 months. Just update in snapshots, it takes maybe 4 steps, and then you're all better.

Gentoo's official policy is that it should always be possible to upgrade systems that are only a single year out of date. Therefore if that fails, it's surely a bug. Whether people regularly test this, is another question entirely. :)
Back to top
View user's profile Send private message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 15

PostPosted: Mon Nov 25, 2024 5:58 pm    Post subject: Reply with quote

Thank you for the detailed answer! I love the 30 day policy on stable. And of course I am going to update often. I don't want to keep my system unmaintained.

My use case for Gentoo is kind of complicated. I can of course build sources or use binaries but aside from the core utils + desktop + a few terminal applications I actually want to use Gentoo as a gate to my sandboxes. I will have flatpaks and different distroboxes for different use cases, Arch for programming, Ubuntu for everyday tasks etc. With those I will have the optimal sanboxed and stable experience in my opinion.

The more I learn about Gentoo the more I see it being a perfect fit for my use case. Stable yet up to date core to run my sandboxes on. It will take some learning obviously, but since I learned to use VanillaOS (which is really different from using any other mainstream distro) this year on my other PC I think I'll be able to use Gentoo as well. Not to mention unlike VanillaOS, Gentoo has great documentation.

Plus to all of these I love the community so far. Especially coming from Arch. Arch community was the thing that made me learn to read documentation because they were (although helpful) always really hostile, especially the moderators. In here I only seen support! So thanks to everyone who helped me with all the topics I created so far!
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3455

PostPosted: Mon Nov 25, 2024 6:15 pm    Post subject: Reply with quote

Quote:
My use case for Gentoo is kind of complicated. I can of course build sources or use binaries but aside from the core utils + desktop + a few terminal applications I actually want to use Gentoo as a gate to my sandboxes. I will have flatpaks and different distroboxes for different use cases, Arch for programming, Ubuntu for everyday tasks etc. With those I will have the optimal sanboxed and stable experience in my opinion.
Congratulations, you've just invented QubesOS :lol:
Anyway, tricky setups are Gentoo's bread and butter. If you're already comfortable with unix-like systems, you should find yourself at home in no time.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 15

PostPosted: Mon Nov 25, 2024 6:37 pm    Post subject: Reply with quote

szatox wrote:
Congratulations, you've just invented QubesOS :lol:

That made me chuckle a lot :lol:

Oh yeah I'm quite comfortable with them, it has been well over 5 years since I started to use Linux as a daily driver.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54587
Location: 56N 3W

PostPosted: Mon Nov 25, 2024 11:00 pm    Post subject: Reply with quote

At the risk of pointing out something you have already spotted, Gentoo is the Portage package manager and the ::gentoo ebuild repo.
That's all. Everything else is $UPSTREAM.

As a result, Gentoo is a perfect fit for any use case, servers, desktops, SBCs ...

I'm rambling a bit .. back to my point. The Gentoo community all use the same tools to fit whatever their individual use case is. We all know that all Gentoo installs are different. It's my opinion that using the same tools to achieve different things helps the community be more user friendly.

You will be referred to the friendly manual from time to time. It saves helpers repeating it in a post. However, you will get a pointer to the information you need too. Being lazy, I write wiki pages for recurring problems that I can refer to. :)

One last thing, the old hands here will pitch help just out of your reach.
The aim is to teach you to fish, not feed you. We won't let you drown either.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1274
Location: Richmond Hill, Canada

PostPosted: Tue Nov 26, 2024 1:03 am    Post subject: Reply with quote

Just want to share an opposite view of frequent update. By no mean I am trying to convince you don't update. I don't do update frequently, I only reinstall from scratch once a few years.

I suggest think what is your daily workflow and reason for update/changes. I will provide a few reason why do and why not.

You do because you wish to stay on edge and to test to help development.
You do because your hardware changed.
You do because you encounter a problem that later version of software solved.
You do because you got new use case that was not part of initial build design.

Why you don't want to make frequent update?

Don't do it because security. security setup should be design upfront with you own thread model. World update may fix something but may break you careful design that bring something in unexpected.
Don't do it because update bring in changes you may not expect and that break your workflow. (think update that need spent time on conflict resolution)
Don't do it because update may break your carefully customisation. for example your key binding, external kernel modules fail due to kernel version update. (think virtualbox)

The drawback of not doing frequent update,

the longer hold back the more difficult for update. So you need to get familiar with Gentoo's tool, Like Neddy said, Gentoo is package manager and ebuild repo. for the package management there are lots of tools to help. see Useful Portage tools wiki page for what I mean.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5150
Location: Bavaria

PostPosted: Tue Nov 26, 2024 1:53 am    Post subject: Reply with quote

pingtoo wrote:
Don't do it because security. [...]

See what the number 2 behind Linus Torvalds, Greg Kroah-Hartman, says in minute 32:00 -> https://www.youtube.com/watch?v=Rg_VPMT0XXw
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 661

PostPosted: Tue Nov 26, 2024 2:22 am    Post subject: Reply with quote

szatox wrote:
Stories of updates delayed by a year or two pop up now then then as well. Obviously, this path is pretty much for masochists only.

F̶u̶c̶k̶ Love you too sweetie. All jocularity aside, Gentoo does what you tell it to, nothing more AND nothing less - With this in mind I tell all my Gentoo systems to sync (update the available package list) at midnightish, then email me a list of "pretend updates" (emerge -uDNpv @world). As soon as one of my machines produces an "error in updating"* I do the manual fondling required to manage the update, because two conflicting updates make "Jack an unhappy boy".
*I also update when the number of updates reaches/exceeds 80 or so, or about every 30 days, because "attention deficit" reasons.

If you wish to stay "up to date" for security reasons, then keep an eye on GLSA's. If you wish to stay up to date for "I need bleeding edge drivers for this new game" then check daily, and don't get "too far behind", because when you "need to update" no one want's to be upgrading gcc or glibc for 40 minutes before the "critical update" gets applied. Everything else is "a choice laying somewhere between the two" - a choice you get to make for yourself, as is the way with Gentoo.

EDIT:
pingtoo wrote:
I reinstall from scratch...
HERETIC!! :p
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum