Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How install Mate with masked ~amd64?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 23, 2014 1:58 pm    Post subject: [SOLVED] How install Mate with masked ~amd64? Reply with quote

Hi,

I want to add MATE in a machine with openRC init system - I already have KDE, so it going to be multi DE -
When I try to emerge mate-base/mate I get a message that it is masked ~amd64 - Is this the right package?
This is the first time I need to do it so please let me know where I should add this keyword?


Last edited by pmam on Mon May 05, 2014 5:48 am; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7896
Location: ~Brussels - Belgique

PostPosted: Wed Apr 23, 2014 2:05 pm    Post subject: Reply with quote

Use package.keywords
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part2_chap1
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 23, 2014 2:44 pm    Post subject: Reply with quote

Xavier Hi,

Sorry but not sure I know exactly what to do:
In the link you gave me, it is not detailed (Actually it is said there that if a package is masked - better not install it at all...).
I found in another text the follwoing command - Please let me know if it is OK:
Code:
echo "mate-base/mate **" >> /etc/portage/package.accept_keywords

Leave it with ** or replace with ~amd64?

Thanks
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Apr 23, 2014 3:22 pm    Post subject: Reply with quote

Add the list from https://gist.github.com/TomWij/f858dd1a8e024034b99d to /etc/portage/package.accept_keywords; no need to put anything behind it, if you leave out the keywords it'll automatically pick your ~${ARCH}.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 23, 2014 3:42 pm    Post subject: Reply with quote

TomWij Hi,

Sorry, but this is first time to do it...
I copied the list that you gave me to /etc/portage/package.accept_keywords -
I tried to emerge mate-base/mate and again get the mask messages, like:
Code:
The following keyword changes are necessary to proceed:
=dev-libs/libappindicator-12.10.0 ~amd64

I need to add the keyword ~amd64, as well? If yes - Please note the exact command.

Thanks
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Apr 23, 2014 4:11 pm    Post subject: Reply with quote

Yes, I've added it to the list now; can you let me know what else is needed?
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 23, 2014 4:21 pm    Post subject: Reply with quote

TomWij,

These are the messages now:

Code:
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-libs/libappindicator-12.10.0
# required by mate-base/mate-control-center-1.6.2
# required by mate-base/mate-1.6.0
# required by mate-base/mate (argument)
=dev-libs/libindicator-12.10.1-r300 ~amd64
# required by dev-libs/libappindicator-12.10.0
# required by mate-base/mate-control-center-1.6.2
# required by mate-base/mate-1.6.0
# required by mate-base/mate (argument)
=dev-libs/libdbusmenu-12.10.2 ~amd64

I understand from you that this is a better way to unmask than to add ~amd64 keyword?

Thanks
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Apr 23, 2014 4:33 pm    Post subject: Reply with quote

Yes, those two too. A local stabilization test reveals that when checking recursively what else to add those are the only two left; so, add dev-libs/libindicator and dev-libs/libdbusmenu to /etc/portage/package.accept_keywords and you should be done with adding exceptions. The list in the earlier link that I gave has been updated accordingly. Thank you for helping to sort this out as I don't currently have a stable system available.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 23, 2014 5:24 pm    Post subject: Reply with quote

Dear TomWij,

I copied the updated list and now it is running.
I have learned something today... :D

Thanks
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Thu Apr 24, 2014 6:16 am    Post subject: Reply with quote

Dear TomWij,

Mate was emerged and it nice working. :D
Now I want to emerge enlightenment:0.17 - I get the following mask messages and would like to know
if to add the 4 lines to the list of /etc/portage/package.accept_keywords, as you told me to do with Mate, or now I need to use ~amd64?
Code:
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-libs/efl-1.9.2[-oldlua]
# required by x11-wm/enlightenment-0.17.6
# required by enlightenment:0.17 (argument)
=dev-lang/luajit-2.0.2 ~amd64
# required by x11-wm/enlightenment-0.17.6
# required by enlightenment:0.17 (argument)
=dev-libs/e_dbus-1.7.10 ~amd64
# required by x11-wm/enlightenment-0.17.6                                                                                                                                           
# required by enlightenment:0.17 (argument)                                                                                                                                         
=dev-libs/efl-1.9.2 ~amd64                                                                                                                                                         
# required by enlightenment:0.17 (argument)                                                                                                                                         
=x11-wm/enlightenment-0.17.6 ~amd64

