Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage with overlays: updates from overlays first
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Wed Jan 06, 2016 11:21 pm    Post subject: Portage with overlays: updates from overlays first Reply with quote

Hi

I've set up layman with one overlay for a couple of packages i'm interested in.

As per the wiki i've got something like this:

Code:
#layman.cfg
# (repos.conf, make.conf)
conf_type : make.conf


Code:
#at the bottom of my make.conf
source /var/lib/layman/make.conf


THe problem is that when i emerge packags, it searches first in those overlays and installs from there by default instead of using the normal Portage tree.

How can I change that order ?

Thanks
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Jan 07, 2016 8:30 am    Post subject: Re: Portage with overlays: updates from overlays first Reply with quote

el muchacho wrote:
THe problem is that when i emerge packags, it searches first in those overlays and installs from there by default instead of using the normal Portage tree. How can I change that order ?

el muchacho ... mask each overlay, then selectively unmask only those packages you plan on using:

/etc/portage/package.mask:
*/*::repo

/etc/portage/package.unmask:
category/package::repo

You could also mask packages from ::gentoo so that these are always selected from the layman provided ::repo, eg:

/etc/portage/package.mask:
category/package::gentoo

HTH & best ... khay
Back to top
View user's profile Send private message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Thu Jan 07, 2016 1:35 pm    Post subject: Reply with quote

Thanks so much for your help. 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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