View previous topic :: View next topic |
Author |
Message |
Westech n00b
Joined: 11 Sep 2003 Posts: 12
|
Posted: Wed Sep 24, 2003 4:00 am Post subject: ACCEPT_KEYWORDS="~x86" for one package only, no de |
|
|
I'm trying to emerge xfce4 by using
Code: | ACCEPT_KEYWORDS="~x86" emerge -p xfce4 |
since xfce4 is masked. The problem is that when I do this, portage wants to ACCEPT the "~x86" mask on all of the uninstalled dependencies of xfce4 also (xfree, etc...).
Is there any way that I can give one command to tell portage to emerge xfce4 accepting the "~x86", but to use only stable versions of all the dependencies?
Or am I stuck manually emerging all of xfce4's dependencies one at a time without the ACCEPT_KEYWORDS="~x86" and then emerging xfce4 with "~x86" afterwards? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9604 Location: beyond the rim
|
Posted: Wed Sep 24, 2003 4:27 am Post subject: |
|
|
You can either give emerge the full path to the ebuild (which can create other problems), go to bug 13616 and patch your portage or read my signature |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Sep 24, 2003 4:33 am Post subject: Re: ACCEPT_KEYWORDS="~x86" for one package only, n |
|
|
Westech wrote: | Or am I stuck manually emerging all of xfce4's dependencies one at a time without the ACCEPT_KEYWORDS="~x86" and then emerging xfce4 with "~x86" afterwards? | You can make it somewhat better by saying 'emerge dep1 dep2 dep3 dep4' instead of 'emerge dep1', 'emerge dep2', etc.
Or, you can remove the silly tilde from the xfce ebuild, install it, and know that the tilde will magically reappear next `emerge [r]sync`. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
gregcoit Tux's lil' helper
Joined: 12 Jun 2002 Posts: 101
|
Posted: Wed Sep 24, 2003 4:35 am Post subject: Have you tried |
|
|
ie: e,erge -p apps-wm/xfce/xfce.version.ebuild
Hope this helps _________________ "Life would be so much easier if we could see the source code" |
|
Back to top |
|
|
Westech n00b
Joined: 11 Sep 2003 Posts: 12
|
Posted: Wed Sep 24, 2003 9:25 pm Post subject: |
|
|
Thanks to everyone who replied, I learned something from each of your posts.
I'd rather avoid patching portage.
Would this work:
Code: |
#emerge xfce4 along with all of the unstable versions of its dependencies:
ACCEPT_KEYWORDS="~x86" emerge xfce4
#revert all unstable dependencies back to latest unmasked versions:
emerge -u world
#If the above command removed xfce4 (not sure if it would or not)
#then emerge just xfce4 with none of its dependencies:
ACCEPT_KEYWORDS="~x86" emerge -O xfce4
|
Would that work the way I think it would (leaving me with the masked xfce4 installed, but with unmasked stable versions of all of its dependencies)? |
|
Back to top |
|
|
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Sep 24, 2003 10:21 pm Post subject: |
|
|
Genone Wrote: Quote: | You can either give emerge the full path to the ebuild (which can create other problems) |
So what is the difference between:
Code: | ACCEPT_KEYWORDS="~x86" emerge xfce4 |
and
Code: | emerge apps-wm/xfce/xfce.version.ebuild |
I have been doing it the second way. Based on what Genone said it sounds like that is not a good way to do it? What are the problems this creates>
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9604 Location: beyond the rim
|
Posted: Wed Sep 24, 2003 11:57 pm Post subject: |
|
|
The major disadvantage of the ACCEPT_KEYWORDS style is that it also uses unstable versions of dependencies.
One bug I know with the /path/to/ebuild style is that under some circumstances it takes the wrong ebuild and I've heard that it doesn't add the package to the world file and a few other things I don't remember anymore. I usually don't use this style except for testing, so I'm not sure if the problems really exist (except for the first, I found that bug first). |
|
Back to top |
|
|
silux Tux's lil' helper
Joined: 24 May 2003 Posts: 92
|
Posted: Thu Sep 25, 2003 1:48 am Post subject: simpler solution to the problem |
|
|
I believe (now don't shoot me if I'm wrong)
you can do this:
Code: | ACCEPT_KEYWORDS="~x86" emerge --nodeps xfce4 |
this should be remembered with rsync... you may want to look at the deps it has first though... some of them may actually require ~x86 deps. |
|
Back to top |
|
|
|