LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-06-2019, 10:53 AM   #1
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85
Blog Entries: 3

Rep: Reputation: 17
Safely and Completely Updating Gentoo Long Term


Background,

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?

TIA,
Rick
 
Old 02-06-2019, 12:42 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
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.

My .02
 
Old 02-07-2019, 08:58 AM   #3
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Thanks for the post,

Unfortunately, it does not answer my question.

Rick
 
Old 02-07-2019, 09:05 AM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I think my point was that there will almost always be risks updating Gentoo because of the nature of the beast.
 
Old 02-08-2019, 03:35 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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...
 
1 members found this post helpful.
Old 02-15-2019, 03:17 PM   #6
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
To my knowledge,

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.

BTW: I use https://serverfault.com/questions/99...e-gentoo-linux as a guide to update/upgrade, specifically:

emerge --sync
emerge -uDNav --tree world
emerge -avDN --depclean
revdep-rebuild -v -- --ask
dispatch-conf
glsa -check -t all
glsa -check -f all

Thanks for the info,
Rick

Last edited by rsmereka; 02-15-2019 at 03:25 PM. Reason: more stuff
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TERM variable TERM=linux keirvt Ubuntu 1 12-23-2012 06:07 PM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
LXer: Bea blends open-source and proprietary in long-term move LXer Syndicated Linux News 0 07-24-2006 12:21 AM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration