1 |
Mihai Tanasescu wrote: |
2 |
> Hello guys, |
3 |
> |
4 |
> |
5 |
> |
6 |
> I'm not quite an expert at Gentoo but have just been asked recently by |
7 |
> someone to take a look at their server...which I did. |
8 |
> |
9 |
> I tried doing emerge dmidecode for example and got: |
10 |
> # emerge dmidecode |
11 |
> --- Invalid atom in /usr/portage/profiles/package.mask: |
12 |
>> =media-video/mplayer-1.0_rc4_p20091124 |
13 |
> !!! ARCH is not set... Are you missing the /etc/make.profile symlink? |
14 |
> !!! Is the symlink correct? Is your portage tree complete? |
15 |
> |
16 |
> then I went google-ing and found on some forums that I must make: |
17 |
> emerge --sync |
18 |
> rm /etc/make.profile |
19 |
> remake the link |
20 |
> |
21 |
> I did all this... |
22 |
> |
23 |
> gate ~ # ls -la /etc/make.profile |
24 |
> lrwxrwxrwx 1 root root 44 Jan 16 01:02 /etc/make.profile -> |
25 |
> /usr/portage/profiles/default/linux/x86/10.0 |
26 |
> gate ~ # ls -la /usr/portage/profiles/default/linux/x86/10.0/ |
27 |
> total 8 |
28 |
> drwxr-xr-x 5 root root 176 Aug 17 22:08 . |
29 |
> drwxr-xr-x 6 root root 200 Aug 6 10:37 .. |
30 |
> drwxr-xr-x 2 root root 96 Oct 22 15:40 desktop |
31 |
> drwxr-xr-x 2 root root 96 Oct 22 15:40 developer |
32 |
> -rw-r--r-- 1 root root 2 Aug 17 21:54 eapi |
33 |
> -rw-r--r-- 1 root root 29 Aug 6 10:29 parent |
34 |
> drwxr-xr-x 2 root root 128 Oct 22 15:40 server |
35 |
> |
36 |
> The error still remains with me. |
37 |
> |
38 |
> I checked the CHOST value and ACCEPT_KEYWORDS also in /etc/make.conf and |
39 |
> I have: |
40 |
> ACCEPT_KEYWORDS="x86" |
41 |
> CHOST="i686-pc-linux-gnu" |
42 |
> |
43 |
> Portage version is: |
44 |
> sys-apps/portage-2.0.51.22-r3 |
45 |
> |
46 |
> What else can I do ? |
47 |
> I'm running around in circles:) |
48 |
> |
49 |
> Please help if possible. |
50 |
> |
51 |
|
52 |
Try this way. |
53 |
|
54 |
root@smoker / # eselect profile list |
55 |
Available profile symlink targets: |
56 |
[1] default/linux/x86/10.0 |
57 |
[2] default/linux/x86/10.0/desktop * |
58 |
[3] default/linux/x86/10.0/developer |
59 |
[4] default/linux/x86/10.0/server |
60 |
[5] hardened/linux/x86/10.0 |
61 |
[6] selinux/2007.0/x86 |
62 |
[7] selinux/2007.0/x86/hardened |
63 |
[8] selinux/v2refpolicy/x86 |
64 |
[9] selinux/v2refpolicy/x86/desktop |
65 |
[10] selinux/v2refpolicy/x86/developer |
66 |
[11] selinux/v2refpolicy/x86/hardened |
67 |
[12] selinux/v2refpolicy/x86/server |
68 |
root@smoker / # |
69 |
|
70 |
Then just do a eselect profile set < number of profile you want to use |
71 |
here>. For me, it would be eselect profile set 2 . |
72 |
|
73 |
See if that helps. |
74 |
|
75 |
Dale |
76 |
|
77 |
:-) :-) |