View previous topic :: View next topic |
Author |
Message |
decuser n00b
Joined: 23 Jan 2003 Posts: 60 Location: Godley, Texas
|
Posted: Sun Jan 07, 2024 2:53 pm Post subject: What is stable? |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Jan 07, 2024 3:04 pm Post subject: |
|
|
By default you get stable.
Whether you run stable or testing is controlled by
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 |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Sun Jan 07, 2024 3:06 pm Post subject: |
|
|
- 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 |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3628
|
Posted: Sun Jan 07, 2024 3:13 pm Post subject: |
|
|
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 |
|
|
decuser n00b
Joined: 23 Jan 2003 Posts: 60 Location: Godley, Texas
|
Posted: Sun Jan 07, 2024 3:48 pm Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4160 Location: Bavaria
|
Posted: Sun Jan 07, 2024 5:09 pm Post subject: |
|
|
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 |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Sun Jan 07, 2024 6:38 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21639
|
Posted: Sun Jan 07, 2024 6:43 pm Post subject: |
|
|
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 |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Sun Jan 07, 2024 8:23 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Jan 07, 2024 9:26 pm Post subject: |
|
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 163 Location: Gentoo forums
|
Posted: Mon Jan 08, 2024 3:43 pm Post subject: |
|
|
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 |
|
|
|