LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 511|回复: 0

Unable to parse profile: '/etc/make.profile'

[复制链接]
发表于 2010-11-6 17:58:11 | 显示全部楼层 |阅读模式
无法emerge package,一直提示
  1. gentoo-pjq / # emerge portage
  2. !!! Unable to parse profile: '/etc/make.profile'
  3. !!! ParseError: Parent '/targets/desktop/gnome' not found: '/etc/make.profile/parent'
  4. !!! If you have just changed your profile configuration, you should revert
  5. !!! back to the previous configuration. Due to your current profile being
  6. !!! invalid, allowed actions are limited to --help, --info, --sync, and
  7. !!! --version.
复制代码

其它相应操作emerge --sync, ls -l /etc/make.profile
  1. gentoo-pjq / # emerge --sync
  2. !!! Unable to parse profile: '/etc/make.profile'
  3. !!! ParseError: Parent '/targets/desktop/gnome' not found: '/etc/make.profile/parent'
  4. >>> Starting rsync with rsync://61.135.158.199/gentoo-portage...
  5. >>> Checking server timestamp ...
  6. receiving incremental file list
  7. timestamp.chk
  8. Number of files: 1
  9. Number of files transferred: 1
  10. Total file size: 32 bytes
  11. Total transferred file size: 32 bytes
  12. Literal data: 32 bytes
  13. Matched data: 0 bytes
  14. File list size: 27
  15. File list generation time: 0.001 seconds
  16. File list transfer time: 0.000 seconds
  17. Total bytes sent: 98
  18. Total bytes received: 134
  19. sent 98 bytes  received 134 bytes  42.18 bytes/sec
  20. total size is 32  speedup is 0.14
  21. >>>
  22. >>> Timestamps on the server and in the local repository are the same.
  23. >>> Cancelling all further sync action. You are already up to date.
  24. >>>
  25. >>> In order to force sync, remove '/usr/portage/metadata/timestamp.chk'.
  26. >>>
  27. gentoo-pjq / # ls -l /etc/make.profile/
  28. total 8
  29. -rw-r--r-- 1 portage portage  2 Mar 30  2010 eapi
  30. -rw-r--r-- 1 root    root    43 Mar 30  2010 parent
  31. gentoo-pjq / # ls -l /etc/make.profile
  32. lrwxrwxrwx 1 root root 60 Nov  6 14:56 /etc/make.profile -> ../usr/portage/profiles/default/linux/x86/10.0/desktop/gnome
复制代码

eselect profile list
  1. gentoo-pjq / # eselect profile list
  2. Available profile symlink targets:
  3.   [1]   default/linux/x86/10.0
  4.   [2]   default/linux/x86/10.0/desktop
  5.   [3]   default/linux/x86/10.0/desktop/gnome *
  6.   [4]   default/linux/x86/10.0/desktop/kde
  7.   [5]   default/linux/x86/10.0/developer
  8.   [6]   default/linux/x86/10.0/server
  9.   [7]   hardened/linux/x86/10.0
  10.   [8]   selinux/2007.0/x86
  11.   [9]   selinux/2007.0/x86/hardened
  12.   [10]  selinux/v2refpolicy/x86
  13.   [11]  selinux/v2refpolicy/x86/desktop
  14.   [12]  selinux/v2refpolicy/x86/developer
  15.   [13]  selinux/v2refpolicy/x86/hardened
  16.   [14]  selinux/v2refpolicy/x86/server
复制代码

  1. gentoo-pjq / # cat /etc/make.profile/parent
  2. ..
  3. ../../../../../../targets/desktop/gnome
复制代码

emerge --info
  1. gentoo-pjq / # emerge --info
  2. !!! Unable to parse profile: '/etc/make.profile'
  3. !!! ParseError: Parent '/targets/desktop/gnome' not found: '/etc/make.profile/parent'
  4. Portage 2.1.9.23 (!../usr/portage/profiles/default/linux/x86/10.0/desktop/gnome, gcc-4.4.4, glibc-2.12.1-r2, 2.6.34-gentoo-r2 i686)
  5. =================================================================
  6. System uname: Linux-2.6.34-gentoo-r2-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
  7. Timestamp of tree: Sat, 06 Nov 2010 03:35:01 +0000
  8. ccache version 2.4 [enabled]
  9. app-shells/bash:     4.1_p9
  10. dev-java/java-config: 2.1.11-r1
  11. dev-lang/python:     2.5.4-r4, 2.6.6-r1, 3.1.2-r4
  12. dev-util/ccache:     2.4-r8
  13. dev-util/cmake:      2.8.1-r2
  14. sys-apps/baselayout: 2.0.1
  15. sys-apps/openrc:     0.6.3
  16. sys-apps/sandbox:    2.3-r1
  17. sys-devel/autoconf:  2.13, 2.68
  18. sys-devel/automake:  1.10.3, 1.11.1
  19. sys-devel/binutils:  2.20.1-r1
  20. sys-devel/gcc:       4.4.4-r1
  21. sys-devel/gcc-config: 1.4.1
  22. sys-devel/libtool:   2.2.10
  23. sys-devel/make:      3.82
  24. virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
  25. ACCEPT_KEYWORDS="~x86"
  26. ACCEPT_LICENSE="* -@EULA"
  27. CBUILD="i686-pc-linux-gnu"
  28. CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
  29. CHOST="i686-pc-linux-gnu"
  30. CONFIG_PROTECT="/etc"
  31. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
  32. CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
  33. DISTDIR="/usr/portage/distfiles"
  34. FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
  35. GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://61.135.158.199 http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.sjtu.edu.cn/gentoo"
  36. LANG="en_US.UTF-8"
  37. LDFLAGS="-Wl,-O1,--as-needed"
  38. LINGUAS="zh_CN"
  39. MAKEOPTS="-j2"
  40. PKGDIR="/usr/portage/packages"
  41. PORTAGE_CONFIGROOT="/"
  42. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  43. PORTAGE_TMPDIR="/var/tmp"
  44. PORTDIR="/usr/portage"
  45. SYNC="rsync://61.135.158.199/gentoo-portage"
  46. USE="3dnow 3dnowext SLOT X aac alsa apache2 avi bash-completion bindist cairo cjk cli dbus dvd elibc_FreeBSD firefox glitz gnome gtk hal hda-intel jpeg kernel_linux midi mms mmx mmxext mp3 mpd mysql mysqli newspr nls nptl nv nvidia opengl pam pcre pdf png prefix qq real rtsp server sqlite sse sse2 svg truetype unicode userland_GNU wav win32codecs wma wmv xcb xml xulrunner xv xvmc zlib" XTABLES_ADDONS="cui gfw zhang ipset"
  47. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表