젠투 emerge 관련 질문 드립니다.

devanix의 이미지

안녕하세요.
젠투 리눅스를 이번 회사일로 인해 처음 사용해 봅니다.

다름이 아니라 젠투 리눅스에 mysql 설치 하여 테스트를 진행 하려고 합니다.

그러나 아래와 같은 메시지가 뜹니다.

# emerge mysql

!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/eapi-5-files/eapi'
!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.

emerge 관련 명령어를 치면 위와 같은 메시지만 반복 되는데요.
어떤 것을 봐야 할지 모르겠네요.

# emerge --info

ISIGN_HA1 init.d # emerge --info
!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/eapi-5-files/eapi'
Portage 2.1.8.3 (hardened/linux/amd64, gcc-4.1.2, glibc-2.6.1-r0, 2.6.29.3 x86_64)
=================================================================
System uname: <a href="mailto:Linux-2.6.29.3-x86_64-Intel-R-_Xeon-R-_CPU_X3450_@_2.67GHz-with-gentoo-1.12.11.1" rel="nofollow">Linux-2.6.29.3-x86_64-Intel-R-_Xeon-R-_CPU_X3450_@_2.67GHz-with-gentoo-1.12.11.1</a>
Timestamp of tree: Sun, 31 Mar 2013 03:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.5-r2
dev-util/pkgconfig:  0.22
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.10.1, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
sys-kernel/linux-headers: 2.6.23-r3
sys-libs/glibc:      2.6.1
virtual/os-headers:  2.6.23-r3
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.daum.net/gentoo/"
LANG="ko_KR.UTF-8"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="db-dev/mysql mmx sqlite sse sse2"
Unset:  ACCEPT_KEYWORDS, CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FCFLAGS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY, USE_PYTHON

좋은 하루 되세요.
감사합니다.

송효진의 이미지

sync 한지 오래되신거면
emerge --sync 후에
eselect profile list 에서 다시 고르라는 내용인것 같네요.

devanix의 이미지

먼저 답변 감사드립니다.

그러나 아래와 같이 해봐도 마찬가지네요.

# eselect profile list

Available profile symlink targets:
[1] default/linux/amd64/13.0
[2] default/linux/amd64/13.0/selinux
[3] default/linux/amd64/13.0/desktop
[4] default/linux/amd64/13.0/desktop/gnome
[5] default/linux/amd64/13.0/desktop/kde
[6] default/linux/amd64/13.0/developer
[7] default/linux/amd64/13.0/no-multilib
[8] default/linux/amd64/13.0/x32
[9] hardened/linux/amd64 *
[10] hardened/linux/amd64/selinux
[11] hardened/linux/amd64/no-multilib
[12] hardened/linux/amd64/no-multilib/selinux
[13] hardened/linux/uclibc/amd64
# eselect profile set 9

# emerge
!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/eapi-5-files/eapi'
!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.

송효진의 이미지

/etc/make.profile 파일이 원래 없는것 같던데 없애보시면 어떨까요?

송효진의 이미지

오래 sync 안한 서버에서 같은현상을 경험했습니다.
/etc/make.profile 을 /usr/portage/profiles/default/linux/amd64/10.0 으로 링크걸고
emerge portage 부터 한 후
eselect profile set 1 하면 해결됩니다.

devanix의 이미지

/usr/portage/profiles/default/linux/amd64/ 디렉토리 안에는 10.0과 13.0디렉토리가 있습니다.
10.0으로 링크를 걸어도 나중에 문제는 없는지요?

저만 사용하는 서버가 아니라서 질문드립니다.

송효진의 이미지

eselect profile set 1 명령으로 13으로 만드는 것입니다.
10 으로 돌리는 명령이 없어서 수동으로 하고
emerge portage 를 해서 13 이 동작하는 환경으로 만드는겁니다.