GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Previously, I have built a number of Gentoo systems and after months/years keeping it updated caused so many obscure Portage errors that, eventually, each one of these systems stopped updating.
I am not a Linux newbie. Besides building Gentoo, I have recently successfully built two LFS systems (non-graphical servers).
Objective: build a non-graphical server from Gentoo and have it update properly long term (years).
Notes: I have looked at many internet articles on this topic (most of them are very dated) and have used the more complete of them to guide my updating. I have also read the Gentoo handbook on the topic of Portage and Emerge.
In your opinion, how would you safely update Gentoo?
Personally, I wouldn't. I have a buddy that is a huge Gentoo fan and user, as I once was, but he doesn't use it for servers anymore. You might be OK because there are far fewer apps to build on a server than on a workstation, which probably means fewer errors. Die hard Gentoo fans will probably not agree with me on this but your call. If I wanted a server, it absolutely has to work with minimal effort and maintenance, period. Gentoo is very cool and can probably be used as a server but for me, it's way too much effort initially for little gained, and maintenance can be problematic.
Well, this largely depends on your build, I guess.
Gentoo is a bit like C: it won't stop you from shooting your own feet. That's both a good and a bad thing, of course. If you want something that's well maintained, secure and don't have any special requirement you are probably better using CentOS or whatever else.
The thing with Gentoo is that it leaves you customize everything feature-wise when building, and without having to track the dependencies yourself. For me, that's the best single feature of Gentoo: USE flags.
For servers that can be a good thing, not because performance or some silly thing like that, but because less code paths usually leads to a reduced attack surface.
But, to give you a more accurate advice I would need to know something more about what kind of issues you experienced with Gentoo. To leave a system on an unrecoverable state you truly need to do something crazy, such as downgrading glibc or the like...
If you live on the stable branch, Gentoo is not hard to maintain, but, of course, in the case of servers you always have to be careful when updating, no matter if it's Gentoo or Ubuntu. You don't go deploying updates on production servers without first testing on a spare machine...
I did not do anything crazy to cause the inconsistent Portage state. After months/years of updates, eventually, no updates would take place. There were lots of messages but I did not understand what they meant (TL;DR). I was on the stable branch. These machines were not in production, they were all test server's. I was/am doing a feasibility study on using Gentoo LAMP server's (long term).
I am going to start again from scratch and built up another LAMP server. If/when I encounter update issues, I'll post here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.