Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is stable?
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
decuser
n00b
n00b


Joined: 23 Jan 2003
Posts: 60
Location: Godley, Texas

PostPosted: Sun Jan 07, 2024 2:53 pm    Post subject: What is stable? Reply with quote

I keep seeing "I run stable," "I switched to stable," "I used to run ~amd64, but now I run stable"... So, what is it and how do I "get" it? I think it might be amd64, but I'm not convinced that I know what I'm talking about. Clarification appreciated!
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Jan 07, 2024 3:04 pm    Post subject: Reply with quote

By default you get stable.
Whether you run stable or testing is controlled by
Code:

ACCEPT_KEYWORDS


variable in make.conf.
If you wanted to run testing you would edit this variable to
Code:

ACCEPT_KEYWORDS="~amd64"


or more precisely to
Code:

ACCEPT_KEYWORDS="~<arch>"


followed by a rebuild@world.
The common wisdom is that once you go testing you should not revert back to stable,although I suppose it can be done.
Especially you should never downgrade glibc.
It all comes down to whether you want the latest versions of packages installed or if you prefer something more conservative.
You can also choose to have some packages only installed as testing(ie latest version)
by using the
Code:

/etc/portage/package.accept_keywords

file.
See
https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords
although it is a good practice not to mix(too much) stable and testing packages in your system.
_________________
:)


Last edited by alamahant on Sun Jan 07, 2024 3:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Jan 07, 2024 3:06 pm    Post subject: Reply with quote

  • amd64 is the stable keyword
  • ~amd64 is the testing/unstable keyword

By default you're on stable ('amd64' for 64bit x86 architecture). This can be overridden by having (for example) ACCEPT_KEYWORDS="~amd64" in your make.conf. See this wiki page.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Sun Jan 07, 2024 3:13 pm    Post subject: Reply with quote

It's how to prevent from the risk having swarm of issues from time to time.
Cherrypicking wisely selected packages for unstable keywording shouldn't be a problem.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
decuser
n00b
n00b


Joined: 23 Jan 2003
Posts: 60
Location: Godley, Texas

PostPosted: Sun Jan 07, 2024 3:48 pm    Post subject: Reply with quote

Sounds good. I like stable. I've never been one to run cutting edge. My hardware's typically ancient anyway and I prefer - just works, to having to clean up update messes.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4162
Location: Bavaria

PostPosted: Sun Jan 07, 2024 5:09 pm    Post subject: Reply with quote

I use also a stable system (and recommend this), but there are some packages which are always marked as unstable - mostly games. I am using stockfish with xboard as fronted (needs polyglot for binding) ... AND ... I am using kernel 6.6 because it is already LTS and will become soon stable in Gentoo also. Using the newest kernel in a stable Gentoo system should never be a problem. So, this is my content of /etc/portage/package.accept_keywords
Code:
sys-firmware/intel-microcode
sys-kernel/gentoo-sources
sys-kernel/linux-headers
x11-apps/igt-gpu-tools
app-crypt/ima-evm-utils
games-board/xboard
games-board/polyglot
app-admin/kernel-hardening-checker

(Yes, some tools somebody really need are not stable also; so I can use only these unstable packages)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Jan 07, 2024 6:38 pm    Post subject: Reply with quote

pietinger wrote:
So, this is my content of /etc/portage/package.accept_keywords
Code:
sys-firmware/intel-microcode
sys-kernel/gentoo-sources
sys-kernel/linux-headers
x11-apps/igt-gpu-tools
app-crypt/ima-evm-utils
games-board/xboard
games-board/polyglot
app-admin/kernel-hardening-checker
Shouldn't there be ~amd64 at the end of each line to specifically accept amd64 unstable/testing?
EDIT: Apparently not. No keyword there means accept testing/unstable from current arch.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21639

PostPosted: Sun Jan 07, 2024 6:43 pm    Post subject: Reply with quote

No, the change you describe Zucca is one I have been trying for years to break people of using. If no keyword is listed, then ~ARCH is implied, where ARCH is automatically resolved relative to the system reading the file. This means the file can be copied to an x86 system and begin accepting ~x86 packages, rather than continuing to pick ~amd64 packages for an x86 system. This is even more useful if the receiver is a wildly different architecture, like an RPi.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Jan 07, 2024 8:23 pm    Post subject: Reply with quote

Hu wrote:
This is even more useful if the receiver is a wildly different architecture, like an RPi.
A very good point, Hu!
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jan 07, 2024 9:26 pm    Post subject: Reply with quote

Hu, I like it! Also, I've never noticed this passage, but it's clearly documented behavior (bold emphasis mine):
man make.conf wrote:
ACCEPT_KEYWORDS = [space delimited list of KEYWORDS]
    Enable testing of ebuilds that have not yet been deemed ’stable’. Users of the ’x86’ architecture would set this to ’~x86’ while ppc users would set this to ’~ppc’. This is an incremental variable. Only define a ~arch.
    Defaults to the value of $ARCH.
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Mon Jan 08, 2024 3:43 pm    Post subject: Reply with quote

Hu wrote:
No, the change you describe Zucca is one I have been trying for years to break people of using. If no keyword is listed, then ~ARCH is implied, where ARCH is automatically resolved relative to the system reading the file.

I didn't know this. Thanks.
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