Thanks
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Thu Apr 24, 2014 6:35 am    Post subject: Reply with quote

If I may give two observations:

1) What you did for mate is the general procedure for installing unstable packages. There is nothing particularly special about mate in this regard.
2) Mixing stable and unstable branches has a nasty habit of being unstable and difficult to maintain. You may want to consider switching entirely to the unstable branch. I have been running on the unstable branch for a few years and I have rarely had any problems. Most problems tend to be trivial although on very rare occasions more serous ones come up.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Thu Apr 24, 2014 6:59 am    Post subject: Reply with quote

Hi Doctor,

Quote:
You may want to consider switching entirely to the unstable branch

Do you mean to add ~amd64 to /etc/portage/package.accept_keywords, rather than the list of necessary keywords?
This is my first time in 'unstable situation' :) so I need your confirmation...

Thanks
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Thu Apr 24, 2014 7:23 am    Post subject: Reply with quote

I meant you might want to consider changing the option in make.conf. It certainly isn't something you should do lightly as it can have far reaching effects and more than a few surprises. It is also not at all required for what you are trying to do. I just wanted to point it out as an option as well as caution you to the about what can happen if you do too much mixing with stable and unstable.

This may be enlightening. https://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3 for both questions.

If it helps, you can think of dealing with unstable packages just like you would use flags. You can set per package options in a specific file or set the option in make.conf. The only real difference is that unstable occasionally lives up to its name.

Quote:
Do you mean to add ~amd64 to /etc/portage/package.accept_keywords, rather than the list of necessary keywords?


I'm not sure what you mean. package.accept_keywords should only have package names. It automatically assumes it should take the unstable versions of the packages in the file.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Thu Apr 24, 2014 7:41 am    Post subject: Reply with quote

Dear Doctor,

According your reply, I see that this is a sensitive issue, and I need to learn more - I will try to figure out from the link you noted.
In addition, I will be glad to see referring from TomWij and others - More point of views are better, usually... :)

Quote:
I'm not sure what you mean. package.accept_keywords should only have package names.

Yes, I was not accurate, and it is important - Here is the command:
Code:
echo "x11-wm/enlightenment **" >> /etc/portage/package.accept_keywords

May be to erplace ** with ~amd64?

Thanks
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Thu Apr 24, 2014 7:53 am    Post subject: Reply with quote

Code:
echo "x11-wm/enlightenment **" >> /etc/portage/package.accept_keywords



Ahh, okay. No, do not replace it with ~amd64. This means that you want the masked version, not just the unstable version.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Thu Apr 24, 2014 10:00 am    Post subject: Reply with quote

Hi,

Code:
echo "x11-wm/enlightenment **" >> /etc/portage/package.accept_keywords

I tried this command, however, still get the same mask messages??
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Thu Apr 24, 2014 11:02 am    Post subject: Reply with quote

Finally, I add manually the masked lines as I did with MATE and now it is running.
Hope I did OK...
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 24, 2014 3:14 pm    Post subject: Reply with quote

In package.accept_keywords nothing means "use the version with your arch listed as testing", "~amd64" means "use the version with amd64 listed as testing" (in this case equivalent to nothing) and "**" means "use the version without keywords". To use testing packages on your system; you'll want to use "~amd64" behind the packages, but you don't have to as leaving that out it'll default to "~amd6". A lot of people hence don't type the keywords as it's repetitive and unnecessary to type them; unless well, you require ** another time, but I don't think you need it here. So, you did OK.

As The Doctor said; if you do this a lot, consider to instead put ACCEPT_KEYWORDS="amd64 ~amd64" in /etc/portage/make.conf to get on a testing system and avoid having to mix and/or accept keywords the whole time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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