View previous topic :: View next topic |
Author |
Message |
Windmill Tux's lil' helper
Joined: 21 Feb 2014 Posts: 105
|
Posted: Tue Feb 25, 2014 4:03 pm Post subject: Is possible to do this? |
|
|
Hi, I was wondering if in gentoo is possible to do this. I want to have a well updated system using the testing branch, but I also want to mantain the kernel to its stable version, updating the rest, how can I do that? |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Tue Feb 25, 2014 4:15 pm Post subject: |
|
|
If your goal is to have, lets say, the most recent kde things, those are the packets you'll use from testing (you'd probably add a few things, firefox, whatever tools you use).
But you'd leave the kernel, and the rest of the system in stable.
Why would you want to have a completely unstable userspace? |
|
Back to top |
|
|
Windmill Tux's lil' helper
Joined: 21 Feb 2014 Posts: 105
|
Posted: Tue Feb 25, 2014 4:44 pm Post subject: |
|
|
Because for ex. vlc needs new versions of some libraries and I can't install the testing version without updating them |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Tue Feb 25, 2014 5:27 pm Post subject: |
|
|
I for myself find it much easier to use Gentoo~testing
but me myself stabilizing some packages from time to time
The ones I am not interested to write bugs about. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Feb 25, 2014 6:02 pm Post subject: Re: Is possible to do this? |
|
|
Windmill wrote: | Hi, I was wondering if in gentoo is possible to do this. I want to have a well updated system using the testing branch, but I also want to mantain the kernel to its stable version, updating the rest, how can I do that? | Yes, easily. The example below assumes you're running a 32-bit system. Substitute "amd64" everywhere you see "x86" if you're running a 64-bit system.
If you're running an entirely testing branch system, then you should have Code: | ACCEPT_KEYWORDS="~x86" | in your /etc/portage/make.conf file. It's simple to set individual packages to stable, though, with the /etc/portage/package.accept_keywords mechanism. Best practice is to create a directory: Code: | mkdir -p /etc/portage/package.accept_keywords | and put individual package files in there: Code: | echo "sys-kernel/gentoo-sources -* x86" >/etc/portage/package.accept_keywords/gentoo-sources | The "-*" removes all existing keywords from the package (which will include ~x86 testing and x86 stable keywords) and the "x86" then adds back the x86 stable keyword. You can apply this mechanism to other packages that you want to run stable versions of.
And that's it. You should be good to go.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Feb 25, 2014 6:37 pm Post subject: |
|
|
I'd rather use stable arch, and massively unmask the desktop components and userland programs as needed. You know, a stable kernel won't save you if there's some massive ABI breakage or if you foobar your system using an unstable glibc or gcc. It won't prevent portage from breaking the next time you install python-80.666 and then eselect it either.
But, if all you want from stable is truly the kernel, then follow the advice given above by John R. Graham. |
|
Back to top |
|
|
Windmill Tux's lil' helper
Joined: 21 Feb 2014 Posts: 105
|
Posted: Tue Feb 25, 2014 7:30 pm Post subject: |
|
|
Thanks for the answers, I will think about using a stable system. I didn't know that package.keywords could be used also to install stable packages on a testing system |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54315 Location: 56N 3W
|
Posted: Tue Feb 25, 2014 10:23 pm Post subject: |
|
|
John R. Graham,
Code: | sys-kernel/gentoo-sources -~x86 | used to work. Has that been changed? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Feb 25, 2014 10:28 pm Post subject: |
|
|
I didn't know that syntax. However, I see that it's described on the Portage man page: my bad. Yes, that would be more succinct. Thank you.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|