Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Force version
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
creiss
n00b
n00b


Joined: 21 Sep 2006
Posts: 44
Location: Dortmund, Germany

PostPosted: Mon Mar 24, 2008 7:38 am    Post subject: [solved] Force version Reply with quote

Hey all,

how can I force using kernel gentoo-sources-2.6.23-r9?
I tried putting

Code:

<=sys-kernel/gentoo-sources-2.6.23-r9 ~amd64


or
Code:

<=sys-kernel/gentoo-sources-2.6.23-r9


or
Code:

=sys-kernel/gentoo-sources-2.6.23-r9 ~amd64


or
Code:

=sys-kernel/gentoo-sources-2.6.23-r9


into the /etc/portage/package.keywords file, but it still wants to emerge a higher version.

Any help would be awesome!

-Christian.
_________________
Registered Linux User #38359 (http://counter.li.org)


Last edited by creiss on Mon Mar 24, 2008 8:09 am; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


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

PostPosted: Mon Mar 24, 2008 7:51 am    Post subject: Reply with quote

What you want is

Code:

>sys-kernel/gentoo-sources-2.6.23-r9


In package.mask instead.
_________________
Formerly known as 6thpink.
Gentoo Handbook | My home | My rock band
Back to top
View user's profile Send private message
creiss
n00b
n00b


Joined: 21 Sep 2006
Posts: 44
Location: Dortmund, Germany

PostPosted: Mon Mar 24, 2008 7:52 am    Post subject: Reply with quote

i92guboj wrote:
What you want is

Code:

>sys-kernel/gentoo-sources-2.6.23-r9


In package.mask instead.


But wouldn't that mean ">" larger, as in "this version, or later one if you have"?
_________________
Registered Linux User #38359 (http://counter.li.org)
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


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

PostPosted: Mon Mar 24, 2008 8:02 am    Post subject: Reply with quote

creiss wrote:
i92guboj wrote:
What you want is

Code:

>sys-kernel/gentoo-sources-2.6.23-r9


In package.mask instead.


But wouldn't that mean ">" larger, as in "this version, or later one if you have"?


That means "mask all versions of this package that are greater than this version". Note that this is package.mask, not package.keywords nor package.unmask.

As a consequence of masking all the versions above that, this will be the greatest version available of this package, so, it will be the one that portage will emerge.
_________________
Formerly known as 6thpink.
Gentoo Handbook | My home | My rock band
Back to top
View user's profile Send private message
creiss
n00b
n00b


Joined: 21 Sep 2006
Posts: 44
Location: Dortmund, Germany

PostPosted: Mon Mar 24, 2008 8:10 am    Post subject: Reply with quote

A'ight,

Thank you :lol:

-Christian.
_________________
Registered Linux User #38359 (http://counter.li.org)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT - 5 Hours
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