1 |
* On 29.10.2005 sean wrote: |
2 |
|
3 |
> What is the proper way to over ride a package that is (masked by: |
4 |
> missing keyword)? |
5 |
|
6 |
The only way I know of is to change the ebuild. But don't do |
7 |
this on the ebuild in your normal portage dir (it will be |
8 |
overridden after the next sync). Copy the ebuild to |
9 |
'${PORTDIR_OVERLAY}/category/name/package.ebuild' and do your |
10 |
changes there (in this case |
11 |
'${PORTDIR_OVERLAY}/app-office/openoffice/openoffice-2.0.0.ebuild') |
12 |
|
13 |
Now you have to add your architecture into the KEYWORDS variable |
14 |
(here: KEYWORDS="amd64") and it should work. (Perhaps you have to |
15 |
update your portage cache, I don't know). |
16 |
|
17 |
But, as Ciaran said, don't do it with openoffice-2.0.0, because |
18 |
it won't work under amd64. |
19 |
|
20 |
> From what I read it is supposed to be done with the package.keywords |
21 |
> file in /etc/portage. |
22 |
> But I must be doing something wrong with format. |
23 |
|
24 |
I'm not really sure, but you can't unmask packages marked by |
25 |
missing keyword with any of these files in /etc/portage |
26 |
(specially /etc/portage/package.keywords) IIRC. With these files |
27 |
you can unmask packages masked by |
28 |
/usr/portage/profiles/package.unmask (/etc/portage/package.mask) |
29 |
or marked testing in the ebuild (~amd64) if are running a stable |
30 |
gentoo (read: set ACCEPT_KEYWORDS="amd64" in /etc/make.conf) |
31 |
(/etc/portage/package.keywords) |
32 |
|
33 |
You can do lots more here. Read 'man portage' for details. |
34 |
|
35 |
> Specifically I am trying to install openoffice 2.0 on my amd64 system. I |
36 |
> have unmasked it, but the keyword is still blocking me. |
37 |
|
38 |
As mentioned above it won't work. |
39 |
|
40 |
So long, |
41 |
tkr |
42 |
|
43 |
-- |
44 |
You can't hurt me!! I have an ASSUMABLE MORTGAGE!! |