Mihai Tanasescu wrote:
Hello guys,
I'm not quite an expert at Gentoo but have just been asked recently by
someone to take a look at their server...which I did.
I tried doing emerge dmidecode for example and got:
# emerge dmidecode
--- Invalid atom in /usr/portage/profiles/package.mask:
=media-video/mplayer-1.0_rc4_p20091124
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
then I went google-ing and found on some forums that I must make:
emerge --sync
rm /etc/make.profile
remake the link
I did all this...
gate ~ # ls -la /etc/make.profile
lrwxrwxrwx 1 root root 44 Jan 16 01:02 /etc/make.profile ->
/usr/portage/profiles/default/linux/x86/10.0
gate ~ # ls -la /usr/portage/profiles/default/linux/x86/10.0/
total 8
drwxr-xr-x 5 root root 176 Aug 17 22:08 .
drwxr-xr-x 6 root root 200 Aug 6 10:37 ..
drwxr-xr-x 2 root root 96 Oct 22 15:40 desktop
drwxr-xr-x 2 root root 96 Oct 22 15:40 developer
-rw-r--r-- 1 root root 2 Aug 17 21:54 eapi
-rw-r--r-- 1 root root 29 Aug 6 10:29 parent
drwxr-xr-x 2 root root 128 Oct 22 15:40 server
The error still remains with me.
I checked the CHOST value and ACCEPT_KEYWORDS also in /etc/make.conf and
I have:
ACCEPT_KEYWORDS="x86"
CHOST="i686-pc-linux-gnu"
Portage version is:
sys-apps/portage-2.0.51.22-r3
What else can I do ?
I'm running around in circles:)
Please help if possible.
Try this way.
r...@smoker / # eselect profile list
Available profile symlink targets:
[1] default/linux/x86/10.0
[2] default/linux/x86/10.0/desktop *
[3] default/linux/x86/10.0/developer
[4] default/linux/x86/10.0/server
[5] hardened/linux/x86/10.0
[6] selinux/2007.0/x86
[7] selinux/2007.0/x86/hardened
[8] selinux/v2refpolicy/x86
[9] selinux/v2refpolicy/x86/desktop
[10] selinux/v2refpolicy/x86/developer
[11] selinux/v2refpolicy/x86/hardened
[12] selinux/v2refpolicy/x86/server
r...@smoker / #
Then just do a eselect profile set < number of profile you want to use
here>. For me, it would be eselect profile set 2 .
See if that helps.
Dale
:-) :-)