Page 1 of 1

Not quite sure what to put package.mask

Posted: Mon Feb 01, 2016 15:46
by Honeyman
Hi all,

after purging my system from unneeded libraries and packages not in the repositories anymore, I realized that I miss some packages. I overlooked that they would be removed as well.

Among is the nice quick launcher tool called gnome-do.

This is no longer maintained in the entropy store, but available via portage. I read through the wiki article for using Portage in parallel with Entropy https://wiki.sabayon.org/?title=HOWTO:_ ... nd_Portage.

There is an example in /etc/entropy/packages/package.mask, but I'm not quite sure, if I masked it correctly (as it is no longer in the Sabayon repositories, that step may not be necessary in the first place, but safe than sorry)

Code: Select all

>=gnome-extra/gnome-do
gnome-extra/gnome-do
<gnome-extra/gnome-do
Is that correct?

Thanks for your help

Re: Not quite sure what to put package.mask

Posted: Mon Feb 01, 2016 19:53
by sabayonino
Right : Mask all gnome-extra/gnome-do versions

Code: Select all

gnome-extra/gnome-do

Wrong :

Code: Select all

>=gnome-extra/gnome-do

Is need to put versions(s) package to mask

Code: Select all

>gnome-extra/gnome-do-0.9
this mask all gnomedo version higher than 0-9 (0.9 excluded) (also <)

Code: Select all

>=gnome-extra/gnome-do-0.9
same thing but 0.9 included (also =<)

you can mask slot version

Code: Select all

sys-kernel/linux-sabayon:4.3
this mask all linux-sabayon kernels 4.3 series (4.3.3 4.3.4 ... and so on)

see /etc/entropy/packages/package.mask.example

Code: Select all

# package.mask example file
#
# In this file you can specify dependencies, one per line, that you would like to mask.

# LINE CONSTRUCTION:
# <dependency to match>
# See examples below
# NOTE: for inline comments, please use "##" instead of "#"

# EXAMPLES:
# >=media-libs/foo-1.2.3
# media-libs/foo
# <media-libs/foo-1.2.3
# media-libs/foo:1
# >=media-libs/foo-1.2.3#2.6.23-sabayon-r1
# media-libs/foo::sabayon-repo
# 
# :1 means package with SLOT="1"
# #2.6.23-sabayon-r1 means package with kernel tag = 2.6.23-sabayon-r1
if you need to run gnome-do , don't remove it
don't run

Code: Select all

# equo upgeade --purge
ignore gnome-do warning message

Re: Not quite sure what to put package.mask

Posted: Mon Feb 01, 2016 20:40
by Honeyman
Hi sabayonino,


thanks for the quick response. It was very helpful as it cleared things up. Now I understand the syntax. Might be helpful to add a few comments in the example file on how it works for future releases of Sabayon, so newbies like me find it easier to handle the distribution.

Re: Not quite sure what to put package.mask

Posted: Mon Feb 01, 2016 23:35
by sabayonino
Honeyman wrote:Hi sabayonino,


thanks for the quick response. It was very helpful as it cleared things up. Now I understand the syntax. Might be helpful to add a few comments in the example file on how it works for future releases of Sabayon, so newbies like me find it easier to handle the distribution.
equo --mask option can help yuo

Code: Select all

# equo mask "packages"
apply the sintax above mentioned

Code: Select all

# equo mask ">sys-kernel/linux-sabayon-4.3.3" "=<sys-kernel/linux-sabayon:4.2" 
1- mask all linux-sabayon kernel higher than 4.3.3 (all kernels)
2 - mask linux-sabayon kernel lower/equal than 4.2 series

see

Code: Select all

# equo mask --help