Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Masking packages depending on the overlay [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Sep 18, 2012 7:37 am    Post subject: Masking packages depending on the overlay [Solved] Reply with quote

I fail to find this possibility with package.mask

What is the smartest solution to mask a package from a particular overlay (including the local one)

For example, I get an ebuild package_name-Version_X in Gentoo portage and another ebuild with the same name in an overlay. (Of course these two ebuilds are different :roll: )

How can I instruct portage to ignore the one from the overlay but take portage's one into consideration ?
_________________


Last edited by aCOSwt on Tue Sep 18, 2012 10:35 am; edited 1 time in total
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Tue Sep 18, 2012 10:19 am    Post subject: Reply with quote

echo "package::overlay" >> /etc/portage/package.mask
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Sep 18, 2012 10:35 am    Post subject: Reply with quote

Fits perfectly for purpose.

Thanks a lot, skunk.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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