Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is possible to do this?
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
Windmill
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2014
Posts: 105

PostPosted: Tue Feb 25, 2014 4:03 pm    Post subject: Is possible to do this? Reply with quote

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
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Tue Feb 25, 2014 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Windmill
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2014
Posts: 105

PostPosted: Tue Feb 25, 2014 4:44 pm    Post subject: Reply with quote

Because for ex. vlc needs new versions of some libraries and I can't install the testing version without updating them
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Tue Feb 25, 2014 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


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

PostPosted: Tue Feb 25, 2014 6:02 pm    Post subject: Re: Is possible to do this? Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Feb 25, 2014 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Windmill
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2014
Posts: 105

PostPosted: Tue Feb 25, 2014 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54315
Location: 56N 3W

PostPosted: Tue Feb 25, 2014 10:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


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

PostPosted: Tue Feb 25, 2014 10:28 pm    Post subject: Reply with quote

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
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